GNOME Bugzilla – Bug 324008
Crashes when sending mail (storing local copy)
Last modified: 2013-09-10 14:04:39 UTC
Distribution: Ubuntu 5.10 (breezy) Package: Evolution Severity: Normal Version: GNOME2.12.1 2.4.x Gnome-Distributor: Ubuntu Synopsis: Crashes when sending mail (storing local copy) Bugzilla-Product: Evolution Bugzilla-Component: Mailer Bugzilla-Version: 2.4.x BugBuddy-GnomeVersion: 2.0 (2.12.0) Description: Description of the crash: Sometimes when I send a mail, evolution crashes. The mail is successfully sent however the local copy that should be stored in old/outbox (in my Maildir tree) is not written. How often does this happen? No precise idea. 2 out of 10 ? Additional Information: I'm using evolution from Ubuntu Breezy (2.4.1). All plugins are apparently enabled by default. Debugging Information: Backtrace was generated from '/usr/bin/evolution' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (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) (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) (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) (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) (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) (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) (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) (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) (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) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1230718144 (LWP 7418)] [New Thread -1296507984 (LWP 7491)] [New Thread -1288115280 (LWP 7490)] [New Thread -1265058896 (LWP 7425)] [New Thread -1256559696 (LWP 7424)] [New Thread -1247994960 (LWP 7423)] [New Thread -1239192656 (LWP 7422)] (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) (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) 0xffffe410 in __kernel_vsyscall ()
+ Trace 64585
Thread 6 (Thread -1247994960 (LWP 7423))
------- Bug moved to this database by unknown@gnome.bugs 2005-12-13 19:11 UTC -------
The bug happens with evolution-data-server 1.5.2 as well. Debug backtrace from the submitter with 1.4.1: Program received signal SIGSEGV, Segmentation fault.
+ Trace 64588
Thread NaN (LWP 14125)
comment from the submitter: "I moved away my .ibex* files for old/outbox and now it starts again"
The partition table is borked. How many messages do you have in the folder?? Were the files manunally edited??
comment from the bug submitter: "2500 mails and no manual edit, just a crash while evolution was trying to write on it ... (probably)"
From what I know, Zucchi's CamelPartitionTable and CamelIndex stuff is all based on the design explained in the document: http://primates.ximian.com/~fejj/doc/idealhashtrees.pdf
Yet another similar backtrace : http://pastebin.com/468929 And again, moving away old/outbox.ibex* files solved the crash on startup. Evolution corrupts itself the files when randomly crashing. The "Maildir" camel code certainly needs a bit of love ... I'm running evolution ig gdb almost permanently now. I hope to be able to provide a back trace of a crash that corrupts the files ... but it's not so easy to reproduce. The last time it happened, gdb stalled strangely with : ptrace: Aucun processus de ce type. thread_db_get_info: cannot get thread info: generic error And then I couldn't get a backtrace even though evolution was no more working (more precisely, the part that displays the mail content stopped updating itself and changing to another message didn't change anything). After that "force stop" (quit in gdb), the files were corrupted ...
One more backtrace, HTH : Program received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 64678
Thread NaN (LWP 15177)
This time after a crash, evolution decided to reindex one of my folder and crashed during that processing. Also some messages were marked as new when they weren't before ... and trying to display a message marked new lead to an error (displayed in the content pane). Here's the backtrace : Program received signal SIGSEGV, Segmentation fault.
+ Trace 64680
Thread NaN (LWP 28389)
A new backtrace of a crash directly at startup (it crashed just before while trying to exit from evolution) : Program received signal SIGSEGV, Segmentation fault.
+ Trace 64691
Thread NaN (LWP 20370)
Finally I think I managed to get a backtrace of the first crash that usually leads to corrupted "*ibex*" files which themselves lead to further crash... this crash happened right after sending a new message (a reply in fact). The "1134998490.20521_1.rivendell:2,S" id corresponds to the message that I just sent. camel-ERROR **: file camel-partition-table.c: line 877 (camel_key_table_lookup): assertion failed: (index < kb->used) aborting... Program received signal SIGABRT, Aborted.
+ Trace 64695
Thread NaN (LWP 20523)
Set target milestone to 2.8
*** Bug 352027 has been marked as a duplicate of this bug. ***
*** Bug 427258 has been marked as a duplicate of this bug. ***
*** Bug 416535 has been marked as a duplicate of this bug. ***
Created attachment 92690 [details] [review] proposed eds patch for evolution-data-server; I'm not sure if this patch will solve whole bug (probably not), but from other duplicates I see here a problem when creating new index file and it isn't created successfully (see camel_text_index_new when returning NULL), then sync may do nothing in this cases from camel_text_index_finalise, because it could cause a crash.
*** Bug 455260 has been marked as a duplicate of this bug. ***
Sankar: Please review this and reply
*** Bug 468779 has been marked as a duplicate of this bug. ***
No replies... Milan, this seems no harmful, anyways commit to head.
Committed to trunk. Committed revision 8262. Closing this bug, but if someone will see this again, then feel free to reopen.
Camel-lite merged with this