GNOME Bugzilla – Bug 239441
evolution crashed when sorting imap mailbox by date
Last modified: 2013-09-13 12:24:46 UTC
Package: Evolution Priority: Normal Version: GNOME2.2.0 1.3.1.99 os_details: Gnome.Org Synopsis: evolution crashed when sorting imap mailbox by date Bugzilla-Product: Evolution Bugzilla-Component: Mailer BugBuddy-GnomeVersion: 2.0 (2.2.0.1) Description: Using cvs head from 3-9-2003. Sorting mail by clicking the date column crashed evolution. See attached backtrace Debugging Information: Backtrace was generated from '/usr/local/gnome2/bin/evolution-1.3' [New Thread 8192 (LWP 32309)] [New Thread 16385 (LWP 469)] [New Thread 8194 (LWP 470)] [New Thread 16387 (LWP 471)] [New Thread 24580 (LWP 484)] [New Thread 32773 (LWP 485)] [New Thread 49159 (LWP 640)] 0x420ae169 in wait4 () from /lib/i686/libc.so.6
+ Trace 34729
Thread 1 (Thread 8192 (LWP 32309))
Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
unable to reproduce this with trunk. several fixes could have fixed this. please reopen if it's still reproducable with current cvs.
Reopening since there is a report from 20030330
*** bug 240546 has been marked as a duplicate of this bug. ***
The stack trace indicates sorting an apparently freed root gnode. Added check to kill_gnode to NULL etta->priv->root when killing it. Alex, please verify from cvs trunk if you don't mind. Thanks.
Mike, I just rebuilt gal from head and "make installed" it. After re-running evolution, I still see the crash. Do I also need to rebuild evolution against the new gal?
Yes, possibly, depending on how old your evo is. The soname of gal jumped recently, so your evo may still be linking to the old gal.so.
Mike, I just rebuild gal and evolution from head on 4/2/03 and I can still reproduce the crash. I'll attach the backtrace which may be the same as before.
Created attachment 42226 [details] backtrace of latest evo-1.3 crash
Since the "recurse" value in the trace is garbage, I'm assuming the gnode value may be garbage in the trace too. The only other case I can think of is if it is actually NULL. That would seem strange though since I assume you are looking at a populated tree. I added a guard for root == NULL in the sort_info_changed handler. Please reopen if the crash still occurs, but if it does, I question the sanity of the trace you are seeing. Maybe a rebuild with optimization turned off would produce a better trace.
*** Bug 356808 has been marked as a duplicate of this bug. ***
it does still occur, see bug 356808 for an updated stacktrace.
*** Bug 373777 has been marked as a duplicate of this bug. ***
*** Bug 374926 has been marked as a duplicate of this bug. ***
*** Bug 379681 has been marked as a duplicate of this bug. ***
*** Bug 380370 has been marked as a duplicate of this bug. ***
*** Bug 380137 has been marked as a duplicate of this bug. ***
*** Bug 381146 has been marked as a duplicate of this bug. ***
*** Bug 381152 has been marked as a duplicate of this bug. ***
*** Bug 382172 has been marked as a duplicate of this bug. ***
*** Bug 383322 has been marked as a duplicate of this bug. ***
*** Bug 382031 has been marked as a duplicate of this bug. ***
*** Bug 385351 has been marked as a duplicate of this bug. ***
*** Bug 384586 has been marked as a duplicate of this bug. ***
*** Bug 386073 has been marked as a duplicate of this bug. ***
*** Bug 386091 has been marked as a duplicate of this bug. ***
*** Bug 392658 has been marked as a duplicate of this bug. ***
*** Bug 393038 has been marked as a duplicate of this bug. ***
*** Bug 395743 has been marked as a duplicate of this bug. ***
*** Bug 405448 has been marked as a duplicate of this bug. ***
*** Bug 424394 has been marked as a duplicate of this bug. ***
*** Bug 423637 has been marked as a duplicate of this bug. ***
*** Bug 430185 has been marked as a duplicate of this bug. ***
*** Bug 433014 has been marked as a duplicate of this bug. ***
*** Bug 433477 has been marked as a duplicate of this bug. ***
*** Bug 438513 has been marked as a duplicate of this bug. ***
Ubuntu crash with a similar backtrace using evolution 2.10 on https://bugs.launchpad.net/evolution/+bug/117735 ".
+ Trace 136858
Thread 1 (process 8438)
*** Bug 431874 has been marked as a duplicate of this bug. ***
folks, is bug 387143 a duplicate?
*** Bug 452251 has been marked as a duplicate of this bug. ***
*** Bug 462768 has been marked as a duplicate of this bug. ***
(In reply to comment #38) > folks, is bug 387143 a duplicate? > Probably can.
Created attachment 94237 [details] [review] proposed evo patch for evolution; I see here only one little weak point in the design, when the structure places function into idle "stack" and meanwhile is freed, then it didn't remove the function from idle "stack" and that function is called with already freed data. Based on latest stack traces, it seems to be the case here. Probably this patch will help.
Looks great to commit.
Committed to trunk. Committed revision 34090.
*** Bug 384702 has been marked as a duplicate of this bug. ***
(In reply to comment #41) > (In reply to comment #38) > > folks, is bug 387143 a duplicate? > > > > Probably can. > I'd say so as well.
*** Bug 387143 has been marked as a duplicate of this bug. ***
*** Bug 477029 has been marked as a duplicate of this bug. ***
*** Bug 477014 has been marked as a duplicate of this bug. ***
*** Bug 475834 has been marked as a duplicate of this bug. ***
*** Bug 376289 has been marked as a duplicate of this bug. ***
*** Bug 485859 has been marked as a duplicate of this bug. ***
*** Bug 474438 has been marked as a duplicate of this bug. ***
*** Bug 475522 has been marked as a duplicate of this bug. ***
*** Bug 475699 has been marked as a duplicate of this bug. ***
*** Bug 477493 has been marked as a duplicate of this bug. ***
*** Bug 479248 has been marked as a duplicate of this bug. ***
*** Bug 487975 has been marked as a duplicate of this bug. ***
*** Bug 404871 has been marked as a duplicate of this bug. ***
*** Bug 486882 has been marked as a duplicate of this bug. ***
*** Bug 489824 has been marked as a duplicate of this bug. ***
*** Bug 489837 has been marked as a duplicate of this bug. ***
*** Bug 494540 has been marked as a duplicate of this bug. ***
*** Bug 496427 has been marked as a duplicate of this bug. ***
*** Bug 497786 has been marked as a duplicate of this bug. ***
*** Bug 500421 has been marked as a duplicate of this bug. ***
*** Bug 445264 has been marked as a duplicate of this bug. ***
*** Bug 415863 has been marked as a duplicate of this bug. ***
*** Bug 502810 has been marked as a duplicate of this bug. ***
*** Bug 502916 has been marked as a duplicate of this bug. ***
*** Bug 503282 has been marked as a duplicate of this bug. ***
*** Bug 507833 has been marked as a duplicate of this bug. ***
*** Bug 506050 has been marked as a duplicate of this bug. ***
*** Bug 504832 has been marked as a duplicate of this bug. ***
*** Bug 508414 has been marked as a duplicate of this bug. ***
*** Bug 504947 has been marked as a duplicate of this bug. ***
*** Bug 505734 has been marked as a duplicate of this bug. ***