GNOME Bugzilla – Bug 323990
Evolution locks up trying to accept a calendar event
Last modified: 2006-03-06 15:18:53 UTC
Version details: 2.5.2 Distribution/Version: Fedora Rawhide Got an invite to a meeting, tried to accept it to an Exchange calendar and it locked up evo. Attached are backtraces from Evolution, EDS and Connector.
Created attachment 55946 [details] EDS Backtrace of Locked up Evo
Created attachment 55947 [details] Evolution Backtrace of locked of Evo
Created attachment 55948 [details] Connector Backtrace of locked up Evolution
Exchange connector has crashed while accepting meeting. Changing component to 'Connector'.
*** Bug 324583 has been marked as a duplicate of this bug. ***
Reproducible always if meeting attached in bug 324500 is imported
I saw this again with 2.5.4. It's a lockup, not a crash for me.
Got the same crash in 2.5.91, trying to accept an appointment. gdb traces:
+ Trace 66549
Thread 2 (Thread 1112394672 (LWP 7434))
619 icalprop = find_attendee_prop (icalcomp, email); 620 g_free (email); 621 622 param = icalproperty_get_first_parameter (icalprop, ICAL_PARTSTAT_PARAMETER); 623 624 if (icalparameter_get_partstat (param) == ICAL_PARTSTAT_DECLINED) { 625 return TRUE; 626 } 627 return FALSE; 628 } (gdb) p param $1 = (icalparameter *) 0x0 (gdb) p icalprop $2 = (icalproperty *) 0x0 (gdb) p email $3 = (gchar *) 0x8281710 "164.99.168.248" (gdb) p icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY) $4 = (icalproperty *) 0x8d4d708 (gdb) p *icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY) $5 = {id = "prop", kind = ICAL_ATTENDEE_PROPERTY, x_name = 0x0, parameters = 0x8382a78, parameter_iterator = 0x0, value = 0x8d15fb8, parent = 0x85f68b0} (gdb) p icalproperty_get_value (icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY)) $6 = (icalvalue *) 0x8d15fb8 (gdb) p (char *)icalproperty_get_value (icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY)) $7 = 0x8d15fb8 "\237\023"
Created attachment 60213 [details] [review] Patch to not to crash.
Adding a NULL check for the icalprop would be fine. This happens since exchange email id is not present as part of the attendee list. Please make this change and commit after testing.
Created attachment 60757 [details] [review] patch - checks for null ical prop
Created attachment 60762 [details] [review] Added check for NULL icalprop.
committed to cvs head.