GNOME Bugzilla – Bug 688926
SIGABRT on call_old_file_Sync
Last modified: 2014-12-05 11:11:44 UTC
Created attachment 229712 [details] [review] Patch that fix this issue [Thread 0x7fff42ffb700 (LWP 8282) exited] evolution: sqlite3.c:26153: unixSync: Assertion `(flags&0x0F)==0x00002 || (flags&0x0F)==0x00003' failed. Program received signal SIGABRT, Aborted.
+ Trace 231216
Thread 140735500883712 (LWP 8277)
camel-db.c initialize with 0 flag instead of a valid sqlite flag.
Thanks for a bug report and patch. As we spoke on IRC, the issue is that camel_sqlite3_file_xClose() calls sync_push_request() even when there is not scheduled any xSync call, thus cFile->flags is 0. The fix would be to to have sync_push_request() being no-op for case when cFile->flags is NULL.
Created attachment 229722 [details] [review] evolution-sqlite-sync.patch New patch without override of cFlie->flags.
Thanks, that's basically it. I'll add the line below the rec_mutex, it's there to make sure the cFile->flags is not changed unexpectedly, and then commit it.
Created commit 14f262d in eds master (3.7.3+) Created commit db3dac4 in eds gnome-3-6 (3.6.3+)
*** Bug 686215 has been marked as a duplicate of this bug. ***