GNOME Bugzilla – Bug 590707
Initialize DBus threading on start
Last modified: 2013-09-13 01:04:59 UTC
Evolution 2.27.5 It crashes every time. ** ERROR **: Out of memory aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 0xb2ccab90 (LWP 25686)] 0xffffe430 in __kernel_vsyscall () (gdb) t a a bt
+ Trace 216778
Thread 1 (Thread 0xb5ffe760 (LWP 25445))
(gdb)
It's with dbus-hybrid branch.
I guess e-address-factory also crashed at the same time. (process:26602): libebookbackend-WARNING **: libdb error: Database handles open during environment close (process:26602): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `EBookBackend' (process:26602): libedata-book-CRITICAL **: e_book_backend_remove_client: assertion `E_IS_BOOK_BACKEND (backend)' failed e_book_backend_groupwise_dispose... Program received signal SIGSEGV, Segmentation fault. 0xb7fad31d in __memp_fsync_eds (dbmfp=0x8070638) at ../mp/mp_sync.c:103 103 dbenv = dbmp->dbenv; (gdb) t a a bt
+ Trace 216779
Thread 1 (Thread 0xb7148730 (LWP 26602))
request_name_ret = 1 offline_listener = (OfflineListener *) 0x8054500 (gdb)
Evolution seems to crash with same traces when i try to open a birthday calendar entry.
Created attachment 141935 [details] [review] proposed eds patch for evolution-data-server; This seems to do the trick for me. I got very similar crash as in the initial back trace when running evolution for the first time, like: a) evolution --force-shutdown b) one console: run eds c) other console: run evo when doing the c) the eds crashed. Visible when running online in calendar, with Birthdays & Anniversaries calendar enabled. Other eds instance had been started after the previous crash. I tried the very similar steps ten times in a row and no crash so far with the patch. With respect of group wise, no idea here, please try. I guess when also calendar will use dbus the function will be covered in some utility function, which will ensure only once the init will be called in the given address space. But let's see.
Unfortunately crashing evolution I didn't see at all.
I can create appointments/meetings on google regardless the patch applied or not. :(
Ross, can you confirm the patch in comment #4, please?
Created attachment 142336 [details] [review] proposed evo patch for evolution; as spoken with robster, doing it on evo side, not in eds. I had a little hard time to test this patch, whether it really works. I'll try on the other machine some time soon and report back.
Comment on attachment 142336 [details] [review] proposed evo patch Please commit the patch and close the bug if u find that the crash is fixed after testing.
There was a good reason to not do that in libebook/libecal, but I can't recall what it was... Yes, the patch in #8 should be committed.
Err, I cannot reproduce a crash mentioned in comment #4, no idea why, but I cannot. I'll commit the patch from comment #8 tomorrow. Thanks Ross and Robster.
Created commit 3f00bdb in evo master (2.29.1+) Closing this, as neiother I not Akhil can reproduce the bug. Feel free to reopen or something when you'll find how to reproduce it. Thanks.