! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cannot Cancel Session Close
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Erik Harrison 2005-07-09 00:56:06 CEST
If I quit my session, the cancel button fails to actually cancel. The session
closes anyway
Comment 1 Benedikt Meurer editbugs 2005-07-09 08:10:49 CEST
Maybe a segmentation fault?
Comment 2 Erik Harrison 2005-07-15 23:31:17 CEST
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
Comment 3 madman 2005-08-01 11:02:07 CEST
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)
Comment 4 Benedikt Meurer editbugs 2005-08-01 11:26:15 CEST
(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).
Comment 5 madman 2005-08-03 20:55:59 CEST
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 :)
Comment 6 Harold Aling 2007-09-23 13:15:37 CEST
(In reply to comment #5)

> I compiled shutdown-helper with my current version of XFCE again, and cancelling
> works normally now :)

Bug #1071

Reported by:
Erik Harrison
Reported on: 2005-07-09
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information