Bug 318169

Summary: Kontact crashed while switching between tasklist
Product: [Applications] korganizer Reporter: p.schmuttermaier
Component: todoviewAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: winter
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0
Sentry Crash Report:

Description p.schmuttermaier 2013-04-11 01:39:09 UTC
Application: kontact (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-27-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Right after syncing with Google Calendar (created a new task list and renamed another one) I tried to switch between lists. Then it crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1d5a63d7c0 (LWP 19314))]

Thread 4 (Thread 0x7f1d52a6e700 (LWP 19315)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1d6bbb5b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1d6bbb5c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1d670ffe9a in start_thread (arg=0x7f1d52a6e700) at pthread_create.c:308
#4  0x00007f1d6c8e0cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1d5216d700 (LWP 19316)):
#0  0x00007f1d6c8ee904 in pthread_mutex_unlock (mutex=0x7f1d4c000a60) at forward.c:184
#1  0x00007f1d66c6de51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d66c309a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d66c30de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1d66c30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1d6d055c16 in QEventDispatcherGlib::processEvents (this=0x7f1d4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1d6d0262bf in QEventLoop::processEvents (this=this@entry=0x7f1d5216cdc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1d6d026548 in QEventLoop::exec (this=0x7f1d5216cdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1d6cf27b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f1d6cf2aaec in QThreadPrivate::start (arg=0x16a3650) at thread/qthread_unix.cpp:338
#10 0x00007f1d670ffe9a in start_thread (arg=0x7f1d5216d700) at pthread_create.c:308
#11 0x00007f1d6c8e0cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1d04215700 (LWP 19322)):
#0  __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:55
#1  __pthread_mutex_unlock (mutex=0x7f1cfc000a60) at pthread_mutex_unlock.c:290
#2  0x00007f1d66c6de51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d66c30769 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1d66c30cf9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1d66c30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1d6d055c16 in QEventDispatcherGlib::processEvents (this=0x7f1cfc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f1d6d0262bf in QEventLoop::processEvents (this=this@entry=0x7f1d04214d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1d6d026548 in QEventLoop::exec (this=0x7f1d04214d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f1d6cf27b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f1d6d0069af in QInotifyFileSystemWatcherEngine::run (this=0x1d0ae10) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f1d6cf2aaec in QThreadPrivate::start (arg=0x1d0ae10) at thread/qthread_unix.cpp:338
#12 0x00007f1d670ffe9a in start_thread (arg=0x7f1d04215700) at pthread_create.c:308
#13 0x00007f1d6c8e0cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1d5a63d7c0 (LWP 19314)):
[KCrash Handler]
#6  size (this=0x21) at ../../include/QtCore/../../src/corelib/tools/qvector.h:137
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0x45d6210, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#8  0x00007f1d6df9495d in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2503
#9  0x00007f1d6df95ab1 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x45d6210) at itemviews/qsortfilterproxymodel.cpp:996
#10 0x00007f1d6df99ce3 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x45d6210, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1161
#11 0x00007f1d6d03cf5f in QMetaObject::activate (sender=0x44f6eb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8e9615e0) at kernel/qobject.cpp:3547
#12 0x00007f1d6d086aa7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#13 0x00007f1cfac2e6b6 in KOTodoModel::reloadTodos (this=0x44f6eb0) at ../../korganizer/views/todoview/kotodomodel.cpp:252
#14 0x00007f1cfabdcb41 in KOViewManager::updateView (this=0x44af070, start=..., end=..., preferredMonth=...) at ../../korganizer/koviewmanager.cpp:279
#15 0x00007f1cfab9e35b in CalendarView::updateView (this=this@entry=0x44ac070, start=..., end=..., preferredMonth=..., updateTodos=updateTodos@entry=true) at ../../korganizer/calendarview.cpp:852
#16 0x00007f1cfaba16fa in CalendarView::updateView (this=0x44ac070) at ../../korganizer/calendarview.cpp:866
#17 0x00007f1cfabdd6c7 in KOViewManager::showView (this=this@entry=0x44af070, view=0x45d5da0) at ../../korganizer/koviewmanager.cpp:190
#18 0x00007f1cfabddf33 in KOViewManager::showTodoView (this=0x44af070) at ../../korganizer/koviewmanager.cpp:582
#19 0x00007f1cfac491bb in KOrgCalendarAdaptor::qt_metacall (this=0x457db30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8e961bc0) at calendaradaptor.moc:214
#20 0x00007f1d69a43ed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1530b30, object=object@entry=0x457db30, msg=..., metaTypes=..., slotIdx=22) at qdbusintegrator.cpp:947
#21 0x00007f1d69a44fd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1530b30, object=0x457db30, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:857
#22 0x00007f1d69a4594f in QDBusConnectionPrivate::activateObject (this=this@entry=0x1530b30, node=..., msg=..., pathStartPos=pathStartPos@entry=9) at qdbusintegrator.cpp:1423
#23 0x00007f1d69a45fee in QDBusConnectionPrivate::handleObjectCall (this=this@entry=0x1530b30, msg=...) at qdbusintegrator.cpp:1516
#24 0x00007f1d69a46597 in handleMessage (amsg=..., this=0x1530b30) at qdbusintegrator.cpp:570
#25 QDBusConnectionPrivate::handleMessage (this=0x1530b30, amsg=...) at qdbusintegrator.cpp:552
#26 0x00007f1d69a46780 in QDBusConnectionPrivate::sendWithReplyLocal (this=this@entry=0x1530b30, message=...) at qdbusintegrator.cpp:1945
#27 0x00007f1d69a47008 in QDBusConnectionPrivate::sendWithReplyAsync (this=0x1530b30, message=..., timeout=92574104) at qdbusintegrator.cpp:1979
#28 0x00007f1d69a359e0 in QDBusConnection::asyncCall (this=<optimized out>, message=..., timeout=<optimized out>) at qdbusconnection.cpp:628
#29 0x00007f1d69a5306b in QDBusAbstractInterface::asyncCallWithArgumentList (this=0x4321ca0, method=..., args=...) at qdbusabstractinterface.cpp:501
#30 0x00007f1d50213d65 in showTodoView (this=0x4321ca0) at ./calendarinterface.h:166
#31 TodoPlugin::select (this=<optimized out>) at ../../../../kontact/plugins/korganizer/todoplugin.cpp:114
#32 0x00007f1d6ef7a5cd in Kontact::MainWindow::selectPlugin (this=0x169bb50, plugin=0x45d6210) at ../../../kontact/src/mainwindow.cpp:850
#33 0x00007f1d6d03cf5f in QMetaObject::activate (sender=0x16d5370, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8e962850) at kernel/qobject.cpp:3547
#34 0x00007f1d6ef7cfdf in Kontact::SidePaneBase::pluginSelected (this=<optimized out>, _t1=0x1927280) at ./sidepanebase.moc:104
#35 0x00007f1d6d03cf5f in QMetaObject::activate (sender=0x1539650, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8e9629a0) at kernel/qobject.cpp:3547
#36 0x00007f1d6ef7d92f in Kontact::Navigator::pluginActivated (this=this@entry=0x1539650, _t1=0x1927280) at ./iconsidepane.moc:110
#37 0x00007f1d6ef7d9aa in Kontact::Navigator::slotCurrentChanged (this=0x1539650, current=...) at ../../../kontact/src/iconsidepane.cpp:477
#38 0x00007f1d6d03cf5f in QMetaObject::activate (sender=0x16c5440, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8e962b30) at kernel/qobject.cpp:3547
#39 0x00007f1d6df670aa in QItemSelectionModel::currentChanged (this=this@entry=0x16c5440, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#40 0x00007f1d6df67199 in QItemSelectionModel::setCurrentIndex (this=0x16c5440, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#41 0x00007f1d6df18caa in QAbstractItemView::mousePressEvent (this=0x1539650, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#42 0x00007f1d6da58cf3 in QWidget::event (this=0x1539650, event=0x7fff8e963870) at kernel/qwidget.cpp:8367
#43 0x00007f1d6de07b66 in QFrame::event (this=0x1539650, e=0x7fff8e963870) at widgets/qframe.cpp:557
#44 0x00007f1d6df1359b in QAbstractItemView::viewportEvent (this=0x1539650, event=0x7fff8e963870) at itemviews/qabstractitemview.cpp:1644
#45 0x00007f1d6d0276d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x16dcd80, event=0x7fff8e963870) at kernel/qcoreapplication.cpp:1025
#46 0x00007f1d6da08e6c in QApplicationPrivate::notify_helper (this=this@entry=0x154c6e0, receiver=receiver@entry=0x16dcd80, e=e@entry=0x7fff8e963870) at kernel/qapplication.cpp:4558
#47 0x00007f1d6da0db6b in QApplication::notify (this=<optimized out>, receiver=0x16dcd80, e=0x7fff8e963870) at kernel/qapplication.cpp:4105
#48 0x00007f1d6e7111f6 in KApplication::notify (this=0x7fff8e964550, receiver=0x16dcd80, event=0x7fff8e963870) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007f1d6d02756e in QCoreApplication::notifyInternal (this=0x7fff8e964550, receiver=0x16dcd80, event=0x7fff8e963870) at kernel/qcoreapplication.cpp:915
#50 0x00007f1d6da09cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QApplicationPrivate::sendMouseEvent (receiver=0x16dcd80, event=0x7fff8e963870, alienWidget=0x16dcd80, nativeWidget=0x16d5370, buttonDown=0x7f1d6e4e5308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#52 0x00007f1d6da87554 in QETWidget::translateMouseEvent (this=this@entry=0x16d5370, event=event@entry=0x7fff8e963ff0) at kernel/qapplication_x11.cpp:4622
#53 0x00007f1d6da8644f in QApplication::x11ProcessEvent (this=0x7fff8e964550, event=0x7fff8e963ff0) at kernel/qapplication_x11.cpp:3737
#54 0x00007f1d6daadfa2 in x11EventSourceDispatch (s=0x1551870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007f1d66c30ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f1d66c30de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f1d66c30ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f1d6d055bf6 in QEventDispatcherGlib::processEvents (this=0x1511c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f1d6daadc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f1d6d0262bf in QEventLoop::processEvents (this=this@entry=0x7fff8e9643c0, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f1d6d026548 in QEventLoop::exec (this=0x7fff8e9643c0, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f1d6d02b708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#63 0x0000000000403339 in main (argc=1, argv=0x7fff8e964698) at ../../../kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 311153.

Possible duplicates by query: bug 313143, bug 311153, bug 307026, bug 305924, bug 304849.

Reported using DrKonqi
Comment 1 Allen Winter 2013-05-26 22:47:27 UTC
reassigning to KOrganizer
Comment 2 Allen Winter 2013-05-26 22:48:19 UTC
this bug was fixed in KDE 4.10.  please upgrade when you have a chance.