[Bug 339169] Re: evolution crashed with SIGSEGV in strtoul() due to NULL flags column in folders.db
Bug Watch Updater
339169 at bugs.launchpad.net
Thu Sep 16 06:23:58 BST 2010
** Changed in: evolution
Importance: Unknown => Critical
--
evolution crashed with SIGSEGV in strtoul() due to NULL flags column in folders.db
https://bugs.launchpad.net/bugs/339169
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in The Evolution Mail & Calendaring Tool: In Progress
Status in “evolution” package in Ubuntu: Triaged
Bug description:
Symptoms
=======
Evolution segfaults when opening a folder, with
#1 0x00007ffff48771ab in read_uids_flags_callback at camel-db.c:892
#2 0x00007ffff462ab57 in sqlite3_exec () from /usr/lib/libsqlite3.so.0
in the backtrace
This may occur at startup if INBOX has the problem.
StacktraceTop:
?? () from /lib/tls/i686/cmov/libc.so.6
strtoul () from /lib/tls/i686/cmov/libc.so.6
?? () from /usr/lib/libcamel-1.2.so.14
sqlite3_exec () from /usr/lib/libsqlite3.so.0
camel_db_select () from /usr/lib/libcamel-1.2.so.14
Title: evolution crashed with SIGSEGV in strtoul()
Cause
=====
libcamel doesn't handle NULL flags fields in record summaries, but inserts them while pulling down new messages, so a power failure after learning about a message but before setting the flags corrupts that mail summary.
Workarounds
==========
* Remove folders.db to make it be recreated.
* Remove rows from the faulty table which have flags set to NULL (note NULL, not 0 - 0 is fine)
* Apply the patch from upstream.
More information about the Ubuntu-sponsors
mailing list