Bug 198634

Summary: Korganizer crashed while enabling/disabling resources (akonadi)
Product: [Frameworks and Libraries] Akonadi Reporter: Davide Ferrari <vide80>
Component: generalAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, Ismail_k, kde-2011.08, kde-bugs, toma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Davide Ferrari 2009-07-02 12:05:52 UTC
Application that crashed: korganizer
Version of the application: 4.3.0 pre
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I just added an event in "akonadi resource" and I was switching on/of akonadi resource and akonadi compatibility resource to check where the event was shown and baaaaang, korganizer crashed

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#6  0xb7b292ab in KCal::CalendarLocal::close (this=0x9e872cc) at /usr/include/qt4/QtCore/qalgorithms.h:350
#7  0xb2754e81 in KCal::ResourceAkonadi::Private::clearResource (this=0x9e87268) at /build/buildd/kdepim-4.2.90/kresources/akonadi/kcal/resourceakonadi_p.cpp:118
#8  0xb277046f in ResourcePrivateBase::clear (this=0x9e87268) at /build/buildd/kdepim-4.2.90/kresources/akonadi/shared/resourceprivatebase.cpp:262
#9  0xb2752796 in KCal::ResourceAkonadi::doLoad (this=0x9471388, syncCache=false) at /build/buildd/kdepim-4.2.90/kresources/akonadi/kcal/resourceakonadi.cpp:398
#10 0xb7b72a0f in KCal::ResourceCalendar::load (this=0x9471388) at /build/buildd/kdepimlibs-4.2.90/kcal/resourcecalendar.cpp:168
#11 0xb793d0a3 in ResourceItem::stateChange (this=0x9e63270, active=true) at /build/buildd/kdepim-4.2.90/korganizer/resourceview.cpp:200
#12 0xb793d19d in ResourceView::slotItemClicked (this=0x92f1d28, i=0x9e63270) at /build/buildd/kdepim-4.2.90/korganizer/resourceview.cpp:817
#13 0xb79414e5 in ResourceView::qt_metacall (this=0x92f1d28, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfb88818) at /build/buildd/kdepim-4.2.90/obj-i486-linux-gnu/korganizer/resourceview.moc:121
#14 0xb61a6a58 in QMetaObject::activate (sender=0x92e1e98, from_signal_index=96, to_signal_index=96, argv=0xbfb88818) at kernel/qobject.cpp:3120
#15 0xb61a76e2 in QMetaObject::activate (sender=0x92e1e98, m=0xb6eeea70, local_signal_index=1, argv=0xbfb88818) at kernel/qobject.cpp:3194
#16 0xb6c42d49 in QTreeWidget::itemClicked (this=0x92e1e98, _t1=0x9e63270, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#17 0xb6c470b5 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x92fbd98, index=@0x9377ca8) at itemviews/qtreewidget.cpp:2228
#18 0xb6c50471 in QTreeWidget::qt_metacall (this=0x92e1e98, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfb8894c) at .moc/release-shared/moc_qtreewidget.cpp:144
#19 0xb61a6a58 in QMetaObject::activate (sender=0x92e1e98, from_signal_index=32, to_signal_index=32, argv=0xbfb8894c) at kernel/qobject.cpp:3120
#20 0xb61a76e2 in QMetaObject::activate (sender=0x92e1e98, m=0xb6eed9c4, local_signal_index=1, argv=0xbfb8894c) at kernel/qobject.cpp:3194
#21 0xb6bc4c73 in QAbstractItemView::clicked (this=0x92e1e98, _t1=@0x9377ca8) at .moc/release-shared/moc_qabstractitemview.cpp:321
#22 0xb6bd2565 in QAbstractItemView::mouseReleaseEvent (this=0x92e1e98, event=0xbfb89268) at itemviews/qabstractitemview.cpp:1655
#23 0xb6c14bec in QTreeView::mouseReleaseEvent (this=0x92e1e98, event=0xbfb89268) at itemviews/qtreeview.cpp:1794
#24 0xb66a58c3 in QWidget::event (this=0x92e1e98, event=0xbfb89268) at kernel/qwidget.cpp:7521
#25 0xb6a832c3 in QFrame::event (this=0x92e1e98, e=0xbfb89268) at widgets/qframe.cpp:559
#26 0xb6b2333f in QAbstractScrollArea::viewportEvent (this=0x92e1e98, e=0x9ea5a30) at widgets/qabstractscrollarea.cpp:962
#27 0xb6bd51f7 in QAbstractItemView::viewportEvent (this=0x92e1e98, event=0xbfb89268) at itemviews/qabstractitemview.cpp:1471
#28 0xb6c0f3b6 in QTreeView::viewportEvent (this=0x92e1e98, event=0xbfb89268) at itemviews/qtreeview.cpp:1264
#29 0xb6b25945 in QAbstractScrollAreaFilter::eventFilter (this=0x92fcaf8, o=0x92dfa70, e=0xbfb89268) at widgets/qabstractscrollarea_p.h:100
#30 0xb618f9ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f283f0, receiver=0x92dfa70, event=0xbfb89268) at kernel/qcoreapplication.cpp:726
#31 0xb664ebaa in QApplicationPrivate::notify_helper (this=0x8f283f0, receiver=0x92dfa70, e=0xbfb89268) at kernel/qapplication.cpp:4053
#32 0xb6657851 in QApplication::notify (this=0xbfb8abac, receiver=0x92dfa70, e=0xbfb89268) at kernel/qapplication.cpp:3759
#33 0xb7e9ce8d in KApplication::notify (this=0xbfb8abac, receiver=0x92dfa70, event=0xbfb89268) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#34 0xb61907ab in QCoreApplication::notifyInternal (this=0xbfb8abac, receiver=0x92dfa70, event=0xbfb89268) at kernel/qcoreapplication.cpp:610
#35 0xb66568be in QApplicationPrivate::sendMouseEvent (receiver=0x92dfa70, event=0xbfb89268, alienWidget=0x92dfa70, nativeWidget=0x9029f38, buttonDown=0xb6efaaa0, lastMouseReceiver=@0xb6efaaa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#36 0xb66c6aee in QETWidget::translateMouseEvent (this=0x9029f38, event=0xbfb8a8fc) at kernel/qapplication_x11.cpp:4448
#37 0xb66c5ead in QApplication::x11ProcessEvent (this=0xbfb8abac, event=0xbfb8a8fc) at kernel/qapplication_x11.cpp:3444
#38 0xb66f106a in x11EventSourceDispatch (s=0x8f2dc70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0xb5289b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb528d0eb in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb528d268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb61bc1d8 in QEventDispatcherGlib::processEvents (this=0x8f23340, flags={i = -1078416712}) at kernel/qeventdispatcher_glib.cpp:324
#43 0xb66f0765 in QGuiEventDispatcherGlib::processEvents (this=0x8f23340, flags={i = -1078416664}) at kernel/qguieventdispatcher_glib.cpp:202
#44 0xb618edda in QEventLoop::processEvents (this=0xbfb8ab60, flags={i = -1078416600}) at kernel/qeventloop.cpp:149
#45 0xb618f21a in QEventLoop::exec (this=0xbfb8ab60, flags={i = -1078416536}) at kernel/qeventloop.cpp:200
#46 0xb61916c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#47 0xb664ea47 in QApplication::exec () at kernel/qapplication.cpp:3526
#48 0x0804ec64 in main (argc=0, argv=0x0) at /build/buildd/kdepim-4.2.90/korganizer/main.cpp:61

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-07 12:44:38 UTC
*** Bug 198714 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-07-07 12:45:51 UTC
This is most likely related to bug 196215. Thanks
Comment 3 Dario Andres 2009-07-13 20:17:47 UTC
*** Bug 200025 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2009-07-15 00:37:15 UTC
*** Bug 200080 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2009-07-15 00:51:36 UTC
*** Bug 200195 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-07-15 16:37:33 UTC
*** Bug 200312 has been marked as a duplicate of this bug. ***
Comment 7 Kevin Krammer 2009-07-18 18:13:14 UTC
SVN commit 998811 by krake:

Do not delete the incidence pointer, it is stored in an internal list of CalendarLocal which is set to AutoDelete and will delete the pointers on Calendar::close()

BUG: 198714
BUG: 198634



 M  +0 -4      resourceakonadi_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=998811
Comment 8 Kevin Krammer 2009-07-18 18:14:54 UTC
SVN commit 998815 by krake:

Backport of revision 998811

Do not delete the incidence pointer, it is stored in an internal list of CalendarLocal which is set to AutoDelete and will delete the pointers on Calendar::close()

CCBUG: 198714
CCBUG: 198634



 M  +0 -4      resourceakonadi_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=998815
Comment 9 Christophe Marin 2009-07-23 11:05:14 UTC
*** Bug 201198 has been marked as a duplicate of this bug. ***