GNOME Bugzilla – Bug 330215
Exchange storage crashes ahen I try to open any exchnage account folder
Last modified: 2006-02-13 12:23:20 UTC
Steps to reproduce: 1. Start Evolution-exchange-Storage , eds and evolution as separate processes , in order. 2. Try accessing an exchange account folder , say inbox Stack trace: Backtrace was generated from '/opt/gnome/libexec/evolution-exchange-storage' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1100151520 (LWP 18008)] [New Thread 1101728688 (LWP 18009)] [Thread debugging using libthread_db enabled] [New Thread 1100151520 (LWP 18008)] [New Thread 1101728688 (LWP 18009)] [Thread debugging using libthread_db enabled] [New Thread 1100151520 (LWP 18008)] [New Thread 1101728688 (LWP 18009)] 0xffffe410 in ?? ()
+ Trace 65968
Thread 1 (Thread 1100151520 (LWP 18008))
Other information:
(gdb) p *cal_comp->priv->summary->prop->value $19 = {kind = ICAL_TEXT_VALUE, id = "val\000\uffff", size = 0, parent = 0x0, x_value = 0x0, data = {v_attach = 0x8274738, v_string = 0x8274738 "Linux* is about more than an operating system. I", v_float = 5.03384517e-34, v_int = 136791864, v_duration = {is_neg = 136791864, days = 0, weeks = 0, hours = 0, minutes = 0, seconds = 0}, v_period = {start = { year = 136791864, month = 0, day = 0, hour = 0, minute = 0, second = 0, is_utc = 0, is_date = 0, is_daylight = 0, zone = 0x0}, end = {year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0, is_utc = 0, is_date = 0, is_daylight = 0, zone = 0x0}, duration = {is_neg = 0, days = 0, weeks = 0, hours = 0, minutes = 0, seconds = 0}}, v_geo = {lat = 5.03384517e-34, lon = 0}, v_time = {year = 136791864, month = 0, day = 0, hour = 0, minute = 0, second = 0, is_utc = 0, is_date = 0, is_daylight = 0, zone = 0x0}, v_requeststatus = {code = 136791864, desc = 0x0, debug = 0x0}, v_recur = 0x8274738, v_trigger = {time = {year = 136791864, month = 0, day = 0, hour = 0, minute = 0, second = 0, is_utc = 0, is_date = 0, is_daylight = 0, zone = 0x0}, duration = {is_neg = 0, days = 0, weeks = 0, hours = 0, minutes = 0, seconds = 0}}, v_enum = 136791864}}
valgrind output ==18184== Thread 1: ==18184== Invalid read of size 1 ==18184== at 0x401D53F: strcpy (mac_replace_strmem.c:269) ==18184== by 0x40CDF81: icalrecurrencetype_as_string (icalrecur.c:586) ==18184== by 0x40D83C7: icalvalue_recur_as_ical_string (icalvalue.c:718) ==18184== by 0x40D8E81: icalvalue_as_ical_string (icalvalue.c:1018) ==18184== by 0x40CC3B9: icalproperty_as_ical_string (icalproperty.c:495) ==18184== by 0x40C39A4: icalcomponent_as_ical_string (icalcomponent.c:322) ==18184== by 0x40C3A0F: icalcomponent_as_ical_string (icalcomponent.c:334) ==18184== by 0x8075825: timeout_save_cache (e-cal-backend-exchange.c:261) ==18184== by 0x57AAAE3: g_timeout_dispatch (gmain.c:3257) ==18184== by 0x57A8EC3: g_main_context_dispatch (gmain.c:1913) ==18184== by 0x57AC04B: g_main_context_iterate (gmain.c:2544) ==18184== by 0x57AC337: g_main_loop_run (gmain.c:2748) ==18184== Address 0x0 is not stack'd, malloc'd or (recently) free'd
Created attachment 59243 [details] [review] fixes the bug
patch committed to CVS head.