GNOME Bugzilla – Bug 112958
Always crash at the every exit.
Last modified: 2004-12-22 21:47:04 UTC
Info: seahorse 0.7.3 on Gnome 2.3.1 with FreeBSD 5.0-CURRENT It always crash at the every exit, which I just run and exit it. Here's info that I ran it under the gdb: ==================================== (gdb) r Starting program: /usr/X11R6/bin/seahorse Program received signal SIGBUS, Bus error. 0x08059bbc in seahorse_context_destroy (sctx=0xd0d0d0d0) at seahorse-context.c:300 300 seahorse-context.c: No such file or directory. in seahorse-context.c (gdb) bt
+ Trace 36858
Joe Marcus Clarke <marcus@FreeBSD.org> help with me and here's his hints. Let me copy and paste in here. ==================================== I thought it might be trying to double-free the sctx, but, in fact, it looks like they have a bit of a race condition when quitting the app. They unref the main widget, then try to destroy the context it contained. If you comment out line 288 in libseahorse/seahorse-widget.c, the problem goes away. File this with the developers if a bug doesn't exist already. They either need to not destroy the context, or fix line 545 of src/seahorse-key-manager.c not to use seahorse_widget_destroy for the data_destroy...or something else that tidies this up. ====================================
Thanks for the heads up, I'm currently trying to refactor the context partly to fix issues like this.
*** Bug 122455 has been marked as a duplicate of this bug. ***
*** Bug 128653 has been marked as a duplicate of this bug. ***
Crash in latest duplicate was on SuSE; changing OS to all. Since it's a crasher, I'm also going to change severity->critical, and I'll also attach the bugsquad keyword.
*** Bug 128103 has been marked as a duplicate of this bug. ***
*** Bug 113536 has been marked as a duplicate of this bug. ***
*** Bug 141041 has been marked as a duplicate of this bug. ***
Can anyone duplicate this in a recent CVS build? I reviewed the relevant portions of code and I believe that the behavior has been fixed due to code cleanup.
This seems to be fixed. There's a check in seahorse_context_destroy that makes sure that we don't destroy twice. If it continues to occur please reopen this bug.