GNOME Bugzilla – Bug 670478
Evolution segfaults while downloading mail from pop3
Last modified: 2012-03-16 11:41:40 UTC
Hello, Evolution is crashing when new mail is present on a pop3 mailbox. Starting from terminal gives no useful output: jack@nostromo:~$ evolution (evolution:10223): Tracker-DEBUG: Tracker Evolution plugin enabled (evolution:10223): Tracker-DEBUG: Tracker plugin creating new object... Segmentation fault So I followed the Evolution bugs page and started evolution as: jack@nostromo:~$ CAMEL_DEBUG=all evolution >& evo.log I'd like to attach the log but it's quite full of personal information (as in, email addresses and my folder structure). Can I clean it up or does it interfere with the log? Also, funnily enough, if I start evolution through strace or gdb, it works just fine. I will paste the end of the log, when the software crashes: =========== DB SQL operation [SELECT * FROM folders WHERE folder_name = 'Inbox/jackmalmostoso@sunrise_ch'] started Camel SQL Exec: SELECT * FROM folders WHERE folder_name = 'Inbox/jackmalmostoso@sunrise_ch' read_fir_callback called DB Operation ended. Time Taken : 0.000329 ########### camel_db_select: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' order by dreceived =========== DB SQL operation [SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' order by dreceived] started Camel SQL Exec: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' order by dreceived DB Operation ended. Time Taken : 0.000782 ########### camel_db_select: SELECT vuid FROM '.#evolution/Junk' WHERE vuid LIKE 'bayAEm68%' =========== DB SQL operation [SELECT vuid FROM '.#evolution/Junk' WHERE vuid LIKE 'bayAEm68%'] started Camel SQL Exec: SELECT vuid FROM '.#evolution/Junk' WHERE vuid LIKE 'bayAEm68%' DB Operation ended. Time Taken : 0.000221 ########### sexp is : [(match-all (system-flag "Junk"))] Equivalent sql SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (junk = 1) camel_db_select: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (junk = 1) =========== DB SQL operation [SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (junk = 1)] started Camel SQL Exec: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (junk = 1) DB Operation ended. Time Taken : 0.000102 ########### =========== DB SQL operation [BEGIN] started Camel SQL Exec: BEGIN Camel SQL Exec: COMMIT DB Operation ended. Time Taken : 0.000056 ########### camel_db_select: SELECT vuid FROM '.#evolution/Trash' WHERE vuid LIKE 'bayAEm68%' =========== DB SQL operation [SELECT vuid FROM '.#evolution/Trash' WHERE vuid LIKE 'bayAEm68%'] started Camel SQL Exec: SELECT vuid FROM '.#evolution/Trash' WHERE vuid LIKE 'bayAEm68%' DB Operation ended. Time Taken : 0.000573 ########### sexp is : [(match-all (system-flag "Deleted"))] Equivalent sql SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (deleted = 1) camel_db_select: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (deleted = 1) =========== DB SQL operation [SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (deleted = 1)] started Camel SQL Exec: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE (deleted = 1) DB Operation ended. Time Taken : 0.000142 ########### =========== DB SQL operation [BEGIN] started Camel SQL Exec: BEGIN Camel SQL Exec: COMMIT DB Operation ended. Time Taken : 0.000069 ########### Thread 0xa0293c0 > Get folder info(0xa22c3e8:maildir:/home/jack/.local/share/evolution/mail/local, 'Templates') = full_name: Templates flags: 00000004 < 0xa0293c0 > sexp is : [(match-all (and (not (system-flag "deleted")) (not (system-flag "junk"))))] Equivalent sql SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE ( (NOT ((deleted = 1))) AND (NOT ((junk = 1))) ) camel_db_select: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE ( (NOT ((deleted = 1))) AND (NOT ((junk = 1))) ) =========== DB SQL operation [SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE ( (NOT ((deleted = 1))) AND (NOT ((junk = 1))) )] started Camel SQL Exec: SELECT uid FROM 'Inbox/jackmalmostoso@sunrise_ch' WHERE ( (NOT ((deleted = 1))) AND (NOT ((junk = 1))) ) DB Operation ended. Time Taken : 0.000521 ########### camel_db_select: SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox/jackmalmostoso@sunrise_ch' =========== DB SQL operation [SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox/jackmalmostoso@sunrise_ch' ] started Camel SQL Exec: SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox/jackmalmostoso@sunrise_ch' DB Operation ended. Time Taken : 0.002312 ########### Thread 0xa0293c0 > Get folder info(0xa22c3e8:maildir:/home/jack/.local/share/evolution/mail/local, 'Templates') = full_name: Templates flags: 00000004 < 0xa0293c0 > camel_db_select: SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox' =========== DB SQL operation [SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox' ] started Camel SQL Exec: SELECT uid, flags, size, dsent, dreceived, subject, mail_from, mail_to, mail_cc, mlist, part, labels, usertags, cinfo, bdata FROM 'Inbox' DB Operation ended. Time Taken : 0.002389 ########### The new email is in fact arriving through that email address. If no new mail is available on any server, Evolution does not crash. Sending email does also make Evolution crash. Thank you for any help and please let me know if you need the full log.
(In reply to comment #0) > (evolution:10223): Tracker-DEBUG: Tracker Evolution plugin enabled > (evolution:10223): Tracker-DEBUG: Tracker plugin creating new object... > Segmentation fault First debugging step is always remove Tracker's Evolution plugin. It causes many crashes mistakenly attributed to Evolution itself.
Thank you for your reply Matthew. I have disabled the Tracker plugin: jack@nostromo:~$ evolution Segmentation fault But the behaviour is still the same, segfault when mail is present. Please let me know what else I can do to help debug!
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. If you can reproduce it while running under gdb (see http://live.gnome.org/GettingTraces/Details#gdb-not-yet-running for details about how to do this), that might help getting a better trace if you've already got debug packages installed. Please install debuginfo packages of evolution-data-server, evolution, glib and gtk+
Created attachment 208146 [details] Trace of Evolution crash taken with gdb
Hello Akhil, attached please find the trace taken with gdb. I used the "trace with running program" method, because if I would start evolution from within gdb the crash does not occur. Thank you for your reply and let me know if you need more info!
Thanks for following up. As bizarre as this sounds, the stacks trace suggests this may some kind of NVIDIA graphics driver bug, as shown in Thread 15:
+ Trace 229704
Thread 15 (Thread 0xa8fa9b70 (LWP 3998))
If true, that's obviously way beyond Evolution's influence. All other threads are idle except Thread 1, but I see nothing suspicious about it. g_list_prepend(NULL, data) is a valid call.
Hello Matthew, thank you for your quick reply. Indeed it seems to be the Nvidia driver, precisely version 295.20. Evolution behaves normally with the Nouveau driver and with Nvidia driver version 290.10. I also noticed other weird Gnome bugs lately, and they are probably all related since they don't seem to appear with 290.10. Thank you again for your help, closing as RESOLVED - NOTABUG.
*** Bug 671881 has been marked as a duplicate of this bug. ***