[Freeassociation-devel] Trunk seems unstable
Allen Winter
winter at kde.org
Sun Oct 19 07:35:38 PDT 2008
Ok, here's a valgrind report that might help.
Seems the crash happens when saving a calendar.
==7134== Invalid write of size 1
==7134== at 0x400700E: strcat (mc_replace_strmem.c:186)
==7134== by 0x56465D9: print_date_to_string (icalvalue.c:968)
==7134== by 0x5646C45: icalvalue_as_ical_string_r (icalvalue.c:981)
==7134== by 0x563977B: icalproperty_as_ical_string_r (icalproperty.c:501)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
==7134== Address 0x9170589 is 0 bytes after a block of size 9 alloc'd
==7134== at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==7134== by 0x5635E54: icalmemory_new_buffer (icalmemory.c:266)
==7134== by 0x5646C31: icalvalue_as_ical_string_r (icalvalue.c:978)
==7134== by 0x563977B: icalproperty_as_ical_string_r (icalproperty.c:501)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
==7134==
==7134== Invalid read of size 1
==7134== at 0x4007203: strlen (mc_replace_strmem.c:242)
==7134== by 0x5635CFE: icalmemory_append_string (icalmemory.c:314)
==7134== by 0x56397A2: icalproperty_as_ical_string_r (icalproperty.c:503)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
==7134== by 0x571BAC9: KCal::ResourceCached::doSave(bool, KCal::Incidence*) (resourcecached.cpp:509)
==7134== Address 0x9170589 is 0 bytes after a block of size 9 alloc'd
==7134== at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==7134== by 0x5635E54: icalmemory_new_buffer (icalmemory.c:266)
==7134== by 0x5646C31: icalvalue_as_ical_string_r (icalvalue.c:978)
==7134== by 0x563977B: icalproperty_as_ical_string_r (icalproperty.c:501)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
==7134==
==7134== Invalid read of size 1
==7134== at 0x400727D: strcpy (mc_replace_strmem.c:268)
==7134== by 0x5635D21: icalmemory_append_string (icalmemory.c:331)
==7134== by 0x56397A2: icalproperty_as_ical_string_r (icalproperty.c:503)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
==7134== by 0x571BAC9: KCal::ResourceCached::doSave(bool, KCal::Incidence*) (resourcecached.cpp:509)
==7134== Address 0x9170589 is 0 bytes after a block of size 9 alloc'd
==7134== at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==7134== by 0x5635E54: icalmemory_new_buffer (icalmemory.c:266)
==7134== by 0x5646C31: icalvalue_as_ical_string_r (icalvalue.c:978)
==7134== by 0x563977B: icalproperty_as_ical_string_r (icalproperty.c:501)
==7134== by 0x5634677: icalcomponent_as_ical_string_r (icalcomponent.c:342)
==7134== by 0x56346D7: icalcomponent_as_ical_string_r (icalcomponent.c:355)
==7134== by 0x5634961: icalcomponent_as_ical_string (icalcomponent.c:292)
==7134== by 0x56EBF08: KCal::ICalFormat::toString(KCal::Calendar*) (icalformat.cpp:276)
==7134== by 0x56EC70C: KCal::ICalFormat::save(KCal::Calendar*, QString const&) (icalformat.cpp:116)
==7134== by 0x57131A2: KCal::FileStorage::save() (filestorage.cpp:155)
==7134== by 0x56DB820: KCal::CalendarLocal::save(QString const&, KCal::CalFormat*) (calendarlocal.cpp:156)
==7134== by 0x57171FC: KCal::ResourceLocal::doSave(bool) (resourcelocal.cpp:169)
More information about the libical-devel
mailing list