GNOME Bugzilla – Bug 428173
evolution-2.10 crashed with SIGSEGV [on SmartMail]
Last modified: 2008-03-01 12:24:01 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/104780 "Binary package hint: evolution It crashed, whyen I tried to open INBOX IMAP folder. The server runs Smartmail and it seems that evolution has more than one problem with smartmail. sometimes, it stops receiving the messages, sometimes, it can't open folder with e-mail. ... Package: evolution 2.10.0-0ubuntu2 ... .
+ Trace 126513
Thread 1 (process 7137)
corresponding code line: " if (*inptr++ != ')') {", it doesn't like the inptr = 0x0
I can reproduce this crash as well using google gmail IMAP server on ubuntu gutsy. I don't have all of the dbg packages for camel installed, but the stack trace looks the same but with a little less information.
I used the evo source here: dget -x http://archive.ubuntu.com/ubuntu/pool/main/e/evolution-data-server/evolution-data-server_1.12.0-0ubuntu5.dsc Anyway, it seems the parser calls imap_skip_list expecting a list to be there, when in fact the string contains "\"MIXED\" )", imap_skip_list returns a NULL, damage done. (gdb) frame 0
+ Trace 184594
975 goto exception; 976 977 /* envelope */ 978 imap_skip_list (&inptr); 979 980 if (*inptr++ != ' ') 981 goto exception; 982 983 /* body */ 984 if (!(child = imap_body_decode (&inptr, NULL, folder, cis))) (gdb) info locals inptr = 0x0 child = <value optimized out> type = 0xa89e40 "7bit" subtype = 0xc57d90 "��G\001" id = 0x0 ctype = (CamelContentType *) 0xe91f00 description = 0x0 encoding = 0xa89e40 "7bit" len = 4 size = 110442 p = 0x147ed97 " 0) \"MIXED\")" (gdb) info args in = (const char **) 0x42803fc0 ci = (CamelMessageContentInfo *) 0xc51a90 folder = (CamelFolder *) 0xb0ff50 cis = (GPtrArray *) 0xb0cca0 (gdb) print *in $13 = 0x147ed3f "(\"MESSAGE\" \"RFC822\" (\"name\" \"Consignes .... Commun.eml\") NIL NIL \"7bit\" 110442 0) \"MIXED\")" (gdb) up 3 (gdb) print body $15 = 0x147ecf0 "((\"TEXT\" \"PLAIN\" (\"charset\" \"ISO-8859-1\" \"format\" \"flowed\") NIL NIL \"7bit\" 1 0)(\"MESSAGE\" \"RFC822\" (\"name\" \"Consignes .... Commun.eml\") NIL NIL \"7bit\" 110442 0) \"MIXED\")"
This has been fixed in bug #495086 and is included in evolution-data-server since 1.12.3. Can you check with this version, please?
in deed, duplicate of bug 495086. *** This bug has been marked as a duplicate of 495086 ***