Bug 130202 - busy loop in kcal with the attached ical file
Summary: busy loop in kcal with the attached ical file
Status: RESOLVED FIXED
Alias: None
Product: kresources
Classification: Miscellaneous
Component: framework (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 16:42 UTC by Ian Martin
Modified: 2009-05-17 16:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Martin 2006-07-03 16:42:41 UTC
Version:           4:3.4.3-0ubuntu2 (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages
OS:                Linux

Kontact would hang on startup until I removed the file ~/.kde/share/apps/korganizer/std.ics.  Then it would hang every time I tried to import that file.  I isolated the TODO item that causes the hang.  Here it is:

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20060701T232553Z
ORGANIZER;CN=Ian Martin:MAILTO:
COMMENT:NoStartDate
CREATED:20060620T233143Z
UID:libkcal-1449619518.593
SEQUENCE:19
LAST-MODIFIED:20060630T004809Z
SUMMARY:ebayexpress sweepstakes
CLASS:PUBLIC
PRIORITY:5
RRULE:FREQ=DAILY;UNTIL=20060630
DUE;VALUE=DATE:20060627
DTSTART;VALUE=DATE:29350930228
COMPLETED:20060630T004809Z
PERCENT-COMPLETE:100
RECURRENCE-ID:20060630T000000Z
END:VTODO

END:VCALENDAR
Comment 1 Will Stephenson 2006-10-28 17:44:41 UTC
Confirmed

#0  0x00002ae3be0ced5f in malloc () from /lib64/libc.so.6
#1  0x00002ae3bdf1d1ed in operator new () from /usr/lib64/libstdc++.so.6
#2  0x00002ae3be30abee in KCal::RecurrenceRule::datesForInterval ()
   from /opt/kde3/lib64/libkcal.so.2
#3  0x00002ae3be30bb94 in KCal::RecurrenceRule::recursOn ()
   from /opt/kde3/lib64/libkcal.so.2
#4  0x00002ae3be30be2f in KCal::RecurrenceRule::recursAt ()
   from /opt/kde3/lib64/libkcal.so.2
#5  0x00002ae3be310054 in KCal::Recurrence::recursAt ()
   from /opt/kde3/lib64/libkcal.so.2
#6  0x00002ae3be2fe8c7 in KCal::Incidence::recursAt ()
   from /opt/kde3/lib64/libkcal.so.2
#7  0x00002ae3be30484a in KCal::Todo::recurTodo ()
   from /opt/kde3/lib64/libkcal.so.2
#8  0x00002ae3be3048c9 in KCal::Todo::setCompleted ()
   from /opt/kde3/lib64/libkcal.so.2
#9  0x00002ae3be3345ae in KCal::ICalFormatImpl::readTodo ()
   from /opt/kde3/lib64/libkcal.so.2
#10 0x00002ae3be3349c9 in KCal::ICalFormatImpl::populate ()
   from /opt/kde3/lib64/libkcal.so.2
#11 0x00002ae3be329e14 in KCal::ICalFormat::fromRawString ()
   from /opt/kde3/lib64/libkcal.so.2
#12 0x00002ae3be32a3fb in KCal::ICalFormat::load ()
   from /opt/kde3/lib64/libkcal.so.2
#13 0x00002ae3be34d07d in KCal::FileStorage::load ()
   from /opt/kde3/lib64/libkcal.so.2
#14 0x00002ae3be31d0d6 in KCal::CalendarLocal::load ()
   from /opt/kde3/lib64/libkcal.so.2
#15 0x00002ae3be3501b0 in KCal::ResourceLocal::doLoad ()
   from /opt/kde3/lib64/libkcal.so.2
#16 0x00002ae3be34f878 in KCal::ResourceCalendar::load ()
   from /opt/kde3/lib64/libkcal.so.2
#17 0x00002ae3be358ef0 in KCal::CalendarResources::resourceAdded ()
   from /opt/kde3/lib64/libkcal.so.2
#18 0x00002aaaabf82970 in ActionManager::addResource ()
   from /opt/kde3/lib64/libkorganizer.so.1
#19 0x00002aaaabf83a7c in ActionManager::qt_invoke ()
   from /opt/kde3/lib64/libkorganizer.so.1
#20 0x00002ae3bd830a8c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002aaaabfa1805 in ImportDialog::addResource ()
   from /opt/kde3/lib64/libkorganizer.so.1
#22 0x00002aaaabfa20e5 in ImportDialog::slotOk ()
   from /opt/kde3/lib64/libkorganizer.so.1
#23 0x00002ae3bcdc95bc in KDialogBase::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#24 0x00002aaaabfa13fd in ImportDialog::qt_invoke ()
   from /opt/kde3/lib64/libkorganizer.so.1
#25 0x00002ae3bd830a8c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#26 0x00002ae3bd8317a3 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002ae3bd863967 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002ae3bd7d9a95 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002ae3bd7da8bb in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x00002ae3bd1df868 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#31 0x00002ae3bd7820f4 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#32 0x00002ae3bd7812d3 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#33 0x00002ae3bd79025f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#34 0x00002ae3bd7ee7a1 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#35 0x00002ae3bd7ee64a in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#36 0x000000000041537d in main ()
Comment 2 Reinhold Kainhofer 2006-11-02 19:01:52 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 3 Ian Martin 2006-11-29 02:53:55 UTC
The busy loop is caused by the line "COMPLETED:20060630T004809Z".  Remove this line and kontact loads the file successfully.
Comment 4 Allen Winter 2006-12-01 16:16:20 UTC
I just successfully imported this calendar containing the "COMPLETED:20060630T004809Z" line using the KOrganizer from KDE 3.5.5.

So, please upgrade your KDE and try again.  then let us know if it still hangs.
Comment 5 Sergio Martins 2009-05-17 16:39:09 UTC
Closing this old bug. Doesn't hang anymore.