GNOME Bugzilla – Bug 502847
crash in in camel_object_bag_reserve at camel-object.c:2228
Last modified: 2008-01-24 12:17:21 UTC
What were you doing when the application crashed? crash on startup. Distribution: Debian lenny/sid Gnome Release: 2.20.2 2007-11-29 (Debian) BugBuddy Version: 2.20.1 System: Linux 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Tango Memory status: size: 177758208 vsize: 177758208 resident: 39706624 share: 18083840 rss: 39706624 rss_rlim: 4294967295 CPU usage: start_time: 1197295537 rtime: 227 utime: 194 stime: 33 cutime:2 cstime: 5 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/evolution' Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb6932af0 (LWP 16687)] [New Thread 0xafffcb90 (LWP 16776)] [New Thread 0xaf7fbb90 (LWP 16739)] [New Thread 0xb1971b90 (LWP 16716)] [New Thread 0xb23fcb90 (LWP 16714)] [New Thread 0xb2bfdb90 (LWP 16712)] [New Thread 0xb33feb90 (LWP 16711)] [New Thread 0xb3bffb90 (LWP 16710)] [New Thread 0xb4597b90 (LWP 16709)] [New Thread 0xb4d98b90 (LWP 16708)] [New Thread 0xb5599b90 (LWP 16707)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 181438
Thread 10 (Thread 0xb4d98b90 (LWP 16708))
----------- .xsession-errors (8 sec old) --------------------- (evolution:16687): calendar-gui-CRITICAL **: e_day_view_add_event: assertion `end > add_event_data->day_view->lower' failed (evolution:16687): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed (evolution:16687): calendar-gui-CRITICAL **: e_day_view_add_event: assertion `end > add_event_data->day_view->lower' failed (evolution:16687): calendar-gui-CRITICAL **: e_day_view_add_event: assertion `end > add_event_data->day_view->lower' failed (evolution:16687): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed (evolution:16687): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed camel-ERROR **: file camel-object.c: line 2228 (camel_object_bag_reserve): assertion failed: (!res->have_owner || !pthread_equal(res->owner, pthread_self())) aborting... Xlib: sequence lost (0x10fef > 0xfef) in reply type 0x1! --------------------------------------------------
I have noticed that some debugging symbols are missing, notably from libcairo. Since Debian does not have libcairo-dbg, there is nothing I can do about this.
That's alright, I don't think this bug is Cairo-related.
In camel_store_get_folder(): if (store->folders) { /* Try cache first. */ folder = camel_object_bag_reserve(store->folders, folder_name); if (folder && (flags & CAMEL_STORE_FOLDER_EXCL)) { camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot create folder `%s': folder exists), folder_name); camel_object_unref (folder); return NULL; } } Don't we need to call camel_object_bag_abort(store->folders, folder_name) before returning?
Created attachment 103487 [details] [review] Proposed patch I'm not sure if this is directly related to the crash, but it seems like an oversight.
I think you are right Matt.
Committed to trunk (revision #8416). Closing this for now. Reopen if you see this crash again.