GNOME Bugzilla – Bug 38666
gnome-session crashes when shutdown canceled
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-core Severity: grave Version: 1.2.1 Synopsis: gnome-session crashes when shutdown canceled Class: sw-bug äÉÓÔÒÉÂÕÔÉ×: Red Hat Linux release 7.0 (Guinness) System: Linux 2.2.18 i486 unknown C library: glibc-2.2-5 C compiler: 2.96 glib: 1.2.8 GTK+: 1.2.8 ORBit: ORBit 0.5.3 gnome-libs: gnome-libs 1.2.4 libxml: 1.8.9 gnome-print: gnome-print-0.20-8 gnome-core: gnome-core 1.2.1 Description: gnome-session often segfaults if I press Cancel button in the shutdown dialog. Debugging information: (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...0x40596f19 in __wait4 () from /lib/libc.so.6
+ Trace 1358
------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 15:12 ------- This bug was previously known as bug 38666 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=38666 Originally filed under the gnome-core product and general component. Unknown version 1.2.x in product gnome-core. Setting version to the default, "unspecified". The original reporter (stssppnn@usa.net) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.
*** Bug 35621 has been marked as a duplicate of this bug. ***
*** Bug 34915 has been marked as a duplicate of this bug. ***
*** Bug 50573 has been marked as a duplicate of this bug. ***
*** Bug 50729 has been marked as a duplicate of this bug. ***
*** Bug 50658 has been marked as a duplicate of this bug. ***
*** Bug 30891 has been marked as a duplicate of this bug. ***
*** Bug 28168 has been marked as a duplicate of this bug. ***
*** Bug 28068 has been marked as a duplicate of this bug. ***
*** Bug 29751 has been marked as a duplicate of this bug. ***
*** Bug 33391 has been marked as a duplicate of this bug. ***
*** Bug 29884 has been marked as a duplicate of this bug. ***
*** Bug 38149 has been marked as a duplicate of this bug. ***
*** Bug 51409 has been marked as a duplicate of this bug. ***
*** Bug 51150 has been marked as a duplicate of this bug. ***
*** Bug 51159 has been marked as a duplicate of this bug. ***
*** Bug 51206 has been marked as a duplicate of this bug. ***
*** Bug 51335 has been marked as a duplicate of this bug. ***
*** Bug 51096 has been marked as a duplicate of this bug. ***
*** Bug 51522 has been marked as a duplicate of this bug. ***
*** Bug 51601 has been marked as a duplicate of this bug. ***
Can you please provide any more details as to what clients you had running when you close the session?
Tested against Solaris8 - version of gnome is 1.4_15 Cannot reproduce this bug on Redhat6.2 A user adds a key-binding to 'logout' of gnome using the gnomecc. When there are more than 1 app open and the user uses this new key-binding (shortcut) to logout but clicks 'No' when prompted 'Really Log out?" the current gnome session crashes and the current gnome session is shutdown (user is logged out). Steps to Recreate: [1] Add a new key-binding (shortcut) via gnomecc. Add the new key0binding to execute the gnome logout. [2] Startup a gnome terminal and dtmail (or netscape). [3] When apps are completly started use the new key-binding to logout of gnome. When prompted 'Do you really want to logout?' click NO. [4] The result is that the current session will crash and the user will be logged out anyway. Stacktrace below: 13491: /opt/gnome-1.4/bin/gnome-session fea99e50 waitid (0, 3500, ffbedbf0, 3) fea54860 _waitpid (0, ffbedcd4, 0, ffbedcd4, 21440, ff29d8b0) + 60 ff29d8b0 ???????? (b, 0, ffbeddc8, feab6000, 0, 0) fea990d8 sigacthandler (b, 0, ffbeddc8, 32c00, 21000, ff177eb4) + 28 --- called from signal handler with signal 11 (SIGSEGV) --- ff1a40bc SmsShutdownCancelled (0, 32c00, 0, feb8d4c0, 6deb8, 4) + 10 00016588 ???????? (70580, 2, 1, 2, 0, 1) 00016d54 ???????? (605c8, 70580, 32c00, 32c00, 0, 0) 00017130 ???????? (32c00, 70580, 32c00, ff1a5798, 214e0, ff177d04) ff1a6284 _SmsProcessMessage (6deb8, 5cbf8, 6deb8, ff1b8000, 0, 8) + a98 ff178700 IceProcessMessages (6deb8, 0, 0, ff194000, 7b640, 0) + 3b8 ff28ded0 ???????? (6deb8, b, 1, ff28deb8, 21de8, fea41b68) fef4bcd4 ???????? (6f028, 1, 5cfa0, fef4bc84, 1, feb68b24) feb64740 ???????? (5e8a8, ffbee5a0, 5cfa0, 0, 0, feb66cf8) feb661ac ???????? (470, 470, 4d4, ac4, 4d4, ac4) feb66a70 ???????? (feb8d4bc, feb8d428, 4d4, ac4, 4d4, ac4) feb6733c g_main_run (5a4d0, fef7ae4c, 60570, 0, 756c7400, 756c7400) + b8 ff04bac8 gtk_main (2c00, 0, 177, 32c00, 140, 18648) + 10c 00018700 main (0, ffbee7a4, ffbee7ac, 33100, 0, 0) + 214 00014790 _start (0, 0, 0, 0, 0, 0) + 5c ************* FURTHER COMMENTS ************** niall.power@ireland.sun.com 2001-04-04 This is really weird. Sawfish does a system() call to launch "save-session --kill &". Issuing this call from the command line does not cause gnome-session to crash, only when sawfish is calling it. As for the crash itself, gnome-session is crash with a bus error. It's passing in a bad address for a SmsConn pointer to SmsShutdownCancelled () from /usr/openwin/lib/libSM.so.6 The stack trace looks like this under gdb:
+ Trace 4613
The first argument to #2, process_save_request(), is "client", which has the following values: (gdb) p *client $1 = {id = 0x12bd88 "", handle = 0x107e8 "", connection = 0x1, properties = 0xb2190, attempts = 0, connect_time = 0, priority = 636184, match_rule = 65538, warning = 917602, get_prop_replies = 0x10f0002, get_prop_requests = 696072, command_data = 0xaffc0} It's the "connection" member that is passed into SmsShutdownCancelled(), hence the segv fault. The "handle" also occasionally points to invalid addresses.
*** Bug 52021 has been marked as a duplicate of this bug. ***
*** Bug 52362 has been marked as a duplicate of this bug. ***
*** Bug 52814 has been marked as a duplicate of this bug. ***
*** Bug 53116 has been marked as a duplicate of this bug. ***
*** Bug 53410 has been marked as a duplicate of this bug. ***
*** Bug 53625 has been marked as a duplicate of this bug. ***
*** Bug 53873 has been marked as a duplicate of this bug. ***
*** Bug 54085 has been marked as a duplicate of this bug. ***
*** Bug 54972 has been marked as a duplicate of this bug. ***
*** Bug 55242 has been marked as a duplicate of this bug. ***
*** Bug 55594 has been marked as a duplicate of this bug. ***
*** Bug 55838 has been marked as a duplicate of this bug. ***
*** Bug 55938 has been marked as a duplicate of this bug. ***
*** Bug 56026 has been marked as a duplicate of this bug. ***
*** Bug 56162 has been marked as a duplicate of this bug. ***
*** Bug 56258 has been marked as a duplicate of this bug. ***
*** Bug 57018 has been marked as a duplicate of this bug. ***
*** Bug 57288 has been marked as a duplicate of this bug. ***
*** Bug 57413 has been marked as a duplicate of this bug. ***
*** Bug 58710 has been marked as a duplicate of this bug. ***
*** Bug 58844 has been marked as a duplicate of this bug. ***
*** Bug 59690 has been marked as a duplicate of this bug. ***
*** Bug 60907 has been marked as a duplicate of this bug. ***
*** Bug 61170 has been marked as a duplicate of this bug. ***
*** Bug 62348 has been marked as a duplicate of this bug. ***
Please try the newly released gnome-core-1.4.0.5. Tarball is at http://download.gnome.org/. I made a package you can try if you are using a Red Hat Linux system. Find it at http://www.gnome.org/~kmaraas/gnome-core-1.4.0.5-1.i386.rpm There's also a new gnome-libs out which is needed for this. Package in the same above dir...
*** Bug 60812 has been marked as a duplicate of this bug. ***
*** Bug 60871 has been marked as a duplicate of this bug. ***
*** Bug 61322 has been marked as a duplicate of this bug. ***
*** Bug 61685 has been marked as a duplicate of this bug. ***
*** Bug 63260 has been marked as a duplicate of this bug. ***
*** Bug 63942 has been marked as a duplicate of this bug. ***
*** Bug 64955 has been marked as a duplicate of this bug. ***
*** Bug 64968 has been marked as a duplicate of this bug. ***
*** Bug 65186 has been marked as a duplicate of this bug. ***
*** Bug 65237 has been marked as a duplicate of this bug. ***
*** Bug 65413 has been marked as a duplicate of this bug. ***
*** Bug 65568 has been marked as a duplicate of this bug. ***
*** Bug 65613 has been marked as a duplicate of this bug. ***
*** Bug 65761 has been marked as a duplicate of this bug. ***
*** Bug 65780 has been marked as a duplicate of this bug. ***
*** Bug 66092 has been marked as a duplicate of this bug. ***
*** Bug 66180 has been marked as a duplicate of this bug. ***
*** Bug 66395 has been marked as a duplicate of this bug. ***
*** Bug 66764 has been marked as a duplicate of this bug. ***
*** Bug 67264 has been marked as a duplicate of this bug. ***
*** Bug 67382 has been marked as a duplicate of this bug. ***
*** Bug 67418 has been marked as a duplicate of this bug. ***
*** Bug 67580 has been marked as a duplicate of this bug. ***
*** Bug 68377 has been marked as a duplicate of this bug. ***
*** Bug 68722 has been marked as a duplicate of this bug. ***
*** Bug 69111 has been marked as a duplicate of this bug. ***
*** Bug 69205 has been marked as a duplicate of this bug. ***
*** Bug 69131 has been marked as a duplicate of this bug. ***
Closing as Kjartan seems to think it should be fixed. Shane, if you could reopen if you can still duplicate...
*** Bug 69536 has been marked as a duplicate of this bug. ***
*** Bug 71946 has been marked as a duplicate of this bug. ***
*** Bug 67547 has been marked as a duplicate of this bug. ***
*** Bug 73765 has been marked as a duplicate of this bug. ***
*** Bug 73790 has been marked as a duplicate of this bug. ***
*** Bug 73907 has been marked as a duplicate of this bug. ***
*** Bug 70910 has been marked as a duplicate of this bug. ***
*** Bug 72057 has been marked as a duplicate of this bug. ***
*** Bug 72466 has been marked as a duplicate of this bug. ***
*** Bug 74477 has been marked as a duplicate of this bug. ***
*** Bug 70234 has been marked as a duplicate of this bug. ***
Today I tested this bug, here are the results: 1. In Solaris 2.8, gnome-session doesn't crash when 'logout' is cancelled. But after cancelling the logout session, display is not proper. How to produce: 1. Invoke gedit, gnome-dictionary. 2. select Actions->Logout. 3. Select 'No' option. 4. Display goes for a toss. 2. In Linux, it works fine.
*** Bug 77322 has been marked as a duplicate of this bug. ***
*** Bug 77067 has been marked as a duplicate of this bug. ***
*** Bug 77525 has been marked as a duplicate of this bug. ***
*** Bug 77792 has been marked as a duplicate of this bug. ***
*** Bug 78003 has been marked as a duplicate of this bug. ***
*** Bug 78172 has been marked as a duplicate of this bug. ***
*** Bug 78689 has been marked as a duplicate of this bug. ***
*** Bug 77874 has been marked as a duplicate of this bug. ***
*** Bug 74193 has been marked as a duplicate of this bug. ***
*** Bug 72911 has been marked as a duplicate of this bug. ***
*** Bug 72712 has been marked as a duplicate of this bug. ***
*** Bug 72385 has been marked as a duplicate of this bug. ***
*** Bug 72172 has been marked as a duplicate of this bug. ***
*** Bug 73433 has been marked as a duplicate of this bug. ***
*** Bug 78091 has been marked as a duplicate of this bug. ***
*** Bug 78143 has been marked as a duplicate of this bug. ***
*** Bug 78461 has been marked as a duplicate of this bug. ***
*** Bug 79272 has been marked as a duplicate of this bug. ***
*** Bug 78964 has been marked as a duplicate of this bug. ***
*** Bug 81160 has been marked as a duplicate of this bug. ***
*** Bug 81505 has been marked as a duplicate of this bug. ***
*** Bug 81743 has been marked as a duplicate of this bug. ***
*** Bug 83273 has been marked as a duplicate of this bug. ***
*** Bug 86496 has been marked as a duplicate of this bug. ***
*** Bug 86581 has been marked as a duplicate of this bug. ***
*** Bug 88723 has been marked as a duplicate of this bug. ***
*** Bug 63592 has been marked as a duplicate of this bug. ***
*** Bug 75004 has been marked as a duplicate of this bug. ***
*** Bug 86926 has been marked as a duplicate of this bug. ***
*** Bug 83831 has been marked as a duplicate of this bug. ***
*** Bug 53485 has been marked as a duplicate of this bug. ***
*** Bug 74874 has been marked as a duplicate of this bug. ***
*** Bug 79699 has been marked as a duplicate of this bug. ***
*** Bug 83516 has been marked as a duplicate of this bug. ***
*** Bug 76864 has been marked as a duplicate of this bug. ***
*** Bug 87126 has been marked as a duplicate of this bug. ***
*** Bug 69507 has been marked as a duplicate of this bug. ***
*** Bug 80612 has been marked as a duplicate of this bug. ***
*** Bug 50930 has been marked as a duplicate of this bug. ***
*** Bug 77360 has been marked as a duplicate of this bug. ***
*** Bug 81444 has been marked as a duplicate of this bug. ***
*** Bug 74754 has been marked as a duplicate of this bug. ***
*** Bug 61526 has been marked as a duplicate of this bug. ***
*** Bug 75153 has been marked as a duplicate of this bug. ***
*** Bug 83927 has been marked as a duplicate of this bug. ***
*** Bug 54509 has been marked as a duplicate of this bug. ***
*** Bug 86416 has been marked as a duplicate of this bug. ***
*** Bug 68826 has been marked as a duplicate of this bug. ***
*** Bug 71827 has been marked as a duplicate of this bug. ***
*** Bug 71291 has been marked as a duplicate of this bug. ***
*** Bug 87963 has been marked as a duplicate of this bug. ***
*** Bug 85317 has been marked as a duplicate of this bug. ***
*** Bug 63494 has been marked as a duplicate of this bug. ***
*** Bug 65458 has been marked as a duplicate of this bug. ***
*** Bug 64677 has been marked as a duplicate of this bug. ***
*** Bug 68647 has been marked as a duplicate of this bug. ***
*** Bug 89150 has been marked as a duplicate of this bug. ***
*** Bug 87026 has been marked as a duplicate of this bug. ***
*** Bug 90606 has been marked as a duplicate of this bug. ***
*** Bug 91517 has been marked as a duplicate of this bug. ***
*** Bug 92882 has been marked as a duplicate of this bug. ***
*** Bug 95257 has been marked as a duplicate of this bug. ***
*** Bug 95131 has been marked as a duplicate of this bug. ***
*** Bug 93310 has been marked as a duplicate of this bug. ***
*** Bug 92498 has been marked as a duplicate of this bug. ***
*** Bug 95298 has been marked as a duplicate of this bug. ***
*** Bug 97192 has been marked as a duplicate of this bug. ***
*** Bug 97423 has been marked as a duplicate of this bug. ***
*** Bug 100043 has been marked as a duplicate of this bug. ***
*** Bug 100240 has been marked as a duplicate of this bug. ***
*** Bug 100811 has been marked as a duplicate of this bug. ***
*** Bug 104694 has been marked as a duplicate of this bug. ***
*** Bug 114271 has been marked as a duplicate of this bug. ***
*** Bug 125240 has been marked as a duplicate of this bug. ***
*** Bug 134650 has been marked as a duplicate of this bug. ***