GNOME Bugzilla – Bug 752144
Crash in invalid_closure_notify()
Last modified: 2018-05-24 17:56:05 UTC
Created attachment 307109 [details] (gdb) t a a bt f Using Debian Sid/unstable with Evolution-Data-Server 3.16.3 (3.16.3-1+b1), during every run `evolution-calendar-factory-subprocess` terminates with a segmentation fault. evolution-calen[8161]: segfault at 18 ip b73ad4e9 sp aabfcff0 error 4 in libgobject-2.0.so.0.4400.1[b738f000+5c000] When Evolution is started (in offline mode), I am getting some errors, that some calendars cannot be contacted. (And yes, they do not exist anymore, but I haven’t deleted them.) Here is the backtrace.
+ Trace 235245
Thanks for a bug report. Thread 11 is in the end of the signal handlers destroy for an object (0xb30c1bc0) on which Thread 1 calls invalid_closure_notify(). It's done during the signal locking, as expected, just the invalid_closure_notify() doesn't count with such thread interleaving. According to the backtrace, your glib is 2.44.1. From the evolution-data-server side, this crash caused an abort of the factory calendar subprocess, which took care of all the CalDAV calendars, thus these cannot be opened in the Evolution (they might be one by one, but once you choose the one which failed to open it can cause the crash again). I suppose it's one of the CalDAV calendars which is set for Reminders (Edit->Preferences->Calendars and Tasks->Reminders tab) and/or selected in the UI. The backtrce doesn't show what exactly failed during the calendar open, maybe an SSL certificate had been changed and the confirmation to trust it is requested.
*** Bug 763646 has been marked as a duplicate of this bug. ***
Downstream bug report about the same from evolution-data-server 3.20.5-3: https://bugzilla.redhat.com/show_bug.cgi?id=1376583 A reproducer would be very valuable, though if it's a use-after-free, then it'll be pretty hard to get it. Thread no. 1 (8 frames) #1 closure_invoke_notifiers at gclosure.c:274 #2 g_closure_invalidate at gclosure.c:583 #3 e_soup_ssl_trust_message_finalized_cb at e-soup-ssl-trust.c:118 #4 weak_refs_notify at gobject.c:2636 #6 caldav_server_list_objects at e-cal-backend-caldav.c:1681 #7 caldav_synchronize_cache at e-cal-backend-caldav.c:2287 #8 caldav_synch_slave_loop at e-cal-backend-caldav.c:2602 #9 g_thread_proxy at gthread.c:780
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1056.