Application: korganizer (4.4.3) KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) "release 3" Qt Version: 4.6.3 Operating System: Linux 2.6.31.12-0.2-default i686 Distribution: "openSUSE 11.2 (i586)" -- Information about the crash: GUI appears, "loading" cursor continues bouncing, then KOrganizer crashes without any input or output The crash can be reproduced every time. -- Backtrace: Application: KOrganizer (korganizer), signal: Segmentation fault [KCrash Handler] #7 0xb5ec5a78 in ?? () from /usr/lib/libQtCore.so.4 #8 0xb5ec7bc9 in QString::arg(QString const&, int, QChar const&) const () from /usr/lib/libQtCore.so.4 #9 0xb6275268 in KLocalizedString::subs(QString const&, int, QChar const&) const () from /usr/lib/libkdecore.so.5 #10 0xb72d6330 in i18ncp<int, QString> (ctxt=0xb7329934 "Recurs monthly on the [1st|2nd|...] day", sing=0xb732b229 "Recurs monthly on the %2 day", plur= 0xb7329900 "Recurs every <numid>%1</numid> month on the %2 day", a1=@0xbfaaa4e4, a2=...) at /usr/include/klocalizedstring.h:1140 #11 0xb72b7870 in KCal::IncidenceFormatter::recurrenceString (incidence=0x9ef11f0) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/incidenceformatter.cpp:3603 #12 0xb72cd90a in KCal::IncidenceFormatter::ToolTipVisitor::generateToolTip (this=0xbfaaa918, incidence=0x9ef11f0, dtRangeText=...) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/incidenceformatter.cpp:3137 #13 0xb72ce234 in KCal::IncidenceFormatter::ToolTipVisitor::visit (this=0xbfaaa918, event=0x9ef11f0) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/incidenceformatter.cpp:2958 #14 0xb726add7 in KCal::Event::accept (this=0x9ef11f0, v=...) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/event.h:225 #15 0xb72bd4cc in act (spec=<value optimized out>, richText=<value optimized out>, date=<value optimized out>, incidence=<value optimized out>, calendar=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/incidenceformatter.cpp:2788 #16 KCal::IncidenceFormatter::toolTipStr (spec=<value optimized out>, richText=<value optimized out>, date=<value optimized out>, incidence=<value optimized out>, calendar=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/incidenceformatter.cpp:3201 #17 0xb6f4973d in KOrg::IncidenceMonthItem::toolTipText (this=0x9d558e8) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthitem.cpp:565 #18 0xb6f4d045 in KOrg::MonthGraphicsItem::MonthGraphicsItem (this=0x9fdd060, manager=0x9d558e8) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthgraphicsitems.cpp:144 #19 0xb6f4899d in KOrg::MonthItem::updateMonthGraphicsItems (this=0x9d558e8) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthitem.cpp:93 #20 0xb6f4542b in KOrg::MonthView::reloadIncidences (this=0x8480648) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthview.cpp:440 #21 0xb6f46405 in KOrg::MonthView::setStartDate (this=0x8480648, start=...) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthview.cpp:296 #22 0xb6f46482 in KOrg::MonthView::showDates (this=0x8480648, start=..., end=...) at /usr/src/debug/kdepim-4.4.4/korganizer/views/monthview/monthview.cpp:283 #23 0xb6f94bba in KOViewManager::updateView (this=0x81b3d50, start=..., end=...) at /usr/src/debug/kdepim-4.4.4/korganizer/koviewmanager.cpp:237 #24 0xb6f80e89 in CalendarView::updateView (this=0x81e5fc0, start=..., end=..., updateTodos=true) at /usr/src/debug/kdepim-4.4.4/korganizer/calendarview.cpp:810 #25 0xb6f820c1 in CalendarView::updateView (this=0x81e5fc0) at /usr/src/debug/kdepim-4.4.4/korganizer/calendarview.cpp:821 #26 0xb6f8068b in CalendarView::resourcesChanged (this=0x81e5fc0) at /usr/src/debug/kdepim-4.4.4/korganizer/calendarview.cpp:2780 #27 0xb6f9313b in CalendarView::qt_metacall (this=0x81e5fc0, _c=InvokeMetaMethod, _id=177, _a=0xbfaaaf1c) at /usr/src/debug/kdepim-4.4.4/build/korganizer/calendarview.moc:589 #28 0xb5f83b2d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #29 0xb5f92d80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #30 0xb700ddd5 in ResourceView::resourcesChanged (this=0x869e810) at /usr/src/debug/kdepim-4.4.4/build/korganizer/resourceview.moc:139 #31 0xb700ef9e in ResourceView::slotSubresourceAdded (this=0x869e810, calendar=0x8449f90, type=..., resource=..., label=...) at /usr/src/debug/kdepim-4.4.4/korganizer/resourceview.cpp:487 #32 0xb70140b3 in ResourceView::qt_metacall (this=0x869e810, _c=InvokeMetaMethod, _id=34, _a=0xbfaab0ec) at /usr/src/debug/kdepim-4.4.4/build/korganizer/resourceview.moc:115 #33 0xb5f83b2d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #34 0xb5f92d80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #35 0xb7307b3d in KCal::ResourceCalendar::signalSubresourceAdded (this=0x8449f90, _t1=0x8449f90, _t2=..., _t3=..., _t4=...) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/build/kcal/resourcecalendar.moc:158 #36 0xb0b39b57 in KCal::ResourceAkonadi::Private::subResourceAdded (this=0x844a588, subResource=0xbfaab15c) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/kcal/resourceakonadi_p.cpp:266 #37 0xb0b53b21 in ResourcePrivateBase::qt_metacall (this=0x844a588, _c=InvokeMetaMethod, _id=4, _a=0xbfaab2e8) at /usr/src/debug/kdepim-runtime-4.4.4/build/kresources/kcal/resourceprivatebase.moc:81 #38 0xb0b3e092 in KCal::ResourceAkonadi::Private::qt_metacall (this=0x844a588, _c=InvokeMetaMethod, _id=4, _a=0xbfaab2e8) at /usr/src/debug/kdepim-runtime-4.4.4/build/kresources/kcal/resourceakonadi_p.moc:76 #39 0xb5f83b2d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #40 0xb5f92d80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #41 0xb0b48855 in AbstractSubResourceModel::subResourceAdded (this=0x844a5c0, _t1=0x9ed42f0) at /usr/src/debug/kdepim-runtime-4.4.4/build/kresources/kcal/abstractsubresourcemodel.moc:126 #42 0xb0b40de7 in SubResourceModel<SubResource>::collectionAdded (this=0x844a5c0, collection=...) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/shared/subresourcemodel.h:135 #43 0xb0b4b429 in AbstractSubResourceModel::load (this=0x844a5c0) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/shared/abstractsubresourcemodel.cpp:144 #44 0xb0b3ebdd in SharedResourcePrivate<SubResource>::loadResource (this=0x844a588) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/shared/sharedresourceprivate.h:78 #45 0xb0b561f6 in ResourcePrivateBase::doLoad (this=0x844a588) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/shared/resourceprivatebase.cpp:125 #46 0xb0b36be5 in KCal::ResourceAkonadi::doLoad (this=0x8449f90, syncCache=false) at /usr/src/debug/kdepim-runtime-4.4.4/kresources/kcal/resourceakonadi.cpp:400 #47 0xb730839b in KCal::ResourceCalendar::load (this=0x8449f90) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/resourcecalendar.cpp:167 #48 0xb731cd87 in KCal::CalendarResources::load (this=0x818b430) at /usr/src/debug/kdepimlibs-4.4.86svn1138650/kcal/calendarresources.cpp:303 #49 0x08050955 in KOrganizerApp::processCalendar (this=0xbfaac350, url=...) at /usr/src/debug/kdepim-4.4.4/korganizer/koapp.cpp:145 #50 0x08050c70 in KOrganizerApp::newInstance (this=0xbfaac350) at /usr/src/debug/kdepim-4.4.4/korganizer/koapp.cpp:93 #51 0xb7597bb3 in ?? () from /usr/lib/libkdeui.so.5 #52 0xb759834c in ?? () from /usr/lib/libkdeui.so.5 #53 0xb5926efe in ?? () from /usr/lib/libQtDBus.so.4 #54 0xb5927d7c in ?? () from /usr/lib/libQtDBus.so.4 #55 0xb592891e in ?? () from /usr/lib/libQtDBus.so.4 #56 0xb5928be8 in ?? () from /usr/lib/libQtDBus.so.4 #57 0xb5f8f69f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #58 0xb5f7e21a in QCoreApplication::event(QEvent*) () from /usr/lib/libQtCore.so.4 #59 0xb64a4628 in QApplication::event(QEvent*) () from /usr/lib/libQtGui.so.4 #60 0xb649fe3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #61 0xb64a6c78 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #62 0xb758ff41 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #63 0xb5f7e71e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #64 0xb5f82227 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #65 0xb5f823ac in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #66 0xb5fab89d in ?? () from /usr/lib/libQtCore.so.4 #67 0xb43b24c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #68 0xb43b5d98 in ?? () from /usr/lib/libglib-2.0.so.0 #69 0xb43b5ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #70 0xb5fab381 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #71 0xb6560c3a in ?? () from /usr/lib/libQtGui.so.4 #72 0xb5f7cd8d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #73 0xb5f7d1d9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #74 0xb5f82480 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #75 0xb649fee4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #76 0x0804eb94 in main (argc=1, argv=0xbfaac4a4) at /usr/src/debug/kdepim-4.4.4/korganizer/main.cpp:61 Possible duplicates by query: bug 236462. Reported using DrKonqi
Can you reproduce with non-akonadi resources?
How do I do that? I can't get into KOrganizer long enough to delete those resources.
Can you get valgrind report? run : valgrind korganizer --nofork &> valgrind.txt and wait until it exits (takes some minutes)
Created attachment 48147 [details] valgrind results Result of running valgrind korganizer --nofork &> valgrind.txt
I see the problem, will fix when i get home. Thanks.
SVN commit 1140147 by smartins: Don't crash when formating an incidence. BUG: 236462 BUG: 242191 M +4 -0 incidenceformatter.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140147
SVN commit 1140149 by smartins: Fwd port r1140147 bby smartins from branch 4.4 to trunk: Don't crash when formating an incidence. BUG: 236462 BUG: 242191 MERGE: e35 M +4 -0 incidenceformatter.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140149
SVN commit 1140153 by smartins: Backport r1140149 by smartins from branch 4.4 to e35: Don't crash when formating an incidence. CCBUG: 236462 CCBUG: 242191 M +4 -1 incidenceformatter.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140153