GNOME Bugzilla – Bug 161631
Logout action just makes g-s-d exit and restart
Last modified: 2005-01-06 16:16:49 UTC
Configure a button for the Logout action. Press the button, font types/sizes and themes revert to default state (g-s-d exits) and are restored again (gnome-session restarts g-s-d). No logout dialog is shown nor performed. I have Prompt on logout enabled, using the Logout action from the Actions menu works fine.
do you still get this bug ? Which distribution/version of GNOME are you using ?
Yes, still get it with Gnome 2.8.1, had it since 2.6. I am using Debian unstable.
could you get a backtrace of the crash ? basically: $ ps ax | grep gnome-settings (to get the pid of gnome-settings-daemon) $ gdb -p <pid> (to attach gdb to it) (gdb) r <then logout with the shortcut> (gdb) bt
That doesn't work well... (gdb) r The program being debugged has been started already. Doing 'n' doesn't help, doing 'y' makes gdb start the daemon while gnome-session is already doing that. I did an strace -p though: --- poll( [{fd=32, events=POLLIN}, {fd=18, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=24, events=POLLIN|POLLPRI}, {fd=26, events=POLLIN}, {fd=28, events=POLLIN|POLLPRI}, {fd=29, events=POLLIN|POLLPRI}, {fd=30, events=POLLIN|POLLPRI}, {fd=36, events=POLLIN|POLLPRI}, {fd=35, events=POLLIN|POLLPRI}, {fd=31, events=POLLIN}, {fd=37, events=POLLIN|POLLPRI}], 12, -1) = 1 ioctl(3, FIONREAD or FIONREAD, [32]) = 0 read(3, "\2\336\5j\7\202p\264\0\0\0H\0\0\0H\0\300\0(\2\317\0\351"..., 32) = 32 write(3, "\22\0\0\7\0\0\0H\0\0\0\372\0\0\0\6 \0\0\0\0\0\0\1\7\202"..., 28) = 28 ioctl(3, FIONREAD or FIONREAD, [0]) = 0 poll([{fd=32, events=POLLIN}, {fd=18, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=24, events=POLLIN|POLLPRI}, {fd=26, events=POLLIN}, {fd=28, events=POLLIN|POLLPRI}, {fd=29, events=POLLIN|POLLPRI}, {fd=30, events=POLLIN|POLLPRI}, {fd=36, events=POLLIN|POLLPRI}, {fd=35, events=POLLIN|POLLPRI}, {fd=31, events=POLLIN}, {fd=37, events=POLLIN|POLLPRI}], 12, -1) = 1 ioctl(3, FIONREAD or FIONREAD, [32]) = 0 read(3, "\3\336\5k\7\202q\36\0\0\0H\0\0\0H\0\300\0(\2\317\0\351"..., 32) = 32 ioctl(3, FIONREAD or FIONREAD, [0]) = 0 write(3, "+\0\0\1", 4) = 4 read(3, 0x7ffff7e0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\1\2\5l\0\0\0\0\1@\0\26\1Qd\274\0\0\0\0\21\27\352H\0\0"..., 32) = 32 writev(37, [{"GIOP\1\2\0\5\0\0\0\0", 12}], 1) = 12 close(37) = 0 writev(35, [{"GIOP\1\2\0\5\0\0\0\0", 12}], 1) = 12 close(35) = 0 writev(36, [{"GIOP\1\2\0\5\0\0\0\0", 12}], 1) = 12 close(36) = 0 writev(30, [{"GIOP\1\2\0\5\0\0\0\0", 12}], 1) = 12 close(30) = 0 writev(28, [{"GIOP\1\2\0\5\0\0\0\0", 12}], 1) = 12 close(28) = 0 close(25) = 0 close(24) = 0 unlink("/tmp/orbit-paul/linc-1a02-0-5f9fb9b936367") = 0 close(29) = 0 exit_group(-1) = ? Process 6658 detached --- and an ltrace -p --- malloc(1) = 0x10082c00 g_str_hash(0xf20d2f8, 0xf20d2f8, 1, 0, 405) = 0x4a85ea79 g_str_equal(0xf20f94c, 0xf20d2f8, 1, 0, 405) = 0 g_str_equal(0xf20fa5c, 0xf20d2f8, 0x574d5f5a, 0x5f4e4554, 0xfefefeff) = 0 g_str_equal(0x1006e408, 0xf20d2f8, 0x434f5059, 0x5f4e4554, 0xfefefeff) = 1 free(0x10082c00) = <void> gdk_screen_get_root_window(0x1004fc20, 0x7ffff6b0, 0x100add40, 0x1002371c, 156) = 0x10050918 gdk_x11_drawable_get_xid(0x10050918, 8, 0x100add40, 0, 232) = 72 gnome_master_client(0x100add40, 3, 0x100add40, 0, 232) = 0x10043920 gnome_client_request_save(0x10043920, 2, 1, 2, 0 <unfinished ...> g_cclosure_marshal_VOID__VOID(0x102b6cd8, 0, 1, 0x7ffff210, 0x7ffff148 <unfinished ...> gtk_main_quit(0x10043920, 0, 1, 0x7ffff210, 175) = 0 <... g_cclosure_marshal_VOID__VOID resumed> ) = 0 g_cclosure_marshal_VOID__VOID(0x100437b0, 0, 1, 0x7ffff210, 0x7ffff148) = 0x10043920 <... gnome_client_request_save resumed> ) = 1 free(0x102b9ec0) = <void> free(0x10070c68) = <void> free(0x10070c48) = <void> PortableServer_ServantBase__fini(0xf89b0e4, 0x7ffff6e0, 1, 1, 149) = 0x7ffff6e0 POA_Bonobo_Unknown__fini(0x1004ce44, 0x7ffff6e0, 1, 0x1004ce44, 149) = 0x7ffff6e0 PortableServer_ServantBase__fini(0x1004ce44, 0x7ffff6e0, 1, 0x1004ce44, 149) = 0x7ffff6e0 [snip.. numerous free()'s] calloc(1, 24) = 0x10070a70 malloc(32) = 0x102b6c78 free(0x102b6c78) = <void> free(0x10070a70) = <void> +++ exited (status 255) +++ --- It seems just to.. exit ?
new comments, reopening. BTW that works fine here ... which keybinding are you using for the action ?
ok, thanks to sjoerd for the debug, that's a duplicate of #141472 *** This bug has been marked as a duplicate of 141472 ***