Bug 304848

Summary: KOrganizer crashes w/ seg fault upon marking task complete
Product: [Applications] korganizer Reporter: Michael Hammond <bugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Hammond 2012-08-09 12:29:00 UTC
Application: korganizer (4.8.4- ())
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
In the Todo view of KOrganizer, started independently, not from Kontact.  Filter view active, which included hiding completed items.  Set percent complete for several items using right click and selecting %.  Clicked on checkbox of another item to mark complete.  Dialog box started to come up and the application crashed.

Touchpad disabled in X:
xinput --set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Enabled" 0
Using USB mouse instead.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f31dbc117c0 (LWP 4260))]

Thread 2 (Thread 0x7f31bfd19700 (LWP 5246)):
#0  0x00007f31d81dfb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f31d1da5036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f31d1da5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f31d8b76426 in QEventDispatcherGlib::processEvents (this=0x7f31b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f31d8b45c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f31d8b45ed7 in QEventLoop::exec (this=0x7f31bfd18d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f31d8a44fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f31d8b259ff in QInotifyFileSystemWatcherEngine::run (this=0x25456b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f31d8a47fcb in QThreadPrivate::start (arg=0x25456b0) at thread/qthread_unix.cpp:298
#9  0x00007f31d2271e9a in start_thread (arg=0x7f31bfd19700) at pthread_create.c:308
#10 0x00007f31d81eb4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f31dbc117c0 (LWP 4260)):
[KCrash Handler]
#6  end (this=0x100000048) at ../../akonadi/item.cpp:481
#7  hasMetaTypeId (mtid=-1, this=0x100000000) at ../../akonadi/item_p.h:222
#8  Akonadi::Item::hasPayload (this=<optimized out>) at ../../akonadi/item.cpp:260
#9  0x00007f31d2f52a79 in Akonadi::Item::hasPayload<QSharedPointer<KCalCore::Todo> > (this=0x2fb8040) at /usr/include/KDE/Akonadi/../../akonadi/item.h:576
#10 0x00007f31da4dc857 in isValid (this=0x2fb8030) at ../../korganizer/views/todoview/kotodomodel.cpp:90
#11 rowCount (parent=..., this=<optimized out>) at ../../korganizer/views/todoview/kotodomodel.cpp:645
#12 KOTodoModel::rowCount (this=<optimized out>, parent=...) at ../../korganizer/views/todoview/kotodomodel.cpp:636
#13 0x00007f31da4dc8cc in KOTodoModel::index (this=0x2210870, row=1, column=35719280, parent=...) at ../../korganizer/views/todoview/kotodomodel.cpp:600
#14 0x00007f31d9aeedd9 in QSortFilterProxyModelPrivate::proxy_to_source (this=<optimized out>, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:374
#15 0x00007f31d9aeeedd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#16 0x00007f31d9af016d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#17 0x00007f31d9af4c8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x22257c0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
#18 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x2210870, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba2bb0) at kernel/qobject.cpp:3547
#19 0x00007f31d8ba7507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#20 0x00007f31da4e2d65 in KOTodoModel::reloadTodos (this=0x2210870) at ../../korganizer/views/todoview/kotodomodel.cpp:264
#21 0x00007f31da51e87e in KOViewManager::updateView (this=0x2158d50, start=..., end=..., preferredMonth=...) at ../../korganizer/koviewmanager.cpp:285
#22 0x00007f31da506a56 in CalendarView::updateView (this=0x211ed00, start=..., end=..., preferredMonth=..., updateTodos=true) at ../../korganizer/calendarview.cpp:868
#23 0x00007f31da506aea in CalendarView::updateView (this=0x211ed00) at ../../korganizer/calendarview.cpp:882
#24 0x00007f31da51c562 in CalendarView::qt_static_metacall (_o=0x211ed00, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./calendarview.moc:574
#25 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x250b9f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#26 0x00007f31d2f03641 in CalendarSupport::Calendar::Private::dataChanged (this=0x25099a0, topLeft=..., bottomRight=...) at ../../calendarsupport/calendar.cpp:241
#27 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x2508e10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba33b0) at kernel/qobject.cpp:3547
#28 0x00007f31d8ba7507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#29 0x00007f31d9af47ef in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2508e30, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1193
#30 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x2508640, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba3680) at kernel/qobject.cpp:3547
#31 0x00007f31d8ba7507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#32 0x00007f31db6022c0 in KSelectionProxyModelPrivate::sourceDataChanged (this=0x2508780, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:667
#33 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x24e28e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba39b0) at kernel/qobject.cpp:3547
#34 0x00007f31d8ba7507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#35 0x00007f31d42dfb32 in Akonadi::EntityTreeModelPrivate::dataChanged (this=<optimized out>, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1574
#36 0x00007f31d42e93d5 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x2510890, item=...) at ../../akonadi/entitytreemodel_p.cpp:1070
#37 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x24e3750, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba3d00) at kernel/qobject.cpp:3547
#38 0x00007f31d4321a87 in Akonadi::Monitor::itemChanged (this=<optimized out>, _t1=..., _t2=...) at ./monitor.moc:189
#39 0x00007f31d43266bc in Akonadi::MonitorPrivate::emitItemNotification (this=0x250ee30, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:525
#40 0x00007f31d4327682 in Akonadi::MonitorPrivate::emitNotification (this=0x250ee30, msg=...) at ../../akonadi/monitor_p.cpp:288
#41 0x00007f31d4285b31 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x250ee30, msg=...) at ../../akonadi/changerecorder_p.h:60
#42 0x00007f31d4327356 in Akonadi::MonitorPrivate::flushPipeline (this=0x250ee30) at ../../akonadi/monitor_p.cpp:429
#43 0x00007f31d4327829 in Akonadi::MonitorPrivate::dataAvailable (this=0x250ee30) at ../../akonadi/monitor_p.cpp:438
#44 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x24e12a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#45 0x00007f31d428c64d in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x24e12a0, job=<optimized out>) at ../../akonadi/entitycache_p.h:192
#46 0x00007f31d8b5b281 in QMetaObject::activate (sender=0x32e4ef0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8bba4430) at kernel/qobject.cpp:3547
#47 0x00007f31d8fd1182 in KJob::result (this=<optimized out>, _t1=0x32e4ef0) at ./kjob.moc:208
#48 0x00007f31d8fd11c0 in KJob::emitResult (this=0x32e4ef0) at ../../kdecore/jobs/kjob.cpp:318
#49 0x00007f31d8b60446 in QObject::event (this=0x32e4ef0, e=<optimized out>) at kernel/qobject.cpp:1195
#50 0x00007f31d9541894 in notify_helper (e=0x2e60bf0, receiver=0x32e4ef0, this=0x2012310) at kernel/qapplication.cpp:4559
#51 QApplicationPrivate::notify_helper (this=0x2012310, receiver=0x32e4ef0, e=0x2e60bf0) at kernel/qapplication.cpp:4531
#52 0x00007f31d9546713 in QApplication::notify (this=0x7fff8bba6550, receiver=0x32e4ef0, e=0x2e60bf0) at kernel/qapplication.cpp:4420
#53 0x00007f31db61d9e6 in KApplication::notify (this=0x7fff8bba6550, receiver=0x32e4ef0, event=0x2e60bf0) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00007f31d8b46e9c in QCoreApplication::notifyInternal (this=0x7fff8bba6550, receiver=0x32e4ef0, event=0x2e60bf0) at kernel/qcoreapplication.cpp:876
#55 0x00007f31d8b4ac6a in sendEvent (event=0x2e60bf0, receiver=0x32e4ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fdc380) at kernel/qcoreapplication.cpp:1500
#57 0x00007f31d8b75f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#58 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#59 0x00007f31d1da4d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f31d1da50a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f31d1da5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f31d8b763bf in QEventDispatcherGlib::processEvents (this=0x1fddc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x00007f31d95e9d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f31d8b45c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f31d8b45ed7 in QEventLoop::exec (this=0x7fff8bba4d50, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f31d9a11936 in QDialog::exec (this=0x2b1e490) at dialogs/qdialog.cpp:554
#67 0x00007f31db5846ba in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fff8bba540f, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:344
#68 0x00007f31db584e94 in KMessageBox::createKMessageBox (dialog=0x2b1e490, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff8bba540f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#69 0x00007f31db5882df in informationListWId (options=..., dontShowAgainName=..., caption=..., strlist=..., text=..., parent_id=182452280) at ../../kdeui/dialogs/kmessagebox.cpp:1005
#70 KMessageBox::informationListWId (parent_id=182452280, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:979
#71 0x00007f31db58844f in KMessageBox::informationList (parent=<optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:976
#72 0x00007f31db5884a8 in KMessageBox::information (parent=<optimized out>, text=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:963
#73 0x00007f31da5066a7 in CalendarView::checkForFilteredChange (this=0x211ed00, item=...) at ../../korganizer/calendarview.cpp:820
#74 0x00007f31da5130a6 in CalendarView::incidenceChangeFinished (this=0x211ed00, oldIncidence_=..., newIncidence_=..., modification=<optimized out>, success=<optimized out>) at ../../korganizer/calendarview.cpp:786
#75 0x00007f31da51bfb8 in CalendarView::qt_static_metacall (_o=0x211ed00, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./calendarview.moc:493
#76 0x00007f31d8b60446 in QObject::event (this=0x211ed00, e=<optimized out>) at kernel/qobject.cpp:1195
#77 0x00007f31d9591b7b in QWidget::event (this=0x211ed00, event=0x2b1e090) at kernel/qwidget.cpp:8821
#78 0x00007f31d9541894 in notify_helper (e=0x2b1e090, receiver=0x211ed00, this=0x2012310) at kernel/qapplication.cpp:4559
#79 QApplicationPrivate::notify_helper (this=0x2012310, receiver=0x211ed00, e=0x2b1e090) at kernel/qapplication.cpp:4531
#80 0x00007f31d9546713 in QApplication::notify (this=0x7fff8bba6550, receiver=0x211ed00, e=0x2b1e090) at kernel/qapplication.cpp:4420
#81 0x00007f31db61d9e6 in KApplication::notify (this=0x7fff8bba6550, receiver=0x211ed00, event=0x2b1e090) at ../../kdeui/kernel/kapplication.cpp:311
#82 0x00007f31d8b46e9c in QCoreApplication::notifyInternal (this=0x7fff8bba6550, receiver=0x211ed00, event=0x2b1e090) at kernel/qcoreapplication.cpp:876
#83 0x00007f31d8b4ac6a in sendEvent (event=0x2b1e090, receiver=0x211ed00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#84 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fdc380) at kernel/qcoreapplication.cpp:1500
#85 0x00007f31d8b75f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#86 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#87 0x00007f31d1da4d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#88 0x00007f31d1da50a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007f31d1da5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007f31d8b763bf in QEventDispatcherGlib::processEvents (this=0x1fddc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#91 0x00007f31d95e9d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x00007f31d8b45c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#93 0x00007f31d8b45ed7 in QEventLoop::exec (this=0x7fff8bba6500, flags=...) at kernel/qeventloop.cpp:204
#94 0x00007f31d8b4af67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#95 0x0000000000407df6 in main (argc=<optimized out>, argv=<optimized out>) at ../../korganizer/main.cpp:67

Reported using DrKonqi
Comment 1 Sergio Martins 2012-11-28 23:24:03 UTC
Fixed, will be in 4.11.