GNOME Bugzilla – Bug 732607
[abrt] Crash in imapx_job_fetch_new_messages_start()
Last modified: 2014-07-02 17:28:25 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1115173 Description of problem: I finished reading some email. I used Alt-F T to invoke "Empty Trash", then I left the workspace. About 15-30 seconds later, I get notification that Evolution had crashed. Version-Release number of selected component: evolution-3.10.4-2.fc20 Additional info: reporter: libreport-2.2.2 backtrace_rating: 4 cmdline: evolution crash_function: ____strtoul_l_internal executable: /usr/bin/evolution kernel: 3.14.8-200.fc20.x86_64 5482 if (total > 0) { 5483 guint64 uidl; 5484 uid = camel_imapx_dup_uid_from_summary_index (folder, total - 1); 5485 uidl = strtoull (uid, NULL, 10); 5486 g_free (uid); 5487 uid = g_strdup_printf ("%" G_GUINT64_FORMAT, uidl + 1); 5488 } else
+ Trace 233753
Thread 2 (Thread 0x7fcf36ffd700 (LWP 32102))
Thread 1 (Thread 0x7fcf3d383700 (LWP 30520))
Thread 9 is flushing summary of the same folder as the crashing Thread 1, which might be the cause of the returned wrong UID in Thread 1.
I addressed the crash by adding folder's summary locking for particular operations and by adding safety checks on returned values, thus the crash will not happen again. Created commit 20533b4 in eds master (3.13.4+) [1] Created commit 4581a32 in eds evolution-data-server-3-12 (3.12.4+) [1] https://git.gnome.org/browse/evolution-data-server/commit/?id=20533b4