[Bug 441144] New: kdm freezes if fingerprintreader is enabled
https://bugzilla.novell.com/show_bug.cgi?id=441144 Summary: kdm freezes if fingerprintreader is enabled Product: openSUSE 11.1 Version: Beta4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: kde-maintainers@suse.de ReportedBy: cschneemann@novell.com QAContact: qa@suse.de Found By: --- If I enable the fingerprintreader in the according yast modul and try to login afterwards at kdm I just see the password field. Entering the according password and pushing ENTER kdm freezes. After I disabled the fingerprintreader it works again and I'm able to login with my password. I see this message in /var/log/messages: Nov 3 17:21:58 linux kernel: input: Virtual pam_fp Keyboard as /devices/virtual/input/input11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c1
Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User markus.walser@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c2
Markus Walser
https://bugzilla.novell.com/show_bug.cgi?id=441144
User hi-du@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c3
Tom Meyer
https://bugzilla.novell.com/show_bug.cgi?id=441144
User loigu@volny.cz added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c4
Jiri Zouhar
https://bugzilla.novell.com/show_bug.cgi?id=441144
User loigu@volny.cz added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c5
--- Comment #5 from Jiri Zouhar
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c6
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c7
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c8
--- Comment #8 from Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c9
--- Comment #9 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c10
--- Comment #10 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User listuser@peternixon.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c11
--- Comment #11 from Peter Nixon
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c12
Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c13
--- Comment #13 from Christian Schneemann
Dirk (thanks for taking the time!) just committed a bunch of patches to FACTORY. This should be fixed therefore.
However, it needs some testing. Christian, can you please test with FACTORY packages of kdebase4-workspace later this week? Thanks.
Also, please check if the screensaver can be unlocked using the fingerprint reader.
The screensaver can not be unlocked using the fingerprint reader in Beta 5
I'll test this on another machine.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c14
--- Comment #14 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c15
--- Comment #15 from Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c16
--- Comment #16 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User hi-du@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c17
--- Comment #17 from Tom Meyer
https://bugzilla.novell.com/show_bug.cgi?id=441144
Stephan Binner
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c18
--- Comment #18 from Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c19
--- Comment #19 from Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User cschneemann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c20
--- Comment #20 from Christian Schneemann
https://bugzilla.novell.com/show_bug.cgi?id=441144
User lavrinenko_alex@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c21
Alexander Lavirnenko
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c22
--- Comment #22 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User lavrinenko_alex@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c23
--- Comment #23 from Alexander Lavirnenko
https://bugzilla.novell.com/show_bug.cgi?id=441144
User lavrinenko_alex@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c24
--- Comment #24 from Alexander Lavirnenko
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c25
--- Comment #25 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User lavrinenko_alex@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c26
--- Comment #26 from Alexander Lavirnenko
https://bugzilla.novell.com/show_bug.cgi?id=441144
User lavrinenko_alex@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c27
--- Comment #27 from Alexander Lavirnenko
https://bugzilla.novell.com/show_bug.cgi?id=441144
User hi-du@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c28
--- Comment #28 from Stephan -
https://bugzilla.novell.com/show_bug.cgi?id=441144
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=441144
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=441144
User carlos.lange@ualberta.ca added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c29
Carlos Lange
https://bugzilla.novell.com/show_bug.cgi?id=441144
User carlos.lange@ualberta.ca added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c30
--- Comment #30 from Carlos Lange
https://bugzilla.novell.com/show_bug.cgi?id=441144
User carlos.lange@ualberta.ca added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c31
--- Comment #31 from Carlos Lange
https://bugzilla.novell.com/show_bug.cgi?id=441144
User axel.braun@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c32
Axel Braun
https://bugzilla.novell.com/show_bug.cgi?id=441144
User hi-du@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c33
--- Comment #33 from Stephan -
https://bugzilla.novell.com/show_bug.cgi?id=441144
User mischa.salle@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c34
--- Comment #34 from Mischa Salle
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c35
--- Comment #35 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c36
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User mischa.salle@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c37
Mischa Salle
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c38
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User mischa.salle@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c39
Mischa Salle
Mischa, thanks for the quick reply and for the patch, of course.
Did you check whether you see zombie processes due to the wait/waitpid change?
IIRC zombies occurred whenever pam_fp was enabled and the login was done using a password rather than with the fingerprint. I think I could easily reproduce this with console logins.
Hi Timo, yes, I did check zombie processes and they aren't there for my patched pam_fp. Not for console login, not for kdm, not for kdesktop_lock. I tried with fingerprint, with password and with fingerprint after an enter and in all cases no zombies appeared, also not after repeated logins. In the meantime I have some idea of where the problem lies: when kdm is waiting for a fingerprint the process tree is as follows: 0 3291 1 Ss /usr/bin/kdm 0 21615 3291 SLs+ \_ /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/lib/xdm/authdir/authfiles/ 0 21622 3291 S \_ -:0 0 21623 21622 Sl \_ /usr/lib64/kde4/libexec/kdm_greet 0 21663 21622 S \_ -:0 Looking at /var/log/messages: Jan 20 12:13:44 woembie-l kdm: :0[21622]: pam_fp(xdm:auth): Starting pam_fp_prompt (pid 21622). Jan 20 12:13:44 woembie-l kdm: :0[21663]: pam_fp(xdm:auth): Starting pam_fp_swipe (pid 21663). Jan 20 12:13:44 woembie-l kdm: :0[21663]: pam_fp(xdm:auth): Awaiting swipe (UPEK TouchStrip, right index). i.e. pam_fp_prompt runs as part of 21622 (it's a module so it doesn't run as a standalone process), while 21663 is the pam_fp_swipe. Note however that kdm_greet ALSO runs as child of process 21622, therefore, if pam_fp_prompt is waiting for all its children, like it is when using wait(), it doesn't only wait for pam_fp_swipe, but also waits for kdm_greet. I am not sure why kdm_greet is not responding (it doesn't need to, but would be nice anyhow), it does seem to freeze while waiting for a swipe, for example the screen is not updated. It is a bit strange, because ps doesn't seem to indicate that any of its threads is suspended... I don't have much time to try it now, but I would think that if the wait() would only wait for the proper child pam_fp_swipe (you again need waitpid for that), it should work. Keep me informed... Best wishes, Mischa -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c41
--- Comment #41 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c42
--- Comment #42 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c43
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
Christian Zoz
https://bugzilla.novell.com/show_bug.cgi?id=441144
User mischa.salle@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c44
--- Comment #44 from Mischa Salle
Submitted to SLE11 and FACTORY. Leaving this bug open, waiting for Mischa's answer.
This should be provided as an online update for OS11.1
Hi Timo, Thanks for the work. I'm currently on holiday (without laptop), I'll be back Feb 16th and will then look into it as soon as possible, my apologies for the delay... By the way, what type of crashes did you get? Best wishes, Mischa -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c45
--- Comment #45 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User mischa.salle@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c46
Mischa Salle
Mischa, that's alright, no worries because of the delay. Enjoy your holidays :)
Regarding the crashes: As fprint->data and fprint->dev were not set to NULL in the struct after freeing/closing a recurring call to pam_fp_libfprint_deinit caused crashes for me while testing the code for surprise removal of the USB device. But those crashes are history as I now set them to NULL.
Hi, I have enjoyed them (-; Your version works fine, no error messages and I agree that the two pointers need to be set to NULL. I wonder why I didn't have problems with that... What exactly do you mean with a surprise removal of the USB device? Mischa -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c47
--- Comment #47 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c48
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=441144
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c49
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=441144
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441144#c51
Timo Hoenig
participants (1)
-
bugzilla_noreply@novell.com