http://bugzilla.novell.com/show_bug.cgi?id=584573 http://bugzilla.novell.com/show_bug.cgi?id=584573#c9 --- Comment #9 from andrea florio <andrea@opensuse.org> 2010-05-22 08:08:17 UTC --- (In reply to comment #8)
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.