[Bug 584573] New: rcxdm stop doesn't stop lxdm
http://bugzilla.novell.com/show_bug.cgi?id=584573 http://bugzilla.novell.com/show_bug.cgi?id=584573#c0 Summary: rcxdm stop doesn't stop lxdm Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: LXDE AssignedTo: andrea@opensuse.org ReportedBy: lnussel@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- rcxdm stop (ie init 3) doesn't stop lxdm as expected -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c1
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c2
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c3
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c4
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c5
Guido Berhörster
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c6
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c7
--- Comment #7 from Guido Berhörster
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c8
--- Comment #8 from Guido Berhörster
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c9
--- Comment #9 from andrea florio
I have a patch which removes the on_session_stop callback in the signal handler before trying to kill a possibly still alive session. IMHO the way signal handling is done in lxdm, that is using signal(2) in combination with atexit(3) with lots of code calling non-reentrant (glib) functions, is inherently unsafe and just asking for more trouble. The whole code actually is a giant hack and I'd prefer not to touch more than I need to. For reference, the old GTK tutorial contains a nice example on how to safely deal with POSIX signals in GTK/Glib apps which might have more activity in their main loop than lxdm (see http://web.archive.org/web/20070617072739/http://wwwtcs.inf.tu-dresden.de/~t...). Anyway, it'd be nice to get some feedback and testing, the patched package is in home:gberh:branches:X11:lxde.
it works for me, please submit a request -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c10
--- Comment #10 from Guido Berhörster
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c11
andrea florio
http://bugzilla.novell.com/show_bug.cgi?id=584573
http://bugzilla.novell.com/show_bug.cgi?id=584573#c12
--- Comment #12 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com