GNOME Bugzilla – Bug 312831
crash in camel-folder-thread.c:sort_node when generating message list
Last modified: 2006-06-13 14:41:37 UTC
I have a 791 MB mbox (159 MB compressed) which will crash Evolution every time it attempts to display the folder. (Obviously, I can't attach the mbox to this bug report for your crashing pleasure, and trimming the file doesn't reproduce the bug. Let me know where you want it and how to put it there and I'll be happy to give it to you.) It looks like the assumption being made in sort_node ("if we have no message, it must be a dummy node, which also means it must have a child, just use that as the sort data (close enough?)") is wrong, because it's somehow getting a dummy node that has no child. (gdb) frame 0
+ Trace 62270
Created attachment 50358 [details] Compressed mbox (part 1) Compressed mbox that will crash Evolution
Created attachment 50359 [details] Compressed mbox (part 2)
Created attachment 50360 [details] Compressed mbox (part 3) Final part, cat them together and decompress, etc.
Created attachment 50362 [details] Somewhat minimal test case I was able to reduce the mbox file further.
Created attachment 50369 [details] [review] fixes the crash seems to fix it for me, without changing the behaviour
Looks like it fixes it for me, too. Many thanks.
also committed to 2.2
*** Bug 312916 has been marked as a duplicate of this bug. ***
*** Bug 312875 has been marked as a duplicate of this bug. ***
*** Bug 344760 has been marked as a duplicate of this bug. ***