GNOME Bugzilla – Bug 691350
[abrt] Crash in CalDAV when going offline
Last modified: 2015-11-04 16:43:41 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=892913 Version-Release number of selected component: evolution-data-server-3.4.4-4.fc17 Additional info: libreport version: 2.0.18 abrt_version: 2.0.18 backtrace_rating: 4 cmdline: /usr/libexec/evolution-calendar-factory crash_function: g_mutex_get_impl kernel: 3.6.10-2.fc17.x86_64 Core was generated by `/usr/libexec/evolution-calendar-factory'. Program terminated with signal 11, Segmentation fault.
+ Trace 231352
Thread 11 (Thread 0x7f1237a00800 (LWP 2563))
I see in the backtrace that the main thread is notifying about network change, going to offline, while the crashing thread is still sending a SoupMessage from CalDAV.
Dan, I'm not sure if I recall this correctly, but it is safe to SoupSessionSync functions from multiple threads in once, isn't it? I see that the CalDAV just calls soup_session_abort() when it gets offline, but it seems the SoupSession does something more, which can lead to this crash? I'm only guessing here, could you comment your opinion, please?
(In reply to comment #2) > Dan, I'm not sure if I recall this correctly, but it is safe to SoupSessionSync > functions from multiple threads in once, isn't it? It's definitely supposed to be, yes.
+ Trace 231373
so clearly there's some sort of refcounting issue going on here... is it possible this is related to the thing you mentioned fixing in bug 691399 comment 3?
(In reply to comment #4) > so clearly there's some sort of refcounting issue going on here... is it > possible this is related to the thing you mentioned fixing in bug 691399 > comment 3? I thought it's it, and I left there that commit, but I got the crash too, even with the ref on the backend, thus it seems like my consumption was wrong about the reference.
Similar downstream bug report from 3.8.2: https://bugzilla.redhat.com/show_bug.cgi?id=968321 Core was generated by `/usr/libexec/evolution-calendar-factory'. Program terminated with signal 11, Segmentation fault.
+ Trace 232004
Thread 17 (Thread 0x7f0e07421840 (LWP 1919))
Thread 16 (Thread 0x7f0dd9ffb700 (LWP 2031))
Thread 3 (Thread 0x7f0dcb7fe700 (LWP 2022))
Also occurring in evolution-data-server 3.10.2-2.fc20 (abrt matched downstream bug report). https://retrace.fedoraproject.org/faf/reports/191233/
I'm updating the version accordingly. I'm still unsure what can cause this, or at least do not see it in the code.
This didn't receive any duplicates for a long time. Let's assume that 3.18.x (current stable series) behaves better.