After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323990 - Evolution locks up trying to accept a calendar event
Evolution locks up trying to accept a calendar event
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.4.x
Other Linux
: Normal normal
: 2.5
Assigned To: Chenthill P
Evolution QA team
: 324583 (view as bug list)
Depends on:
Blocks: 327514
 
 
Reported: 2005-12-13 15:32 UTC by Ryan P Skadberg
Modified: 2006-03-06 15:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
EDS Backtrace of Locked up Evo (86.20 KB, text/plain)
2005-12-13 15:33 UTC, Ryan P Skadberg
  Details
Evolution Backtrace of locked of Evo (36.00 KB, text/plain)
2005-12-13 15:34 UTC, Ryan P Skadberg
  Details
Connector Backtrace of locked up Evolution (20.38 KB, text/plain)
2005-12-13 15:35 UTC, Ryan P Skadberg
  Details
Patch to not to crash. (765 bytes, patch)
2006-02-27 08:12 UTC, Sushma Rai
needs-work Details | Review
patch - checks for null ical prop (1.13 KB, patch)
2006-03-06 14:53 UTC, Sushma Rai
none Details | Review
Added check for NULL icalprop. (741 bytes, patch)
2006-03-06 15:11 UTC, Sushma Rai
committed Details | Review

Description Ryan P Skadberg 2005-12-13 15:32:59 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.
Comment 1 Ryan P Skadberg 2005-12-13 15:33:34 UTC
Created attachment 55946 [details]
EDS Backtrace of Locked up Evo
Comment 2 Ryan P Skadberg 2005-12-13 15:34:37 UTC
Created attachment 55947 [details]
Evolution Backtrace of locked of Evo
Comment 3 Ryan P Skadberg 2005-12-13 15:35:18 UTC
Created attachment 55948 [details]
Connector Backtrace of locked up Evolution
Comment 4 Poornima 2005-12-14 11:50:44 UTC
Exchange connector has crashed while accepting meeting. Changing component to
'Connector'. 
Comment 5 Poornima 2005-12-20 09:17:29 UTC
*** Bug 324583 has been marked as a duplicate of this bug. ***
Comment 6 Poornima 2005-12-20 09:19:59 UTC
Reproducible always if meeting attached in bug 324500 is imported
Comment 7 Ryan P Skadberg 2006-01-13 20:17:25 UTC
I saw this again with 2.5.4.  It's a lockup, not a crash for me.
Comment 8 Sushma Rai 2006-02-27 07:53:38 UTC
Got the same crash in 2.5.91, trying to accept an appointment.

gdb traces:

Thread 2 (Thread 1112394672 (LWP 7434))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 786
  • #6 <signal handler called>
  • #7 icalparameter_get_partstat
    at icalderivedparameter.c line 1339
  • #8 check_owner_partstatus_for_declined
    at e-cal-backend-exchange-calendar.c line 624
  • #9 receive_objects
    at e-cal-backend-exchange-calendar.c line 1451
  • #10 e_cal_backend_sync_receive_objects
    at e-cal-backend-sync.c line 344
  • #11 _e_cal_backend_receive_objects
    at e-cal-backend-sync.c line 759
  • #12 e_cal_backend_receive_objects
    at e-cal-backend.c line 956
  • #13 impl_Cal_receiveObjects
  • #8 check_owner_partstatus_for_declined
    at e-cal-backend-exchange-calendar.c line 624
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"
Comment 9 Sushma Rai 2006-02-27 08:12:14 UTC
Created attachment 60213 [details] [review]
Patch to not to crash.
Comment 10 Chenthill P 2006-03-06 14:39:32 UTC
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.
Comment 11 Sushma Rai 2006-03-06 14:53:49 UTC
Created attachment 60757 [details] [review]
patch - checks for null ical prop
Comment 12 Sushma Rai 2006-03-06 15:11:53 UTC
Created attachment 60762 [details] [review]
Added check for NULL icalprop.
Comment 13 Sushma Rai 2006-03-06 15:18:53 UTC
committed to cvs head.