GNOME Bugzilla – Bug 364839
Many applications crash on exit() when GNOME Accessibility is in use (especially in FC5 and FC6 currently)
Last modified: 2007-09-14 15:22:37 UTC
Steps to reproduce: When trying to change any preferences in System/Preferences/* something crashes when the change has been made and the dialog window is closed. System log gets this: Oct 24 23:28:01 localhost kernel: gnome_segv2[3072]: segfault at 0000000000000000 rip 000000336d873cb0 rsp 00007fff8634f688 error 4 Steps to reproduce the crash: 1. Allow other hosts connect gdm with XDMCP (/etc/gdm/custom.conf <- "[xdmcp] Enable=true") (open a hole to the firewall for port 177) 2. Connect in from another host: $ X -query <gdm-host-IP-address> 3. Log in 4. Try to change for example mouse preferences: System | Preferences | Mouse. (Or, System | About_GNOME) 5. Click OK in the dialog window => crash Expected Results: The wanted change in the preferences would be made and nothing would crash. How often does this happen? Every time. Additional Information: System log of the gdm-host gets always something like this: Oct 24 23:28:01 localhost kernel: gnome_segv2[3072]: segfault at 0000000000000000 rip 000000336d873cb0 rsp 00007fff8634f688 error 4 Stack trace: Backtrace was generated from '/usr/bin/gnome-about' (no debugging symbols found) Using host libthread_db library "/lib64/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) .... [Thread debugging using libthread_db enabled] [New Thread 46912496320080 (LWP 3606)] (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) 0x000000336f30ccb5 in waitpid () from /lib64/libpthread.so.0
+ Trace 78129
Thread 1 (Thread 46912496320080 (LWP 3606))
Other information: All System | Preferences dialog windows will crash also. This doesn't happen, when the same system (gdm/GNOME/metacity) is used from local console.
Could this be an a11y issue? (see stack trace)
Definitely not ATK (see stack trace); possibly at-spi. Possibly exposed by the new "remote apps accessibility" patch to at-spi? Is the reporter certain that the gnome env in question is 2.13/2.14?
Aha, this happens after exit() has been called. Lowering severity (crash on exit). Could be an ORBit2 thing?
> Is the reporter certain that the gnome env in question is 2.13/2.14? Yes. The desktop´s Panel-menu: System/About_GNOME says "2.14.3", and when "Close"-button is pushed, it crashes.
Forgot to mention, the OS is to the formatted/empy disk installed Fedora core 5, with updates until this date. The X-server (the remote X-terminal) is fc3-installation w/ updates.
For the record this happens on my FC5 system even with a local display.. And it started after I turned on Accessibility. GnuCash crashes (locally) with a very similar stack trace (after exit). If I turn off accessibility, the crash goes away. So it has nothing to do with remote display, but it does seem to be an issue in FC5's gnome/at-spi libraries.
By the look of it, it is yet another duplicate of bug 389327, but this report has more information, so setting bug 389327 as a duplicate of this.
*** Bug 389327 has been marked as a duplicate of this bug. ***
*** Bug 388053 has been marked as a duplicate of this bug. ***
*** Bug 388062 has been marked as a duplicate of this bug. ***
*** Bug 388450 has been marked as a duplicate of this bug. ***
*** Bug 389723 has been marked as a duplicate of this bug. ***
I think the real trace is http://bugzilla.gnome.org/attachment.cgi?id=78964&action=view
Created attachment 78972 [details] [review] patch should fix this bug
*** Bug 390533 has been marked as a duplicate of this bug. ***
*** Bug 390632 has been marked as a duplicate of this bug. ***
*** Bug 390403 has been marked as a duplicate of this bug. ***
*** Bug 390901 has been marked as a duplicate of this bug. ***
*** Bug 390946 has been marked as a duplicate of this bug. ***
*** Bug 390929 has been marked as a duplicate of this bug. ***
*** Bug 390111 has been marked as a duplicate of this bug. ***
*** Bug 391143 has been marked as a duplicate of this bug. ***
*** Bug 391772 has been marked as a duplicate of this bug. ***
*** Bug 391885 has been marked as a duplicate of this bug. ***
*** Bug 391862 has been marked as a duplicate of this bug. ***
*** Bug 392005 has been marked as a duplicate of this bug. ***
*** Bug 391679 has been marked as a duplicate of this bug. ***
*** Bug 391697 has been marked as a duplicate of this bug. ***
*** Bug 392138 has been marked as a duplicate of this bug. ***
*** Bug 392121 has been marked as a duplicate of this bug. ***
*** Bug 393096 has been marked as a duplicate of this bug. ***
*** Bug 393083 has been marked as a duplicate of this bug. ***
*** Bug 393322 has been marked as a duplicate of this bug. ***
*** Bug 393537 has been marked as a duplicate of this bug. ***
*** Bug 393593 has been marked as a duplicate of this bug. ***
*** Bug 393587 has been marked as a duplicate of this bug. ***
*** Bug 393558 has been marked as a duplicate of this bug. ***
*** Bug 390362 has been marked as a duplicate of this bug. ***
*** Bug 393725 has been marked as a duplicate of this bug. ***
*** Bug 394123 has been marked as a duplicate of this bug. ***
*** Bug 394056 has been marked as a duplicate of this bug. ***
*** Bug 394443 has been marked as a duplicate of this bug. ***
So I gather that ORBit2 is where the problem resides. What is the fix? Comment #3 references possibly ORBit2 as suspect. Questioning because of Bug 394443 being marked as Resolved and a duplicate of this bug.
You can see my patch below. The bug will be fixed in at-spi 1.7.15 with gnome 2.17.5.
So are spi_atk_... functions causing the crashes on exit that other applications are exhibiting? Thanks for the explanation. I do not work with code so I'll wait for the releases that you referenced above. I have at-spi-1.7.14-1.fc7 installed right now.
Yes, this will be fixed in at-spi-1.7.15.
*** Bug 395006 has been marked as a duplicate of this bug. ***
*** Bug 395218 has been marked as a duplicate of this bug. ***
*** Bug 395220 has been marked as a duplicate of this bug. ***
*** Bug 394937 has been marked as a duplicate of this bug. ***
*** Bug 394757 has been marked as a duplicate of this bug. ***
*** Bug 394024 has been marked as a duplicate of this bug. ***
*** Bug 396421 has been marked as a duplicate of this bug. ***
*** Bug 395679 has been marked as a duplicate of this bug. ***
*** Bug 395753 has been marked as a duplicate of this bug. ***
Am I understanding that Fedora Development is now fixed but the problem with applications crashing on exit are happening in FC5 and FC6? Anyway, the patch works and upgrading to at-spi-1.7.15-1.fc7 stops the problem with applications crashing on exit. A downstream bug report should probably be filed for the FC6 and FC5 problem if true.
*** Bug 405261 has been marked as a duplicate of this bug. ***
*** Bug 356266 has been marked as a duplicate of this bug. ***
*** Bug 450330 has been marked as a duplicate of this bug. ***
*** Bug 476390 has been marked as a duplicate of this bug. ***