GNOME Bugzilla – Bug 664174
[abrt] Crash in add_item_to_cache()
Last modified: 2013-11-22 11:18:09 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=754080 libreport version: 2.0.6 abrt_version: 2.0.4.981 backtrace_rating: 4 cmdline: /usr/libexec/e-calendar-factory comment: Logged in to system and got error message. crash_function: ____strtol_l_internal executable: /usr/libexec/e-calendar-factory kernel: 3.1.1-1.fc16.x86_64 reason: Process /usr/libexec/e-calendar-factory was killed by signal 11 (SIGSEGV) time: Tue Nov 15 15:11:11 2011 Core was generated by `/usr/libexec/e-calendar-factory'. Program terminated with signal 11, Segmentation fault.
+ Trace 229072
Thread 2 (Thread 0x7f0e3ba82700 (LWP 1979))
Similar crash from 3.4.1: https://bugzilla.redhat.com/show_bug.cgi?id=830186
+ Trace 230340
Thread 1 (Thread 0x7f378e9d7800 (LWP 1845))
It'll be good to get actual data returned from the server, to see what was evolution-ews parsing and why it failed. You can achieve that by running evolution-calendar-factory by this command from the terminal: $ EWS_DEBUG=2 /usr/libexec/evolution-calendar-factory -w &>log.txt Please make sure there is not other factory running already, same as no evolution.
I'm closing this, no response given, no duplicates since 3.4.x found, thus let's try with 3.8.x or later.
Reopening, due to a downstream bug report from 3.8.5: https://bugzilla.redhat.com/show_bug.cgi?id=1032907 The crash happens on a line 3367, when parsing a Task: 3366 /*precent complete*/ 3367 icalprop = icalproperty_new_percentcomplete (atoi (e_ews_item_get_percent_complete (item))); 3368 icalcomponent_add_property (icalcomp, icalprop);
+ Trace 232813
Thread 1 (Thread 0x7fc46e7fc700 (LWP 24034))
Created attachment 261225 [details] [review] ews patch for evolution-ews; I cannot reproduce this, but as the last backtrace gave a clear place, and the fix is basically straightforward, then I'm committing this change, which prevents the crash if the PercentComplete property is not available on a Task item. If I would guess, then probably some other client (maybe evo-mapi) didn't set the PercentComplete property at all, thus it was not available in the EWS XML response. But that's just a guess.
Created commit 0d4634b in ews master (3.11.3+) Created commit efd07d8 in ews gnome-3-10 (3.10.3+)