If I quit my session, the cancel button fails to actually cancel. The session closes anyway
Maybe a segmentation fault?
Here is gdb output. The LWP error at the bottom is probably a side effect of continuing the application after segfault. ============================================= Continuing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 4309)] xfsm_shutdown_helper_destroy (helper=0x0) at xfsm-shutdown-helper-sudo.c:314 314 xfsm-shutdown-helper-sudo.c: No such file or directory. in xfsm-shutdown-helper-sudo.c #0 xfsm_shutdown_helper_destroy (helper=0x0) at xfsm-shutdown-helper-sudo.c:314 #1 0x08050570 in shutdownDialog (shutdownType=0x805bc7c, saveSession=0xbffff8d8) at shutdown.c:492 #2 0x08054ab2 in xfsm_manager_save_yourself (client=0x1, save_type=2, shutdown=1, interact_style=2, fast=0, global=1) at xfsm-manager.c:803 #3 0xb7f91003 in _SmsProcessMessage () from /usr/X11R6/lib/libSM.so.6 #4 0xb7f7bbd9 in IceProcessMessages () from /usr/X11R6/lib/libICE.so.6 #5 0x0804f6f4 in ice_process_messages (channel=0x809acc0, condition=G_IO_IN, user_data=0x80a8c58) at ice-layer.c:103 #6 0xb7a493af in g_vasprintf () from /usr/lib/libglib-2.0.so.0 #7 0xb7a23b92 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #8 0xb7a24c18 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #9 0xb7a24f50 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #10 0xb7a254f3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #11 0xb7ceee63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x0804ffc5 in main (argc=1, argv=0xbffffbe4) at main.c:244 Continuing. Cannot find user-level thread for LWP 4309: genaeric error
Yes, i have this error too. Another suggestion, after fixing this error is to have xfce4-session-logout --noask. It'd be especially useful for an ACPI shutdown (ie. pressing power button). In the acpi power button event script we'd simply put xfce4-session-logout --noask before calling /sbin/poweroff. The problem is, how to refer to a user session from different user account, running acpid (root)
(In reply to comment #3) > Yes, i have this error too. > Another suggestion, after fixing this error is to have xfce4-session-logout > --noask. It'd be especially useful for an ACPI shutdown (ie. pressing power button). > > In the acpi power button event script we'd simply put xfce4-session-logout > --noask before calling /sbin/poweroff. > > The problem is, how to refer to a user session from different user account, > running acpid (root) The problem is more, that XSMP doesn't offer any way to transfer these additional bits of information. So that will have to wait until xfce4-session offers a D-BUS interactive (most probably Xfce 4.6).
Well... for me the bug occured because of an old version of xfsm-shutdown-helper, linked against a non-existing library. I was offered only the logout option, and cancelling caused the session to collapse. I compiled shutdown-helper with my current version of XFCE again, and cancelling works normally now :)
(In reply to comment #5) > I compiled shutdown-helper with my current version of XFCE again, and cancelling > works normally now :)