[Kde-pim] crashes with libical 0.41

thorsten at staerk.de thorsten at staerk.de
Fri Nov 21 07:34:21 GMT 2008


> On Sunday 16 November 2008 2:40:40 pm thorsten at staerk.de wrote:
>> Hello List,
>>
>> using libical 0.41, ktimetracker not even starts without instantly
>> crashing. So I wrote the following test case:
>> http://techbase.kde.org/Development/Tutorials/PIM/ical. The test case
>> crashes as well (it did NOT with the old libical).
>>
>> Here is the iCal file I used:
>> BEGIN:VCALENDAR
>> PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN
>> VERSION:2.0
>> BEGIN:VTODO
>> DTSTAMP:20081116T121801Z
>> ORGANIZER;CN=dummy:MAILTO:
>> X-KDE-ktimetracker-totalSessionTime:0
>> X-KDE-ktimetracker-totalTaskTime:0
>> CREATED:20081116T121753Z
>> UID:libkcal-509883466.194
>> LAST-MODIFIED:20081116T121801Z
>> SUMMARY:a
>> PERCENT-COMPLETE:0
>> END:VTODO
>>
>> END:VCALENDAR
>>
>> My question is now, is this ical file illegal or do we need to fix the
>> crash inside of kcal?
>>
> Backtrace?

krop contacted me on irc, he sees the same backtrace. It is:

Application: myName (kde4start), signal SIGABRT

Thread 1 (Thread 0xb58338e0 (LWP 13801)):
[KCrash Handler]
#6  0xffffe422 in __kernel_vsyscall ()
#7  0xb6843900 in raise () from /lib/libc.so.6
#8  0xb6845238 in abort () from /lib/libc.so.6
#9  0xb683c70e in __assert_fail () from /lib/libc.so.6
#10 0xb5b8f017 in icalerror_set_errno () from /usr/lib/libical.so.0
#11 0xb5b9b65d in ?? () from /usr/lib/libical.so.0
#12 0xb5b9b6f9 in icaltimezone_get_utc_timezone () from /usr/lib/libical.so.0
#13 0xb5b986f2 in icaltime_from_string () from /usr/lib/libical.so.0
#14 0xb5b9ea68 in icalvalue_new_from_string_with_error () from
/usr/lib/libical.so.0
#15 0xb5b9f26c in icalvalue_new_from_string () from /usr/lib/libical.so.0
#16 0xb5b913c7 in icalparser_add_line () from /usr/lib/libical.so.0
#17 0xb5b91984 in icalparser_parse () from /usr/lib/libical.so.0
#18 0xb5b91c52 in icalparser_parse_string () from /usr/lib/libical.so.0
#19 0xb5b8e92d in icalcomponent_new_from_string () from /usr/lib/libical.so.0
#20 0xb67af74a in KCal::ICalFormat::fromRawString (this=0xbfc1ec74,
cal=0x80e3da8, string=@0xbfc1ebd0) at
/root/kdepimlibs/kcal/icalformat.cpp:158
#21 0xb67b01ef in KCal::ICalFormat::load (this=0xbfc1ec74,
calendar=0x80e3da8, fileName=@0x80fc8e8) at
/root/kdepimlibs/kcal/icalformat.cpp:106
#22 0xb67d613a in KCal::FileStorage::load (this=0xbfc1ecd4) at
/root/kdepimlibs/kcal/filestorage.cpp:119
#23 0xb679f141 in KCal::CalendarLocal::load (this=0x80e3da8,
fileName=@0xbfc1ed34, format=0x0) at
/root/kdepimlibs/kcal/calendarlocal.cpp:123
#24 0xb67da19a in KCal::ResourceLocal::doLoad (this=0x80e3d08,
syncCache=true) at /root/kdepimlibs/kcal/resourcelocal.cpp:157
#25 0xb67e1027 in KCal::ResourceCached::load (this=0x80e3d08,
action=KCal::ResourceCached::SyncCache) at
/root/kdepimlibs/kcal/resourcecached.cpp:409
#26 0xb67e12e9 in KCal::ResourceCached::load (this=0x80e3d08) at
/root/kdepimlibs/kcal/resourcecached.cpp:437
#27 0x08048d14 in main (argc=1, argv=0xbfc1ef04) at
/root/icaltest/main.cpp:27

See also bug 175287.

thanks

Thorsten


_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list