Version: (using KDE KDE 3.3.0) Installed from: SuSE RPMs OS: Linux korganizer crashes on my SuSE 9.1 X86_64 installation. Here's the backtrace: Using host libthread_db library "/lib64/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 182988421664 (LWP 16103)] [KCrash handler] #3 0x0000002a9c4791ec in Holidays::getHoliday () from /opt/kde3/lib64/kde3/libkorg_holidays.so #4 0x0000002a9c479289 in Holidays::shortText () from /opt/kde3/lib64/kde3/libkorg_holidays.so #5 0x0000002a95812c1e in KOCore::holiday () from /opt/kde3/lib64/libkorganizer.so.1 #6 0x0000002a958134c3 in KODayMatrix::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #7 0x0000002a9581356f in KODayMatrix::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #8 0x0000002a95838a52 in KDateNavigator::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #9 0x0000002a95838b77 in DateNavigatorContainer::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #10 0x0000002a95838bea in CalendarView::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #11 0x0000002a95838c58 in CalendarView::updateView () from /opt/kde3/lib64/libkorganizer.so.1 #12 0x0000002a9582c7f0 in KOViewManager::showView () from /opt/kde3/lib64/libkorganizer.so.1 #13 0x0000002a9585adb5 in KOViewManager::showAgendaView () from /opt/kde3/lib64/libkorganizer.so.1 #14 0x0000002a9585b02d in KOViewManager::readSettings () from /opt/kde3/lib64/libkorganizer.so.1 #15 0x0000002a9585b1f0 in CalendarView::readSettings () from /opt/kde3/lib64/libkorganizer.so.1 #16 0x0000002a9585b8d4 in ActionManager::createCalendarResources () from /opt/kde3/lib64/libkorganizer.so.1 #17 0x000000000040d871 in KOrganizer::init () #18 0x000000000040dd35 in KOrganizerApp::processCalendar () #19 0x000000000040df4e in KOrganizerApp::newInstance () #20 0x0000002a9831d40f in KUniqueApplication::processDelayed () from /opt/kde3/lib64/libkdecore.so.4 #21 0x0000002a98322ab8 in KUniqueApplication::qt_invoke () from /opt/kde3/lib64/libkdecore.so.4 #22 0x000000000040c7c9 in KOrganizerApp::qt_invoke () #23 0x0000002a98fa7f3d in QObject::activate_signal () from /usr/lib/qt3/lib64/libqt-mt.so.3 #24 0x0000002a992cbae7 in QSignal::signal () from /usr/lib/qt3/lib64/libqt-mt.so.3 #25 0x0000002a98fc3351 in QSignal::activate () from /usr/lib/qt3/lib64/libqt-mt.so.3 #26 0x0000002a98fc9e4e in QSingleShotTimer::event () from /usr/lib/qt3/lib64/libqt-mt.so.3 #27 0x0000002a98f4a5c6 in QApplication::internalNotify () from /usr/lib/qt3/lib64/libqt-mt.so.3 #28 0x0000002a98f499e8 in QApplication::notify () from /usr/lib/qt3/lib64/libqt-mt.so.3 #29 0x0000002a98310f55 in KApplication::notify () from /opt/kde3/lib64/libkdecore.so.4 #30 0x0000002a98ee26e4 in QApplication::sendEvent () from /usr/lib/qt3/lib64/libqt-mt.so.3 #31 0x0000002a98f39b05 in QEventLoop::activateTimers () from /usr/lib/qt3/lib64/libqt-mt.so.3 #32 0x0000002a98ef4316 in QEventLoop::processEvents () from /usr/lib/qt3/lib64/libqt-mt.so.3 #33 0x0000002a98f5d4ba in QEventLoop::enterLoop () from /usr/lib/qt3/lib64/libqt-mt.so.3 #34 0x0000002a98f5d3b5 in QEventLoop::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3 #35 0x0000002a98f4a6de in QApplication::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3 #36 0x000000000040e568 in main ()
The function Holidays::getHoliday() doesn't check if it's called with a null date. The following patch fixed it: --- kdepim-3.3.0/korganizer/plugins/holidays/holidays.cpp.orig 2004-08-05 21:26:57.000000000 +0200 +++ kdepim-3.3.0/korganizer/plugins/holidays/holidays.cpp 2004-08-22 20:12:25.000000000 +0200 @@ -91,7 +91,7 @@ //static int lastYear = 0; int lastYear = 0; - if (mHolidayFile.isEmpty()) return QString::null; + if (mHolidayFile.isEmpty() || qd.isNull()) return QString::null; //if ((lastYear == 0) || (qd.year() != lastYear)) { if ((yearLast == 0) || (qd.year() != yearLast)) {
*** This bug has been marked as a duplicate of 84979 ***