Bug 229724

Summary: korganizer crashes sporadically
Product: [Applications] korganizer Reporter: disclosed <k_b0000>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: daniel, smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description disclosed 2010-03-06 20:36:53 UTC
Application: korganizer (4.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-174.2.22.fc12.i686.PAE i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
korganizer crashes sporadically.
i have a number of webdav calendars as well as local file based calendars.
sometimes (but quite often) when i press refresh/reload on a calendar, korganizer simply crashes.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#6  ref (this=0x9d37f78) at /usr/include/QtCore/qatomic_i386.h:120
#7  QList (this=0x9d37f78) at /usr/include/QtCore/qlist.h:114
#8  QStringList (this=0x9d37f78) at /usr/include/QtCore/qstringlist.h:71
#9  KCal::Incidence::categories (this=0x9d37f78) at /usr/src/debug/kdepimlibs-4.4.0/kcal/incidence.cpp:469
#10 0x007e5b98 in KOrg::IncidenceMonthItem::catColor (this=0x9d48f80) at /usr/src/debug/kdepim-4.4.0/korganizer/views/monthview/monthitem.cpp:629
#11 0x007e5eb6 in KOrg::IncidenceMonthItem::bgColor (this=0x9d48f80) at /usr/src/debug/kdepim-4.4.0/korganizer/views/monthview/monthitem.cpp:661
#12 0x007e870e in KOrg::MonthGraphicsItem::paint (this=0x9e02330, p=0xbf940c54) at /usr/src/debug/kdepim-4.4.0/korganizer/views/monthview/monthgraphicsitems.cpp:238
#13 0x02b78cf8 in ?? () from /usr/lib/libQtGui.so.4
#14 0x02b79558 in ?? () from /usr/lib/libQtGui.so.4
#15 0x02b79f3e in ?? () from /usr/lib/libQtGui.so.4
#16 0x02b92832 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#17 0x025789eb in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x02947034 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x029d5193 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x02b8ec43 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x029d7635 in ?? () from /usr/lib/libQtGui.so.4
#22 0x04f41e3a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x02525d0a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x0252c5f1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x05ba658b in KApplication::notify (this=0xbf942900, receiver=0x9b8b390, event=0xbf941354) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#26 0x04f42c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x02581327 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#28 0x02740120 in ?? () from /usr/lib/libQtGui.so.4
#29 0x025723b3 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#30 0x025791ae in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x02963aa7 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x05c85154 in KMainWindow::event (this=0x997dda8, ev=0x9930f70) at /usr/src/debug/kdelibs-4.4.0/kdeui/widgets/kmainwindow.cpp:1103
#33 0x05cc63a0 in KXmlGuiWindow::event (this=0x997dda8, ev=0x9930f70) at /usr/src/debug/kdelibs-4.4.0/kdeui/xmlgui/kxmlguiwindow.cpp:131
#34 0x02525d2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x0252c5f1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0x05ba658b in KApplication::notify (this=0xbf942900, receiver=0x997dda8, event=0x9930f70) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#37 0x04f42c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0x04f43ac3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#39 0x04f43c1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#40 0x02b68fa6 in ?? () from /usr/lib/libQtGui.so.4
#41 0x02b75aa6 in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#42 0x007607ab in KOrg::MonthScene::qt_metacall (this=0x9b90780, _c=InvokeMetaMethod, _id=16, _a=0x9d566b0) at /usr/src/debug/kdepim-4.4.0/i686-redhat-linux-gnu/korganizer/moc_monthscene.cpp:73
#43 0x04f475db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x04f51bd7 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#45 0x04f52c4e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#46 0x02b7183c in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0x02525d2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#48 0x0252c556 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#49 0x05ba658b in KApplication::notify (this=0xbf942900, receiver=0x9b90780, event=0x9cb3f18) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#50 0x04f42c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#51 0x04f43ac3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#52 0x04f43c1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#53 0x04f6b350 in ?? () from /usr/lib/libQtCore.so.4
#54 0x00f36f88 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#55 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#56 0x00f3a8b8 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#57 0x00f3a9e4 in IA__g_main_context_iteration (context=0x989a490, may_block=<value optimized out>) at gmain.c:2654
#58 0x04f6ae46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#59 0x025d40c6 in ?? () from /usr/lib/libQtGui.so.4
#60 0x04f412da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#61 0x04f4161a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#62 0x04f43ce7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#63 0x02525dd8 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#64 0x0804e44c in main (argc=1, argv=0xbf942a64) at /usr/src/debug/kdepim-4.4.0/korganizer/main.cpp:61

Possible duplicates by query: bug 228188, bug 224277, bug 224126, bug 222083, bug 220190.

Reported using DrKonqi
Comment 1 disclosed 2010-03-06 20:50:30 UTC
is looks like it crashes after i do the following.
1. start korganizer.
2. refresh a local calendar (calendar resource within directory, one file per event).
3. then click any day to mark or add a new event.
Comment 2 Christophe Marin 2011-05-05 22:13:32 UTC
from bug 272052 

-- Information about the crash:
I added a GroupDAV Calendar to Kontact (activated “save after every change”).
GroupDAV server is “Stylite's EGroupware Community Version 1.8.001”, protocol
is https.

Existent Events in database was fetched and shown correctly. I added a new
Event and confirmed the save dialog. Kontact crashed. Event was not transferred
to the server. Crash was immediately after confirming the save dialog.

This kind of crash happend two times. Since starting this report, every try to
reproduce the error was unsuccessful (that means that everthing works now). :)

What may be intresting:
When the bug not appears, before sending the new event to my server, Kontact
told me that the ssl-certificate of my server is not secure. I told Kontact to
accept it. This repeats two more times, even I tell kontact to accept it
permanently (!). Then, Kontact sends the event. Maybe the “unsecure”
ssl-certificate is part of the cause.

The crash can be reproduced some of the time.
Comment 3 Christophe Marin 2011-05-05 22:13:42 UTC
*** Bug 272052 has been marked as a duplicate of this bug. ***
Comment 4 Sergio Martins 2011-06-12 08:18:42 UTC
Should not happen with kdepim 4.6.