Version: unknown (using 4.00.62 (KDE 4.0.62 >= 20080213), compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.24-8-generic KDEPIM Rev. 777540 Trace : Application: Kontact (kontact), signal SIGSEGV Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb53d7720 (LWP 4387)] [New Thread 0xb1419b90 (LWP 4399)] [KCrash handler] #6 0xb7065dcc in QPainter::worldMatrixEnabled (this=0xaa302e8) at painting/qpainter.cpp:2551 #7 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa2fbd0, pdev=0x8084544, siblings=@0xbffa6cd0, index=4, rgn=@0xbffa6d9c, offset=@0xbffa6d74, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #8 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa2fbd0, pdev=0x8084544, rgn=@0xbffa6d9c, offset=@0xbffa6d74, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #9 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa2f838, pdev=0x8084544, siblings=@0xbffa6f10, index=1, rgn=@0xbffa6fdc, offset=@0xbffa6fb4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #10 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa2f838, pdev=0x8084544, rgn=@0xbffa6fdc, offset=@0xbffa6fb4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #11 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa26f80, pdev=0x8084544, siblings=@0xbffa7150, index=5, rgn=@0xbffa721c, offset=@0xbffa71f4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #12 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa26f80, pdev=0x8084544, rgn=@0xbffa721c, offset=@0xbffa71f4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #13 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa279f0, pdev=0x8084544, siblings=@0xbffa7440, index=2, rgn=@0xbffa72cc, offset=@0xbffa74e4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #14 0xb6fd41ae in QWidgetPrivate::paintSiblingsRecursive (this=0xaa279f0, pdev=0x8084544, siblings=@0xbffa7440, index=3, rgn=@0xbffa750c, offset=@0xbffa74e4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4470 #15 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa279f0, pdev=0x8084544, rgn=@0xbffa750c, offset=@0xbffa74e4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #16 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa276d0, pdev=0x8084544, siblings=@0xbffa77e0, index=1, rgn=@0xbffa75bc, offset=@0xbffa7884, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #17 0xb6fd41ae in QWidgetPrivate::paintSiblingsRecursive (this=0xaa276d0, pdev=0x8084544, siblings=@0xbffa77e0, index=2, rgn=@0xbffa766c, offset=@0xbffa7884, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4470 #18 0xb6fd41ae in QWidgetPrivate::paintSiblingsRecursive (this=0xaa276d0, pdev=0x8084544, siblings=@0xbffa77e0, index=3, rgn=@0xbffa78ac, offset=@0xbffa7884, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4470 #19 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa276d0, pdev=0x8084544, rgn=@0xbffa78ac, offset=@0xbffa7884, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #20 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa19cf0, pdev=0x8084544, siblings=@0xbffa7a20, index=1, rgn=@0xbffa7aec, offset=@0xbffa7ac4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #21 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa19cf0, pdev=0x8084544, rgn=@0xbffa7aec, offset=@0xbffa7ac4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #22 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xaa179b8, pdev=0x8084544, siblings=@0xbffa7c60, index=2, rgn=@0xbffa7d2c, offset=@0xbffa7d04, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #23 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xaa179b8, pdev=0x8084544, rgn=@0xbffa7d2c, offset=@0xbffa7d04, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #24 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xa9b3428, pdev=0x8084544, siblings=@0xbffa7f50, index=2, rgn=@0xbffa7ddc, offset=@0xbffa7ff4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #25 0xb6fd41ae in QWidgetPrivate::paintSiblingsRecursive (this=0xa9b3428, pdev=0x8084544, siblings=@0xbffa7f50, index=3, rgn=@0xbffa801c, offset=@0xbffa7ff4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4470 #26 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xa9b3428, pdev=0x8084544, rgn=@0xbffa801c, offset=@0xbffa7ff4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #27 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0xa5e81f0, pdev=0x8084544, siblings=@0xbffa8190, index=5, rgn=@0xbffa825c, offset=@0xbffa8234, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #28 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0xa5e81f0, pdev=0x8084544, rgn=@0xbffa825c, offset=@0xbffa8234, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #29 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x9820f48, pdev=0x8084544, siblings=@0xbffa83d0, index=1, rgn=@0xbffa849c, offset=@0xbffa8474, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #30 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x9820f48, pdev=0x8084544, rgn=@0xbffa849c, offset=@0xbffa8474, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #31 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x8182690, pdev=0x8084544, siblings=@0xbffa8610, index=8, rgn=@0xbffa86dc, offset=@0xbffa86b4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #32 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x8182690, pdev=0x8084544, rgn=@0xbffa86dc, offset=@0xbffa86b4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #33 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x8141080, pdev=0x8084544, siblings=@0xbffa8850, index=1, rgn=@0xbffa891c, offset=@0xbffa88f4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #34 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x8141080, pdev=0x8084544, rgn=@0xbffa891c, offset=@0xbffa88f4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #35 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x81532f8, pdev=0x8084544, siblings=@0xbffa8a90, index=3, rgn=@0xbffa8b5c, offset=@0xbffa8b34, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #36 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x81532f8, pdev=0x8084544, rgn=@0xbffa8b5c, offset=@0xbffa8b34, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #37 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x8152f60, pdev=0x8084544, siblings=@0xbffa8cd0, index=2, rgn=@0xbffa8d9c, offset=@0xbffa8d74, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #38 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x8152f60, pdev=0x8084544, rgn=@0xbffa8d9c, offset=@0xbffa8d74, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #39 0xb6fd429e in QWidgetPrivate::paintSiblingsRecursive (this=0x80e08a0, pdev=0x8084544, siblings=@0xbffa8fc0, index=6, rgn=@0xbffa8e4c, offset=@0x80e8cc4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4480 #40 0xb6fd41ae in QWidgetPrivate::paintSiblingsRecursive (this=0x80e08a0, pdev=0x8084544, siblings=@0xbffa8fc0, index=49, rgn=@0xbffa90b4, offset=@0x80e8cc4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4470 #41 0xb6fd37c7 in QWidgetPrivate::drawWidget (this=0x80e08a0, pdev=0x8084544, rgn=@0xbffa90b4, offset=@0x80e8cc4, flags=4, sharedPainter=0xa9ae338) at kernel/qwidget.cpp:4423 #42 0xb7111153 in QWidgetBackingStore::cleanRegion (this=0x80e8cb8, rgn=@0xbffa9108, widget=0x80e07d0, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1041 #43 0xb71114e7 in qt_syncBackingStore (widget=0x80e07d0) at painting/qbackingstore.cpp:315 #44 0xb6fd2b1f in QWidget::event (this=0x80e07d0, event=0xbffa9620) at kernel/qwidget.cpp:7090 #45 0xb72cc615 in QMainWindow::event (this=0x80e07d0, event=0xbffa9620) at widgets/qmainwindow.cpp:1252 #46 0xb7b4afaf in KMainWindow::event () from /opt/kde4.4/lib/libkdeui.so.5 #47 0xb7b82c2c in KXmlGuiWindow::event () from /opt/kde4.4/lib/libkdeui.so.5 #48 0xb6f861dc in QApplicationPrivate::notify_helper (this=0x8065c70, receiver=0x80e07d0, e=0x80e07d0) at kernel/qapplication.cpp:3757 #49 0xb6f8cd18 in QApplication::notify (this=0xbffaae1c, receiver=0x80e07d0, e=0xbffa9620) at kernel/qapplication.cpp:3724 #50 0xb7a926ed in KApplication::notify () from /opt/kde4.4/lib/libkdeui.so.5 #51 0xb7f28db9 in QCoreApplication::notifyInternal (this=0xbffaae1c, receiver=0x80e07d0, event=0xbffa9620) at kernel/qcoreapplication.cpp:582 #52 0xb6ffbb61 in QWidgetPrivate::dirtyWidget_sys (this=0x80e08a0, rgn=@0xbffa9694, updateImmediately=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #53 0xb710f8b7 in QWidgetBackingStore::dirtyRegion (this=0x80e8cb8, rgn=@0xbffa9734, widget=0x817c728, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:628 #54 0xb7110cd9 in QWidget::repaint (this=0x817c728, rgn=@0xbffa9778) at painting/qbackingstore.cpp:1145 #55 0xb6fcbc65 in QWidget::repaint (this=0x817c728) at kernel/qwidget.cpp:8556 #56 0xb7311b59 in QStatusBar::reformat (this=0x817c728) at widgets/qstatusbar.cpp:535 #57 0xb73127da in QStatusBar::removeWidget (this=0x817c728, widget=0xa7fbad8) at widgets/qstatusbar.cpp:419 #58 0xb7b65657 in KStatusBar::removeItem () from /opt/kde4.4/lib/libkdeui.so.5 #59 0xab49684f in KAddressbookPart::guiActivateEvent () from /opt/kde4.4/lib/kde4/kaddressbookpart.so #60 0xb76a0708 in KParts::Part::customEvent () from /opt/kde4.4/lib/libkparts.so.4 #61 0xb7f378e2 in QObject::event (this=0xa4f30c8, e=0xa792684) at kernel/qobject.cpp:1157 #62 0xb6f861dc in QApplicationPrivate::notify_helper (this=0x8065c70, receiver=0xa4f30c8, e=0xbffa9d28) at kernel/qapplication.cpp:3757 #63 0xb6f8cc29 in QApplication::notify (this=0xbffaae1c, receiver=0xa4f30c8, e=0xbffa9d28) at kernel/qapplication.cpp:3351 #64 0xb7a926ed in KApplication::notify () from /opt/kde4.4/lib/libkdeui.so.5 #65 0xb7f28db9 in QCoreApplication::notifyInternal (this=0xbffaae1c, receiver=0xa4f30c8, event=0xbffa9d28) at kernel/qcoreapplication.cpp:582 #66 0xb76ab4b3 in KParts::MainWindow::createGUI () from /opt/kde4.4/lib/libkparts.so.4 #67 0xb6556255 in Kontact::MainWindow::selectPlugin () from /opt/kde4.4/lib/libkontact.so.4 #68 0xb65578d1 in Kontact::MainWindow::qt_metacall () from /opt/kde4.4/lib/libkontact.so.4 #69 0xb7f3929a in QMetaObject::activate (sender=0x81538a8, from_signal_index=27, to_signal_index=27, argv=0xbffa9f8c) at kernel/qobject.cpp:2992 #70 0xb7f396e2 in QMetaObject::activate (sender=0x81538a8, m=0xb6563970, local_signal_index=0, argv=0xbffa9f8c) at kernel/qobject.cpp:3065 #71 0xb6559663 in Kontact::SidePaneBase::pluginSelected () from /opt/kde4.4/lib/libkontact.so.4 #72 0xb6559756 in Kontact::SidePaneBase::qt_metacall () from /opt/kde4.4/lib/libkontact.so.4 #73 0xb6559a8a in Kontact::IconSidePane::qt_metacall () from /opt/kde4.4/lib/libkontact.so.4 #74 0xb7f3929a in QMetaObject::activate (sender=0x81540b8, from_signal_index=89, to_signal_index=89, argv=0xbffaa0bc) at kernel/qobject.cpp:2992 #75 0xb7f396e2 in QMetaObject::activate (sender=0x81540b8, m=0xb6563a9c, local_signal_index=0, argv=0xbffaa0bc) at kernel/qobject.cpp:3065 #76 0xb6559be3 in Kontact::Navigator::pluginActivated () from /opt/kde4.4/lib/libkontact.so.4 #77 0xb6790ee4 in Q3ListBox::mousePressEventEx (this=0x81540b8, e=0xbffaa414) at itemviews/q3listbox.cpp:1838 #78 0xb67914a4 in Q3ListBox::mousePressEvent (this=0x81540b8, e=0xbffaa414) at itemviews/q3listbox.cpp:1810 #79 0xb6fd2f73 in QWidget::event (this=0x81540b8, event=0xbffaa414) at kernel/qwidget.cpp:6804 #80 0xb72b25f3 in QFrame::event (this=0x81540b8, e=0xbffaa414) at widgets/qframe.cpp:657 #81 0xb6f861dc in QApplicationPrivate::notify_helper (this=0x8065c70, receiver=0x81540b8, e=0xbffaa414) at kernel/qapplication.cpp:3757 #82 0xb6f8d1f5 in QApplication::notify (this=0xbffaae1c, receiver=0x8154858, e=0xbffaa67c) at kernel/qapplication.cpp:3486 #83 0xb7a926ed in KApplication::notify () from /opt/kde4.4/lib/libkdeui.so.5 #84 0xb7f28db9 in QCoreApplication::notifyInternal (this=0xbffaae1c, receiver=0x8154858, event=0xbffaa67c) at kernel/qcoreapplication.cpp:582 #85 0xb6f8c2c0 in QApplicationPrivate::sendMouseEvent (receiver=0x8154858, event=0xbffaa67c, alienWidget=0x8154858, nativeWidget=0x8153118, buttonDown=0xb7590550, lastMouseReceiver=@0xb7590554) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #86 0xb6fe7bad in QETWidget::translateMouseEvent (this=0x8153118, event=0xbffaab88) at kernel/qapplication_x11.cpp:4157 #87 0xb6fe7297 in QApplication::x11ProcessEvent (this=0xbffaae1c, event=0xbffaab88) at kernel/qapplication_x11.cpp:3157 #88 0xb700b88a in x11EventSourceDispatch (s=0x8068bb8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #89 0xb5862d36 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #90 0xb58660f3 in ?? () from /usr/lib/libglib-2.0.so.0 #91 0x08067e98 in ?? () #92 0x00000000 in ?? () #0 0xb7fcb410 in __kernel_vsyscall ()
It crash because korganizer is crashing at startup. You shouldn't be able to start korganizer as a standalone application, right? *** This bug has been marked as a duplicate of 158092 ***
*** Bug 172815 has been marked as a duplicate of this bug. ***
*** Bug 177895 has been marked as a duplicate of this bug. ***
*** Bug 179444 has been marked as a duplicate of this bug. ***
Reopening, still happening in trunk.
Ok, for me it is happening when I use the Akonadi resource (doesn't happen if I use the normal resources). I have sub-todos, if that plays a role here. Can be triggered always be switching from summary to calendar. Relevant valgrind log: ==27188== Invalid read of size 4 ==27188== at 0x4DBCFB0: KCal::Incidence::descriptionIsRich() const (incidence.cpp:389) ==27188== by 0x10D6B8F3: KOTodoModel::data(QModelIndex const&, int) const (kotodomodel.cpp:728) ==27188== by 0x62DF688: QSortFilterProxyModel::data(QModelIndex const&, int) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x10D71EAC: QModelIndex::data(int) const (qabstractitemmodel.h:367) ==27188== by 0x10D6FD33: KOTodoRichTextDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const (kotododelegates.cpp:466) ==27188== by 0x6295C28: QTreeView::indexRowSizeHint(QModelIndex const&) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6295D6D: QTreeViewPrivate::itemHeight(int) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6295EEE: QTreeViewPrivate::updateScrollBars() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6299879: QTreeView::updateGeometries() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x625C625: QAbstractItemView::doItemsLayout() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x62A2798: QTreeView::doItemsLayout() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6265A77: QAbstractItemView::timerEvent(QTimerEvent*) (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== Address 0xEB05454 is 20 bytes inside a block of size 28 free'd ==27188== at 0x4022156: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==27188== by 0x4DC54DF: KCal::Todo::~Todo() (todo.cpp:102) ==27188== by 0x4DF2AC1: void qDeleteAll<QHash<QString, KCal::Todo*>::const_iterator>(QHash<QString, KCal::Todo*>::const_iterator, QHash<QString, KCal::Todo*>::const_iterator) (qalgorithms.h:346) ==27188== by 0x4DF2B27: void qDeleteAll<QHash<QString, KCal::Todo*> >(QHash<QString, KCal::Todo*> const&) (qalgorithms.h:354) ==27188== by 0x4DED5F7: KCal::CalendarLocal::deleteAllTodos() (calendarlocal.cpp:294) ==27188== by 0x4DEF5CA: KCal::CalendarLocal::close() (calendarlocal.cpp:168) ==27188== by 0xF1849BF: KCal::ResourceAkonadi::doLoad(bool) (resourceakonadi.cpp:660) ==27188== by 0x4E2955D: KCal::ResourceCalendar::load() (resourcecalendar.cpp:168) ==27188== by 0x4E3919F: KCal::CalendarResources::load() (calendarresources.cpp:272) ==27188== by 0x10CC2F1E: KOrganizerPart::KOrganizerPart(QWidget*, QObject*, QList<QVariant> const&) (korganizer_part.cpp:88) ==27188== by 0x10CC3ECD: QObject* KPluginFactory::createPartInstance<KOrganizerPart>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:467) ==27188== by 0x59D1E17: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:191)==27188== Invalid read of size 4 ==27188== at 0x4DBCFB0: KCal::Incidence::descriptionIsRich() const (incidence.cpp:389) ==27188== by 0x10D6B8F3: KOTodoModel::data(QModelIndex const&, int) const (kotodomodel.cpp:728) ==27188== by 0x62DF688: QSortFilterProxyModel::data(QModelIndex const&, int) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x10D71EAC: QModelIndex::data(int) const (qabstractitemmodel.h:367) ==27188== by 0x10D6FD33: KOTodoRichTextDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const (kotododelegates.cpp:466) ==27188== by 0x6295C28: QTreeView::indexRowSizeHint(QModelIndex const&) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6295D6D: QTreeViewPrivate::itemHeight(int) const (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6295EEE: QTreeViewPrivate::updateScrollBars() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6299879: QTreeView::updateGeometries() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x625C625: QAbstractItemView::doItemsLayout() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x62A2798: QTreeView::doItemsLayout() (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== by 0x6265A77: QAbstractItemView::timerEvent(QTimerEvent*) (in /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4.4.3) ==27188== Address 0xEB05454 is 20 bytes inside a block of size 28 free'd ==27188== at 0x4022156: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==27188== by 0x4DC54DF: KCal::Todo::~Todo() (todo.cpp:102) ==27188== by 0x4DF2AC1: void qDeleteAll<QHash<QString, KCal::Todo*>::const_iterator>(QHash<QString, KCal::Todo*>::const_iterator, QHash<QString, KCal::Todo*>::const_iterator) (qalgorithms.h:346) ==27188== by 0x4DF2B27: void qDeleteAll<QHash<QString, KCal::Todo*> >(QHash<QString, KCal::Todo*> const&) (qalgorithms.h:354) ==27188== by 0x4DED5F7: KCal::CalendarLocal::deleteAllTodos() (calendarlocal.cpp:294) ==27188== by 0x4DEF5CA: KCal::CalendarLocal::close() (calendarlocal.cpp:168) ==27188== by 0xF1849BF: KCal::ResourceAkonadi::doLoad(bool) (resourceakonadi.cpp:660) ==27188== by 0x4E2955D: KCal::ResourceCalendar::load() (resourcecalendar.cpp:168) ==27188== by 0x4E3919F: KCal::CalendarResources::load() (calendarresources.cpp:272) ==27188== by 0x10CC2F1E: KOrganizerPart::KOrganizerPart(QWidget*, QObject*, QList<QVariant> const&) (korganizer_part.cpp:88) ==27188== by 0x10CC3ECD: QObject* KPluginFactory::createPartInstance<KOrganizerPart>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:467) ==27188== by 0x59D1E17: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:191) Once, I didn't get the paintEvent/paintSiblings backtrace, but the following: #0 0xffffe403 in __kernel_vsyscall () #1 0xb583d8d6 in nanosleep () from /lib/libc.so.6 #2 0xb583d6b7 in sleep () from /lib/libc.so.6 #3 0xb69115ea in KCrash::startDrKonqi (argv=0xbfcc2884, argc=17) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/util/kcrash.cpp:412 #4 0xb6912035 in KCrash::defaultCrashHandler (sig=11) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/util/kcrash.cpp:337 #5 <signal handler called> #6 0xb62ec11b in QDateTime::date () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #7 0xb659fcc0 in KDateTimePrivate::date (this=0x91ae390) at /media/kdedev/trunk/src/KDE/kdelibs/kdecore/date/kdatetime.cpp:376 #8 0xb6594741 in KDateTime::date (this=0xbfcc2ca0) at /media/kdedev/trunk/src/KDE/kdelibs/kdecore/date/kdatetime.cpp:833 #9 0xafddc073 in KOTodoModel::data (this=0x91674d8, index=@0xbfcc2d70, role=0) at /media/kdedev/trunk/src/KDE/kdepim/korganizer/views/todoview/kotodomodel.cpp:636 #10 0xb5fac689 in QSortFilterProxyModel::data () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #11 0xb5dc4ba1 in QModelIndex::data () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #12 0xb5fd0889 in QStyledItemDelegate::initStyleOption () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #13 0xb5fd0004 in QStyledItemDelegate::sizeHint () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #14 0xb5f62c29 in QTreeView::indexRowSizeHint () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #15 0xb5f62d6e in QTreeViewPrivate::itemHeight () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #16 0xb5f62eef in QTreeViewPrivate::updateScrollBars () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #17 0xb5f6687a in QTreeView::updateGeometries () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #18 0xb5f29626 in QAbstractItemView::doItemsLayout () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #19 0xb5f6f799 in QTreeView::doItemsLayout () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #20 0xb5f32a78 in QAbstractItemView::timerEvent () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #21 0xb5f6ecfa in QTreeView::timerEvent () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #22 0xb63e7d08 in QObject::event () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #23 0xb5a80eda in QWidget::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #24 0xb5df2dac in QFrame::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #25 0xb5e8cb5a in QAbstractScrollArea::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #26 0xb5f301f2 in QAbstractItemView::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #27 0xb5a222cd in QApplicationPrivate::notify_helper () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #28 0xb5a23ef5 in QApplication::notify () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #29 0xb68a16dd in KApplication::notify (this=0xbfcc5ac4, receiver=0x9148cf8, event=0xbfcc3b54) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #30 0xb63d4c66 in QCoreApplication::notifyInternal () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #31 0xb783ffad in QCoreApplication::sendEvent (receiver=0x9148cf8, event=0xbfcc3b54) at /media/kdedev/trunk/qt-copy/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #32 0xb64079a5 in QTimerInfoList::activateTimers () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #33 0xb640524c in timerSourceDispatch () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #34 0xb4ff65d6 in g_main_context_dispatch () from /usr//lib/libglib-2.0.so.0 #35 0xb4ff9972 in ?? () from /usr//lib/libglib-2.0.so.0 #36 0x08066508 in ?? () #37 0x00000000 in ?? ()#0 0xffffe403 in __kernel_vsyscall () #1 0xb583d8d6 in nanosleep () from /lib/libc.so.6 #2 0xb583d6b7 in sleep () from /lib/libc.so.6 #3 0xb69115ea in KCrash::startDrKonqi (argv=0xbfcc2884, argc=17) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/util/kcrash.cpp:412 #4 0xb6912035 in KCrash::defaultCrashHandler (sig=11) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/util/kcrash.cpp:337 #5 <signal handler called> #6 0xb62ec11b in QDateTime::date () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #7 0xb659fcc0 in KDateTimePrivate::date (this=0x91ae390) at /media/kdedev/trunk/src/KDE/kdelibs/kdecore/date/kdatetime.cpp:376 #8 0xb6594741 in KDateTime::date (this=0xbfcc2ca0) at /media/kdedev/trunk/src/KDE/kdelibs/kdecore/date/kdatetime.cpp:833 #9 0xafddc073 in KOTodoModel::data (this=0x91674d8, index=@0xbfcc2d70, role=0) at /media/kdedev/trunk/src/KDE/kdepim/korganizer/views/todoview/kotodomodel.cpp:636 #10 0xb5fac689 in QSortFilterProxyModel::data () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #11 0xb5dc4ba1 in QModelIndex::data () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #12 0xb5fd0889 in QStyledItemDelegate::initStyleOption () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #13 0xb5fd0004 in QStyledItemDelegate::sizeHint () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #14 0xb5f62c29 in QTreeView::indexRowSizeHint () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #15 0xb5f62d6e in QTreeViewPrivate::itemHeight () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #16 0xb5f62eef in QTreeViewPrivate::updateScrollBars () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #17 0xb5f6687a in QTreeView::updateGeometries () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #18 0xb5f29626 in QAbstractItemView::doItemsLayout () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #19 0xb5f6f799 in QTreeView::doItemsLayout () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #20 0xb5f32a78 in QAbstractItemView::timerEvent () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #21 0xb5f6ecfa in QTreeView::timerEvent () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #22 0xb63e7d08 in QObject::event () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #23 0xb5a80eda in QWidget::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #24 0xb5df2dac in QFrame::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #25 0xb5e8cb5a in QAbstractScrollArea::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #26 0xb5f301f2 in QAbstractItemView::event () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #27 0xb5a222cd in QApplicationPrivate::notify_helper () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #28 0xb5a23ef5 in QApplication::notify () from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4 #29 0xb68a16dd in KApplication::notify (this=0xbfcc5ac4, receiver=0x9148cf8, event=0xbfcc3b54) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #30 0xb63d4c66 in QCoreApplication::notifyInternal () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #31 0xb783ffad in QCoreApplication::sendEvent (receiver=0x9148cf8, event=0xbfcc3b54) at /media/kdedev/trunk/qt-copy/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #32 0xb64079a5 in QTimerInfoList::activateTimers () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #33 0xb640524c in timerSourceDispatch () from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4 #34 0xb4ff65d6 in g_main_context_dispatch () from /usr//lib/libglib-2.0.so.0 #35 0xb4ff9972 in ?? () from /usr//lib/libglib-2.0.so.0 #36 0x08066508 in ?? () #37 0x00000000 in ?? ()
(In reply to comment #6) > Ok, for me it is happening when I use the Akonadi resource (doesn't happen if I > use the normal resources). > I have sub-todos, if that plays a role here. FWIW, I'm also using the Akonadi resource and I also have some (completed) sub-todos.
*** Bug 179689 has been marked as a duplicate of this bug. ***
Reassigning to the Akonadi kresource bridge, as this doesn't happen with other resources.
Adding Kevin to the CC list. Kevin, please look at the valgrind output in comment #6, to me it seems that the Akonadi resource does some double-delete of the todos, and this probably triggers the paint event crash later on.
Isn't the original backtrace fixed by the 0256-fix-recursive-backingstore-sync-crash.diff patch ? (I though it was...)
SVN commit 923208 by krake: Using nested event loops to achieve synchronous call behavior while doing Akonadi jobs has created way to many issues due to unexpected re-entrancy. This is basically backport of a series of changes in trunk which replace this form of blocking with real blocking of the caller and delegating the Akonadi job execution to a worker thread. This should fix all the bugs this is sent to. If they remain with 4.2.1 once it is released, please re-open. Darío, in case I missed some of the eventloop related bugs, please feel free to close them as well. BUG: 177294 BUG: 158129 BUG: 182475 BUG: 178869 BUG: 179577 BUG: 179838 BUG: 180384 BUG: 181153 BUG: 181966 BUG: 182833 BUG: 182956 BUG: 183187 M +210 -55 kabc/resourceakonadi.cpp M +202 -54 kcal/resourceakonadi.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=923208
*** Bug 225713 has been marked as a duplicate of this bug. ***