Bug 224866

Summary: korganizer crash when reloading directory calendar
Product: [Applications] korganizer Reporter: Arto Karppinen <arto.karppinen>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: avrunin, smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arto Karppinen 2010-01-30 14:02:43 UTC
Application that crashed: korganizer
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I have a directory stored calendar in KOrganizer. When i select "Reload" from calendar menu popup KOrganizer crashes.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#6  0x00b65c8a in KCal::Incidence::summaryIsRich (this=0xbfc7e150) at ../../kcal/incidence.cpp:438
#7  0x016decc8 in QSortFilterProxyModel::data (this=0x9d58af8, index=..., role=34) at itemviews/qsortfilterproxymodel.cpp:1611
#8  0x003c0fbb in QModelIndex::data (this=0x9d27e38, painter=0xbfc7e62c, option=..., index=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:378
#9  KOTodoRichTextDelegate::paint (this=0x9d27e38, painter=0xbfc7e62c, option=..., index=...) at ../../korganizer/views/todoview/kotododelegates.cpp:413
#10 0x01692500 in QTreeView::drawRow (this=0x9d46de0, painter=0xbfc7e62c, option=..., index=...) at itemviews/qtreeview.cpp:1640
#11 0x0169a2cc in QTreeView::drawTree (this=0x9d46de0, painter=0xbfc7e62c, region=...) at itemviews/qtreeview.cpp:1403
#12 0x0169ad4d in QTreeView::paintEvent (this=0x9d46de0, event=0xbfc7ee34) at itemviews/qtreeview.cpp:1281
#13 0x0115bdd4 in QWidget::event (this=0x9d46de0, event=0xbfc7ee34) at kernel/qwidget.cpp:7687
#14 0x0150b633 in QFrame::event (this=0x9d46de0, e=0xbfc7ee34) at widgets/qframe.cpp:559
#15 0x015aa494 in QAbstractScrollArea::viewportEvent (this=0x22, e=0x0) at widgets/qabstractscrollarea.cpp:962
#16 0x0165e087 in QAbstractItemView::viewportEvent (this=0x9d46de0, event=0xbfc7ee34) at itemviews/qabstractitemview.cpp:1476
#17 0x01699434 in QTreeView::viewportEvent (this=0x9d46de0, event=0xbfc7ee34) at itemviews/qtreeview.cpp:1266
#18 0x015aca95 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9d52bf8, o=0x9d4e9d8, e=0xbfc7ee34) at widgets/qabstractscrollarea_p.h:100
#19 QAbstractScrollAreaFilter::eventFilter (this=0x9d52bf8, o=0x9d4e9d8, e=0xbfc7ee34) at widgets/qabstractscrollarea_p.h:111
#20 0x00a2a83a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9baf4b0, receiver=0x9d4e9d8, event=0xbfc7ee34) at kernel/qcoreapplication.cpp:726
#21 0x01106f2c in QApplicationPrivate::notify_helper (this=0x9baf4b0, receiver=0x9d4e9d8, e=0xbfc7ee34) at kernel/qapplication.cpp:4052
#22 0x0110e5ca in QApplication::notify (this=0xbfc7fa34, receiver=0x9d4e9d8, e=0xbfc7ee34) at kernel/qapplication.cpp:4021
#23 0x0072cbfa in KApplication::notify (this=0xbfc7fa34, receiver=0x9d4e9d8, event=0xbfc7ee34) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00a2b6cb in QCoreApplication::notifyInternal (this=0xbfc7fa34, receiver=0x9d4e9d8, event=0xbfc7ee34) at kernel/qcoreapplication.cpp:610
#25 0x01163e25 in QCoreApplication::sendSpontaneousEvent (this=0x9d2e700, pdev=0x9c4468c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9c88478)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#26 QWidgetPrivate::drawWidget (this=0x9d2e700, pdev=0x9c4468c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9c88478) at kernel/qwidget.cpp:5079
#27 0x012f2233 in QWidgetBackingStore::sync (this=0x9c88478) at painting/qbackingstore.cpp:1261
#28 0x01155116 in QWidgetPrivate::syncBackingStore (this=0x9c8b698) at kernel/qwidget.cpp:1603
#29 0x0115c215 in QWidget::event (this=0x9c671c0, event=0x9fb6588) at kernel/qwidget.cpp:7827
#30 0x01529297 in QMainWindow::event (this=0x9c671c0, event=0x9fb6588) at widgets/qmainwindow.cpp:1399
#31 0x00812dc4 in KMainWindow::event (this=0x9c671c0, ev=0x9fb6588) at ../../kdeui/widgets/kmainwindow.cpp:1094
#32 0x0085930f in KXmlGuiWindow::event (this=0x9c671c0, ev=0x9fb6588) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#33 0x01106f54 in QApplicationPrivate::notify_helper (this=0x9baf4b0, receiver=0x9c671c0, e=0x9fb6588) at kernel/qapplication.cpp:4056
#34 0x0110e5ca in QApplication::notify (this=0xbfc7fa34, receiver=0x9c671c0, e=0x9fb6588) at kernel/qapplication.cpp:4021
#35 0x0072cbfa in KApplication::notify (this=0xbfc7fa34, receiver=0x9c671c0, event=0x9fb6588) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00a2b6cb in QCoreApplication::notifyInternal (this=0xbfc7fa34, receiver=0x9c671c0, event=0x9fb6588) at kernel/qcoreapplication.cpp:610
#37 0x00a2c2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9b85820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9b85820) at kernel/qcoreapplication.cpp:1247
#39 0x00a2c47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#40 0x00a563ff in QCoreApplication::sendPostedEvents (s=0x9babd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 postEventSourceDispatch (s=0x9babd10) at kernel/qeventdispatcher_glib.cpp:210
#42 0x02c2ee88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x02c32730 in ?? () from /lib/libglib-2.0.so.0
#44 0x02c32863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00a5602c in QEventDispatcherGlib::processEvents (this=0x9ba3290, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#46 0x011a7be5 in QGuiEventDispatcherGlib::processEvents (this=0x9ba3290, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00a29c79 in QEventLoop::processEvents (this=0xbfc7f9c4, flags=) at kernel/qeventloop.cpp:149
#48 0x00a2a0ca in QEventLoop::exec (this=0xbfc7f9c4, flags=...) at kernel/qeventloop.cpp:201
#49 0x00a2c53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0x01106dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#51 0x0804ec04 in main (argc=1, argv=0xbfc7fb94) at ../../korganizer/main.cpp:61

Reported using DrKonqi
Comment 1 Sergio Martins 2010-02-03 18:42:43 UTC
Can you reproduce it easily?
Comment 2 Arto Karppinen 2010-02-03 21:15:45 UTC
Yes, it seems to happen every time. Though it takes 5 to 10 seconds to trigger after selecting "Reload". Perhaps it crashes in some kind of background task?

This also happens to me with KOrganizer 4.2.4 in Kubuntu 8.04 with the same calendar.
Comment 3 Arto Karppinen 2010-02-03 21:17:53 UTC
... Sorry meant: also in Ubuntu 9.04 ...
Comment 4 Christophe Marin 2010-09-18 23:54:49 UTC
*** Bug 251233 has been marked as a duplicate of this bug. ***
Comment 5 Sergio Martins 2011-07-06 23:38:57 UTC
KCalCore fixes this.