Application: korganizer (4.8.5) KDE Platform Version: 4.8.5 (4.8.5) Qt Version: 4.8.1 Operating System: Linux 3.2.0-32-generic x86_64 Distribution: Ubuntu 12.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: The first time, I had the Korganizer panel open, and I marked a ToDo completed. Kontact immediately crashed, then crashed at startup every time I tried to restart it. Also korganizer alone crashes on startup, while I can start KMail alone, so it's Korganizer that is crashing. - Possible complications: 1.The TODO I marked completed had two subtodos, both not completed 2.The calendar file (.ics) is stored remotely (via sftp) - What I tried already: Reverting the task to 0% completed, both in remote file, and in local copy /var/tmp/kdecache-myname/akonadi/akonadi_ical_resource_1 (both setting PERCENT_COMPLETED to 0% and removing STATUS:COMPLETED ) Does not help The crash can be reproduced every time. -- Backtrace: Application: KOrganizer (korganizer), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [KCrash Handler] #6 QSortFilterProxyModelPrivate::proxy_to_source (this=0x1929c20, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370 #7 0x00007fde02f77edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502 #8 0x00007fde02f7916d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996 #9 0x00007fde02f7dc8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x1929c20, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160 #10 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1930900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0ce40) at kernel/qobject.cpp:3547 #11 0x00007fde02031507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164 #12 0x00007fde0396bec5 in KOTodoModel::reloadTodos (this=0x1930900) at ../../korganizer/views/todoview/kotodomodel.cpp:264 #13 0x00007fde03976759 in KOTodoView::updateView (this=0x1857bd0) at ../../korganizer/views/todoview/kotodoview.cpp:432 #14 0x00007fde0398fbca in CalendarView::updateView (this=0x1871970, start=..., end=..., preferredMonth=..., updateTodos=true) at ../../korganizer/calendarview.cpp:864 #15 0x00007fde0398fc9a in CalendarView::updateView (this=0x1871970) at ../../korganizer/calendarview.cpp:882 #16 0x00007fde039a5712 in CalendarView::qt_static_metacall (_o=0x1871970, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./calendarview.moc:574 #17 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c7e960, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547 #18 0x00007fde039df282 in AkonadiCollectionView::rowsInserted (this=0x1c7e960) at ../../korganizer/akonadicollectionview.cpp:548 #19 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c63120, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0d560) at kernel/qobject.cpp:3547 #20 0x00007fde02031644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #21 0x00007fde01fcb02d in QAbstractItemModel::endInsertRows (this=0x1c63120) at kernel/qabstractitemmodel.cpp:2433 #22 0x00007fde02f78cf7 in QSortFilterProxyModelPrivate::insert_source_items (this=0x1c63140, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695 #23 0x00007fde02f7ce33 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x1c63140, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806 #24 0x00007fde02f7d14f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1c63140, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280 #25 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c7ae50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0d8c0) at kernel/qobject.cpp:3547 #26 0x00007fde02031644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #27 0x00007fde01fcb02d in QAbstractItemModel::endInsertRows (this=0x1c7ae50) at kernel/qabstractitemmodel.cpp:2433 #28 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c79dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0da80) at kernel/qobject.cpp:3547 #29 0x00007fde02031644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #30 0x00007fde01fcb02d in QAbstractItemModel::endInsertRows (this=0x1c79dc0) at kernel/qabstractitemmodel.cpp:2433 #31 0x00007fde02f78cf7 in QSortFilterProxyModelPrivate::insert_source_items (this=0x1c7a1d0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695 #32 0x00007fde02f7ce33 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x1c7a1d0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806 #33 0x00007fde02f7d14f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1c7a1d0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280 #34 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c79690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0dde0) at kernel/qobject.cpp:3547 #35 0x00007fde02031644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #36 0x00007fde01fcb02d in QAbstractItemModel::endInsertRows (this=0x1c79690) at kernel/qabstractitemmodel.cpp:2433 #37 0x00007fde02f78cf7 in QSortFilterProxyModelPrivate::insert_source_items (this=0x1c796b0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695 #38 0x00007fde02f7ce33 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x1c796b0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806 #39 0x00007fde02f7d14f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1c796b0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280 #40 0x00007fde01fe5281 in QMetaObject::activate (sender=0x1c530b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0e140) at kernel/qobject.cpp:3547 #41 0x00007fde02031644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #42 0x00007fde01fcb02d in QAbstractItemModel::endInsertRows (this=0x1c530b0) at kernel/qabstractitemmodel.cpp:2433 #43 0x00007fddfd771262 in Akonadi::EntityTreeModelPrivate::collectionsFetched (this=0x1c531f0, collections=...) at ../../akonadi/entitytreemodel_p.cpp:476 #44 0x00007fde01fe5281 in QMetaObject::activate (sender=0x2025510, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0e550) at kernel/qobject.cpp:3547 #45 0x00007fddfd720b32 in Akonadi::CollectionFetchJob::collectionsReceived (this=<optimized out>, _t1=...) at ./collectionfetchjob.moc:109 #46 0x00007fddfd723aab in timeout (this=0x22f5240) at ../../akonadi/collectionfetchjob.cpp:76 #47 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./collectionfetchjob.moc:59 #48 Akonadi::CollectionFetchJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./collectionfetchjob.moc:51 #49 0x00007fde01fe5281 in QMetaObject::activate (sender=0x2025510, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5c0e6c0) at kernel/qobject.cpp:3547 #50 0x00007fde0245b152 in KJob::result (this=<optimized out>, _t1=0x2025510) at ./kjob.moc:208 #51 0x00007fde0245b190 in KJob::emitResult (this=0x2025510) at ../../kdecore/jobs/kjob.cpp:318 #52 0x00007fde01fea446 in QObject::event (this=0x2025510, e=<optimized out>) at kernel/qobject.cpp:1195 #53 0x00007fde029ca894 in notify_helper (e=0x2a1ed70, receiver=0x2025510, this=0x170b130) at kernel/qapplication.cpp:4559 #54 QApplicationPrivate::notify_helper (this=0x170b130, receiver=0x2025510, e=0x2a1ed70) at kernel/qapplication.cpp:4531 #55 0x00007fde029cf713 in QApplication::notify (this=0x7ffff5c0f030, receiver=0x2025510, e=0x2a1ed70) at kernel/qapplication.cpp:4420 #56 0x00007fde04aa73f6 in KApplication::notify (this=0x7ffff5c0f030, receiver=0x2025510, event=0x2a1ed70) at ../../kdeui/kernel/kapplication.cpp:311 #57 0x00007fde01fd0e9c in QCoreApplication::notifyInternal (this=0x7ffff5c0f030, receiver=0x2025510, event=0x2a1ed70) at kernel/qcoreapplication.cpp:876 #58 0x00007fde01fd4c6a in sendEvent (event=0x2a1ed70, receiver=0x2025510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #59 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x16d2380) at kernel/qcoreapplication.cpp:1500 #60 0x00007fde01ffff93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #61 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279 #62 0x00007fddfb22dd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #63 0x00007fddfb22e0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #64 0x00007fddfb22e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #65 0x00007fde020003bf in QEventDispatcherGlib::processEvents (this=0x16d3c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #66 0x00007fde02a72d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #67 0x00007fde01fcfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #68 0x00007fde01fcfed7 in QEventLoop::exec (this=0x7ffff5c0efe0, flags=...) at kernel/qeventloop.cpp:204 #69 0x00007fde01fd4f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #70 0x0000000000407df6 in main (argc=<optimized out>, argv=<optimized out>) at ../../korganizer/main.cpp:67 This bug may be a duplicate of or related to bug 304848. Possible duplicates by query: bug 307026, bug 305924, bug 304849, bug 304848, bug 304582. Reported using DrKonqi
I tried to delete the calendar, and add it again pointing to the same remote file, and it works without problems. I then right clicked -> Use as default calendar, and it crashed again. Also this one is reproducible. The advantage for me is that now it restarts, with the calendar not selected. So if I just use it wothout setting it as default, no problem. If necessary I can upload a new bug report.
Update: it also crashes if I switch to ToDo view after the calendar is loaded
It also crashes if I unselect the calendar
Fixed, will be in 4.11.