Bug 138037 - Korganizer crashes when showing calendar after timezone change
Summary: Korganizer crashes when showing calendar after timezone change
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 17:58 UTC by Mathieu Bouchard
Modified: 2008-10-27 01:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Calendar test file (968 bytes, text/calendar)
2006-11-30 17:09 UTC, Mathieu Bouchard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Bouchard 2006-11-28 17:58:33 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.1 
OS:                Linux

I'm using several calendars from a webdav server. One of these calendar is set as my default calendar, the others are read-only.

In my calendar, there is a meeting which repeats at each week (on monday morning) from this week to the end of december.

Everything seems to be working fine until I changed the default timezone in korganizer settings to America/Montreal and holydays to Canada. Since then, everytime I start korganizer, there is a segmentation fault.

This problem occurs on debian testing and gentoo with 2 different computers.

from gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1510684992 (LWP 7463)]
0xa7e67e34 in QValueListIterator<KCal::Incidence*>::operator++ (this=0xafd4d1ec) at /usr/share/qt3/include/qvaluelist.h:121
121             node = node->next;

backtrace:

#0  0xa7e4ee34 in QValueListIterator<KCal::Incidence*>::operator++ (this=0xafab8efc) at /usr/share/qt3/include/qvaluelist.h:121
#1  0xa7e5ae7d in QValueListPrivate (this=0x83c1c88, _p=@0x83c11a0) at /usr/share/qt3/include/qvaluelist.h:272
#2  0xa7e5af29 in QValueList<KCal::Incidence*>::detachInternal (this=0x83c0fa0) at /usr/share/qt3/include/qvaluelist.h:631
#3  0xa7e5af6a in QValueList<KCal::Incidence*>::detach (this=0x57e58955) at /usr/share/qt3/include/qvaluelist.h:562
#4  0xa7e5af9e in QValueList<KCal::Incidence*>::find (this=0x83c0fa0, x=@0xafab8fa4) at /usr/share/qt3/include/qvaluelist.h:540
#5  0xa78822ac in KCal::ListBase<KCal::Incidence>::removeRef (this=0x83c0fa0, t=0x83c2bf8) at ../libkcal/listbase.h:70
#6  0xa781cfbf in KCal::Incidence::removeRelation (this=0x83c0f08, event=0x83c2bf8) at incidence.cpp:32731
#7  0xa7852855 in ~Incidence (this=0x83c2bf8) at incidence.cpp:97
#8  0xa7852989 in ~Event (this=0x83c2bf8) at event.cpp:45
#9  0xa786f660 in QDict<KCal::Event>::deleteItem (this=0x81e4f04, d=0x57e58955) at /usr/share/qt3/include/qdict.h:97
#10 0xa6a4167f in QGDict::clear () from /usr/lib/libqt-mt.so.3
#11 0xa78845a3 in QDict<KCal::Event>::clear (this=0x81e4f04) at /usr/share/qt3/include/qdict.h:75
#12 0xa7831ab8 in KCal::CalendarLocal::deleteAllEvents (this=0x81e4e50) at calendarlocal.cpp:146
#13 0xa7831b2a in KCal::CalendarLocal::close (this=0x81e4e50) at calendarlocal.cpp:97
#14 0xa59045de in KCal::ResourceRemote::slotLoadJobResult () from /usr/lib/libkcal_resourceremote.so.1
#15 0xa59047ec in KCal::ResourceRemote::qt_invoke () from /usr/lib/libkcal_resourceremote.so.1
#16 0xa674bcb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0xa73491ee in KIO::Job::result () from /usr/lib/libkio.so.4
#18 0xa73891ec in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#19 0xa73895a2 in KIO::Job::removeSubjob () from /usr/lib/libkio.so.4
#20 0xa7389683 in KIO::Job::removeSubjob () from /usr/lib/libkio.so.4
#21 0xa73a8195 in KIO::FileCopyJob::slotResult () from /usr/lib/libkio.so.4
#22 0xa73b232d in KIO::FileCopyJob::qt_invoke () from /usr/lib/libkio.so.4
#23 0xa674bcb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xa73491ee in KIO::Job::result () from /usr/lib/libkio.so.4
#25 0xa73891ec in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#26 0xa739cece in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#27 0xa739d5ed in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#28 0xa7388e0a in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#29 0xa674bcb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#30 0xa674c744 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#31 0xa7343a8c in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#32 0xa73a8ea3 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#33 0xa73a6ee8 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#34 0xa7357fbb in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#35 0xa7396a70 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#36 0xa674bcb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#37 0xa674c5ba in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#38 0xa6ad5a87 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#39 0xa676e45e in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#40 0xa66e3bd6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#41 0xa66e59f3 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#42 0xa6ea7e6e in KApplication::notify () from /usr/lib/libkdecore.so.4
#43 0xa7e458a4 in QApplication::sendEvent (receiver=0x8328228, event=0xafab9d60) at /usr/share/qt3/include/qapplication.h:520
#44 0xa66d5f89 in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3
#45 0xa668b704 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#46 0xa66fe129 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#47 0xa66fdf4a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#48 0xa66e576f in QApplication::exec () from /usr/lib/libqt-mt.so.3
#49 0x08052565 in main (argc=0, argv=0x48) at main.cpp:58
Comment 1 Mathieu Bouchard 2006-11-29 16:59:12 UTC
It seems (maybe) that this is the same problem as bug #116059, but I'm not using a groupdav calendar.
Comment 2 Mathieu Bouchard 2006-11-30 17:09:21 UTC
Created attachment 18735 [details]
Calendar test file
Comment 3 Mathieu Bouchard 2006-11-30 17:13:43 UTC
If I use the calendar attached on comment #2 on a webdavs server, korganizer crashes on opening. If I use it on a local path, korganizer crashes on exit with the same error.

If I change ResourceIsReadOnly=true to false, there is no crash anymore.

The calendar test file consists of two reccuring events that are related, but not overlapping.

[General]
PassiveResourceKeys=
ResourceKeys=f1jpb3XnV7
Standard=

[Resource_f1jpb3XnV7]
CalendarURL=file://$HOME/crash.ics
Format=ical
ResourceIdentifier=f1jpb3XnV7
ResourceIsActive=true
ResourceIsReadOnly=true
ResourceName=xxx
ResourceType=file
Comment 4 Allen Winter 2008-10-27 01:26:03 UTC
This bug was finally squashed by Till a couple days ago.

The fix should be included with KDE 4.1.3 and KDE 4.2 releases.