GNOME Bugzilla – Bug 352838
Crash when logging out remote kde session
Last modified: 2006-10-25 18:12:57 UTC
Steps to reproduce: 1. open kde via gdm/xdmcp 2. close kde Stack trace: trace got with gdb : (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. gdm_handle_user_message (conn=0x80a2228, msg=0x80a70c0 "QUERY_LOGOUT_ACTION", data=0x0) at gdm.c:3189 3189 sysmenu = gdm_get_value_bool_per_display (disp->name, GDM_KEY_SYSTEM_MENU); Other information: patch to fix this bug : --- daemon/gdm.c.orig 2006-08-25 13:37:48.000000000 +0200 +++ daemon/gdm.c 2006-08-25 13:39:41.000000000 +0200 @@ -3186,7 +3186,6 @@ gboolean sysmenu; disp = gdm_connection_get_display (conn); - sysmenu = gdm_get_value_bool_per_display (disp->name, GDM_KEY_SYSTEM_MENU); /* Only allow locally authenticated connections */ if ( ! GDM_CONN_AUTHENTICATED (conn) || @@ -3198,6 +3197,8 @@ return; } + sysmenu = gdm_get_value_bool_per_display (disp->name, GDM_KEY_SYSTEM_MENU); + msg = g_string_new ("OK"); logout_action = disp->logout_action;
Created attachment 71592 [details] [review] fix crash I'm attaching Guillaume patch for easier managment
Confirming bug (this is when using Xgl/AIGLX FYI).
or simply plain X.org + XDCMP
Thanks for the bug report. I notice that calling get_config on GDM_KEY_SYSTEM_MENU happens in 3 similar places and changed all 3 places + GDM_SUP_QUERY_LOGOUT_ACTION + GDM_SUP_SET_LOGOUT_ACTION + GDM_SUP_SET_SAFE_LOGOUT_ACTION I updated the code so the call to get the GDM_KEY_SYSTEM_MENU happens after the "authentication check" in all 3 cases. Fixed in CVS head and 2.16 branch.
*** Bug 357632 has been marked as a duplicate of this bug. ***