Bug 194542

Summary: Korganizer crash when added an event
Product: [Applications] kdepimlibs Reporter: wampyr.web
Component: kcalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: wampyr.web, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a std.ics

Description wampyr.web 2009-05-29 14:38:09 UTC
Application that crashed: korgac
Version of the application: 0.9
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686

What I was doing when the application crashed:
Every time, when I create an event, korganizer has crashed and when I try restart it, it crashed too. Korganizer start normaly only on clear settings.

 -- Backtrace:
Application: KOrganizer Reminder Daemon (korgac), signal: Segmentation fault
[KCrash Handler]
#6  0xb683e2d3 in strlen () from /lib/libc.so.6
#7  0xb6312ad6 in icaltimezone_parse_zone_tab () from /usr/lib/libical.so.0
#8  0xb6312f19 in icaltimezone_get_utc_timezone () from /usr/lib/libical.so.0
#9  0xb630ec85 in icaltime_from_string () from /usr/lib/libical.so.0
#10 0xb63169da in icalvalue_new_from_string_with_error () from /usr/lib/libical.so.0
#11 0xb63172bc in icalvalue_new_from_string () from /usr/lib/libical.so.0
#12 0xb6307184 in icalparser_add_line () from /usr/lib/libical.so.0
#13 0xb6307804 in icalparser_parse () from /usr/lib/libical.so.0
#14 0xb63079e2 in icalparser_parse_string () from /usr/lib/libical.so.0
#15 0xb630458d in icalcomponent_new_from_string () from /usr/lib/libical.so.0
#16 0xb7b19eda in KCal::ICalFormat::fromRawString () from /usr/lib/libkcal.so.4
#17 0xb7b183ac in KCal::ICalFormat::load () from /usr/lib/libkcal.so.4
#18 0xb7b4da14 in KCal::FileStorage::load () from /usr/lib/libkcal.so.4
#19 0xb7b04bb1 in KCal::CalendarLocal::load () from /usr/lib/libkcal.so.4
#20 0xb7b53dd1 in KCal::ResourceLocal::doReload () from /usr/lib/libkcal.so.4
#21 0xb7b51fe5 in KCal::ResourceLocal::reload () from /usr/lib/libkcal.so.4
#22 0xb7b52145 in KCal::ResourceLocal::qt_metacall () from /usr/lib/libkcal.so.4
#23 0xb6be1831 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb6be24a2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb64453e3 in KDirWatch::created () from /usr/lib/libkio.so.5
#26 0xb6445e85 in KDirWatch::setCreated () from /usr/lib/libkio.so.5
#27 0xb644641c in KDirWatchPrivate::emitEvent () from /usr/lib/libkio.so.5
#28 0xb644c6f2 in KDirWatchPrivate::slotRescan () from /usr/lib/libkio.so.5
#29 0xb644da5b in KDirWatchPrivate::qt_metacall () from /usr/lib/libkio.so.5
#30 0xb6be1831 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6be24a2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6c1c507 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#33 0xb6be6f8e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#34 0xb6bdb79f in QObject::event () from /usr/lib/libQtCore.so.4
#35 0xb70c56ac in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#36 0xb70cce44 in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb7dc094a in KApplication::notify () from /usr/lib/libkdeui.so.5
#38 0xb6bcb74b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#39 0xb6bf9a26 in ?? () from /usr/lib/libQtCore.so.4
#40 0xb6bf6ad0 in ?? () from /usr/lib/libQtCore.so.4
#41 0xb5e17288 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb5e1a878 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#43 0xb5e1a9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb6bf6a1c in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb71645c5 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb6bc9cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb6bca122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0xb6bcc49f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#49 0xb70c5527 in QApplication::exec () from /usr/lib/libQtGui.so.4
#50 0x08051699 in _start ()

Reported using DrKonqi
Comment 1 Allen Winter 2009-05-29 22:39:21 UTC
what version of libical do you have?

version 0.43 or higher is recommended.
Comment 2 wampyr.web 2009-05-30 12:08:31 UTC
I have libical 0.43-1. 
The problem seems to be in opening calendars file. I don't need remove settings, but only .ics for successful start.
Comment 3 Allen Winter 2009-05-30 14:43:07 UTC
hmm.. ok, I guess we need a sample of the ics file that causes the crash.

could you paste it here?  or attach it?

the file is ~/.kde/share/apps/korganizer/std.ics
Comment 4 wampyr.web 2009-05-30 16:17:17 UTC
Created attachment 34125 [details]
a std.ics

This is an example std.ics
Comment 5 Allen Winter 2009-05-31 01:28:21 UTC
I'm not seeing any crashes or other problems with the sample std.ics file you attached.

looks like something the backtrace is showing the crash in a timezone routine, so maybe you need to attach another sample that includes the VTIMEZONE sections in your std.ics file.
Comment 6 wampyr.web 2009-05-31 09:43:43 UTC
If timezone is set in Settings/Configure/Time and date, I have no choice here. Only [No selection] typed here. If I look into System settings/Date & Time, I have here only UTC timezone. Maybe this is source of this crashes?
Comment 7 Allen Winter 2009-05-31 14:06:09 UTC
yeah, that's not good.  you should be able to select from dozens and dozens of timezones.

better get that fixed first. although I really don't know how to help with that problem.
Comment 8 wampyr.web 2009-06-01 22:23:57 UTC
Yeah, these crashes was caused by missing timezones. I haven't installed two packages (dash and libfetch - I don't know if this contain timezones) so I made reinstall the "base" group (from archlinux repository). 
I had empty /usr/share/zoneinfo but now here is dozens of files and in system settings is dozens of choices. Korganizer is now working OK.
Thank you for your help.
FIXED