GNOME Bugzilla – Bug 352396
Crashing Flipping Between Folders
Last modified: 2008-04-02 15:43:26 UTC
Steps to reproduce: Flipped from Mailbox to SentItems, crashed right after UI updated. Stack trace: Backtrace was generated from '/usr/local/bin/evolution-2.8' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1231743312 (LWP 2091)] [New Thread -1357788256 (LWP 2801)] [New Thread -1315415136 (LWP 2208)] [New Thread -1319109728 (LWP 2206)] [New Thread -1307022432 (LWP 2177)] [New Thread -1298629728 (LWP 2173)] [New Thread -1257698400 (LWP 2109)] [New Thread -1276122208 (LWP 2108)] [New Thread -1267729504 (LWP 2107)] [New Thread -1249305696 (LWP 2104)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 70820
Thread 2 (Thread -1357788256 (LWP 2801))
Other information:
adding chen, feels like another threading one.
It also crashes deep in xlib/gtk/gdk etc. Could you get us backtraces with debug packages for those installed?
*** Bug 385632 has been marked as a duplicate of this bug. ***
Comment #5 of Bug 385632 has a much more detailed stack trace for this one, with debug symbols for darn near everything.
I would suspect the crash is more vfolder related (see thread 2) than X or gdk/gtk - I could, of course, be wrong ;)
Created attachment 82238 [details] [review] Fix - (workaround) This should possibly fixes the issue. Jeff: Yes, CamelVeeMessageInfo* maintains a CamelMessageInfo* of the original message and it somehow gets double-unreffed in due course of time. Due to which, it crashes. My workaround will clone the original CamelMessageInfo* and free it when the associated CamelVeeMessageInfo* is freed. I am open to suggestions that can lead us to a much-cleaner fix. :-)
*** Bug 424617 has been marked as a duplicate of this bug. ***
varadhan: ping can that workaround go in, please?
Varadhan, How about just reffing it and unreffing there?. clone would increase the memory requirement by double. Isnt it?
Similar issues in bug 412301
varadhan: ping, ping, ping. (you're not working on mono, are you? ;-)
*** Bug 433273 has been marked as a duplicate of this bug. ***
Created attachment 107674 [details] [review] Patch which applies to rev 8578 The Patch doesn't apply anymore (just an offset of 30 lines or so), so I'll attach an more up-to-date patch (and draw some attention to the bug ;-) ). Though I don't suggest to commit it, since it does ugly things ;-) However, we receive still seem to hit this bug in 2.12, as in bug 523246. Hence a fix would be good ;-)
Thanks for the rewrite Tobias, but the patch is no longer needed, it has been fixed with a patch from bug #324168, unfortunately it didn't touch 2.12 branch. To explain more, the reason why it crashed in camel_message_info_uint32 was that the message info has set a summary, but the summary gone (was freed) and thus trying to access it leads to crash. Feel free to mark this as a duplicate of the above bug.
Thx Milan. Closing as dup of 324168 as per comment #14. *** This bug has been marked as a duplicate of 324168 ***