Bug 286656

Summary: Kontact crash on switch to Kmail
Product: [Applications] kontact Reporter: James Sturgis <jnsturgis>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James Sturgis 2011-11-15 08:16:13 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Kontact started fine... switching panels is fine except every time I switch to kmail there is an instant segmentation fault and crash...

This is possibly linked to (appeared immediately after) an attempt to synchronise my file systems between the desktop and portable (where Kontact seems to work fine)....

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb27e8730 (LWP 20600))]

Thread 4 (Thread 0xb1531b70 (LWP 20601)):
#0  0xb7883424 in __kernel_vsyscall ()
#1  0xb3dada5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb620bcfc in __pthread_cond_wait (cond=0xb60d4430, mutex=0xb60d4418) at forward.c:139
#3  0xb59b3883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb59b399f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3da9d31 in start_thread (arg=0xb1531b70) at pthread_create.c:304
#6  0xb61fe0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb0c10b70 (LWP 20602)):
#0  0xb3dacd50 in __pthread_mutex_unlock_usercnt (mutex=0xb03004ec, decr=1) at pthread_mutex_unlock.c:77
#1  0xb620bf54 in pthread_mutex_unlock (mutex=0xb03004ec) at forward.c:184
#2  0xb3cd287f in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3cd3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3cd3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6feeb37 in QEventDispatcherGlib::processEvents (this=0xb0300468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6fbf1dd in QEventLoop::processEvents (this=0xb0c102c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6fbf421 in QEventLoop::exec (this=0xb0c102c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6ec290b in QThread::exec (this=0x96b79f0) at thread/qthread.cpp:498
#9  0xb6ec29fb in QThread::run (this=0x96b79f0) at thread/qthread.cpp:565
#10 0xb6ec57b3 in QThreadPrivate::start (arg=0x96b79f0) at thread/qthread_unix.cpp:331
#11 0xb3da9d31 in start_thread (arg=0xb0c10b70) at pthread_create.c:304
#12 0xb61fe0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xad27db70 (LWP 20607)):
#0  0xb7883424 in __kernel_vsyscall ()
#1  0xb61ef40e in __GI___poll (fds=0xa059190, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb3ce234b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3cd3896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3cd3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6feeb37 in QEventDispatcherGlib::processEvents (this=0x9b5e018, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6fbf1dd in QEventLoop::processEvents (this=0xad27d290, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6fbf421 in QEventLoop::exec (this=0xad27d290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6ec290b in QThread::exec (this=0x9753ed8) at thread/qthread.cpp:498
#9  0xb6f9fe2d in QInotifyFileSystemWatcherEngine::run (this=0x9753ed8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6ec57b3 in QThreadPrivate::start (arg=0x9753ed8) at thread/qthread_unix.cpp:331
#11 0xb3da9d31 in start_thread (arg=0xad27db70) at pthread_create.c:304
#12 0xb61fe0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb27e8730 (LWP 20600)):
[KCrash Handler]
#7  QModelIndex (other=<optimized out>, this=0xbfb6c7a0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x9ac92c0, child=...) at itemviews/qsortfilterproxymodel.cpp:1657
#9  0xb6ac1d45 in parent (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0x9ab5268, index=...) at itemviews/qtreeview.cpp:2759
#11 0xb6ac5d37 in itemHeight (item=10, this=0x9a9c490) at itemviews/qtreeview.cpp:3232
#12 QTreeViewPrivate::itemHeight (this=0x9a9c490, item=10) at itemviews/qtreeview.cpp:3221
#13 0xb6ac600b in QTreeViewPrivate::updateScrollBars (this=0x9a9c490) at itemviews/qtreeview.cpp:3457
#14 0xb6ac6358 in QTreeView::updateGeometries (this=0x9ab5268) at itemviews/qtreeview.cpp:2686
#15 0xb6a7bad5 in QAbstractItemView::resizeEvent (this=0x9ab5268, event=0xbfb6d104) at itemviews/qabstractitemview.cpp:2399
#16 0xb6545f7a in QWidget::event (this=0x9ab5268, event=0xbfb6d104) at kernel/qwidget.cpp:8449
#17 0xb694b235 in QFrame::event (this=0x9ab5268, e=0xbfb6d104) at widgets/qframe.cpp:557
#18 0xb69dd7d1 in QAbstractScrollArea::viewportEvent (this=0x9ab5268, e=0xbfb6d104) at widgets/qabstractscrollarea.cpp:1043
#19 0xb6a7fb6c in QAbstractItemView::viewportEvent (this=0x9ab5268, event=0xbfb6d104) at itemviews/qabstractitemview.cpp:1628
#20 0xb6aca326 in QTreeView::viewportEvent (this=0x9ab5268, event=0xbfb6d104) at itemviews/qtreeview.cpp:1256
#21 0xb69dfee6 in viewportEvent (this=<optimized out>, event=0xbfb6d104) at widgets/qabstractscrollarea_p.h:100
#22 eventFilter (e=0xbfb6d104, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#23 QAbstractScrollAreaFilter::eventFilter (this=0x9a2c700, o=0x9a92d48, e=0xbfb6d104) at widgets/qabstractscrollarea_p.h:115
#24 0xb6fc0336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95b4648, receiver=0x9a92d48, event=0xbfb6d104) at kernel/qcoreapplication.cpp:902
#25 0xb64ebd22 in notify_helper (e=0xbfb6d104, receiver=0x9a92d48, this=0x95b4648) at kernel/qapplication.cpp:4482
#26 QApplicationPrivate::notify_helper (this=0x95b4648, receiver=0x9a92d48, e=0xbfb6d104) at kernel/qapplication.cpp:4458
#27 0xb64f11a8 in QApplication::notify (this=0x95b4648, receiver=0x9a92d48, e=0xbfb6d104) at kernel/qapplication.cpp:4451
#28 0xb75ab681 in KApplication::notify (this=0xbfb6ef74, receiver=0x9a92d48, event=0xbfb6d104) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb6fc019e in QCoreApplication::notifyInternal (this=0xbfb6ef74, receiver=0x9a92d48, event=0xbfb6d104) at kernel/qcoreapplication.cpp:787
#30 0xb65418b3 in sendEvent (event=0xbfb6d104, receiver=0x9a92d48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9aa6738, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7365
#32 0xb654a5b8 in QWidgetPrivate::show_helper (this=0x9aa6738) at kernel/qwidget.cpp:7416
#33 0xb654aa21 in QWidget::setVisible (this=0x9a92d48, visible=true) at kernel/qwidget.cpp:7697
#34 0xb654a540 in show (this=0x9a92d48) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#35 QWidgetPrivate::showChildren (this=0x9a9c490, spontaneous=false) at kernel/qwidget.cpp:7785
#36 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9a9c490) at kernel/qwidget.cpp:7422
#37 0xb654aa21 in QWidget::setVisible (this=0x9ab5268, visible=true) at kernel/qwidget.cpp:7697
#38 0xb654a540 in show (this=0x9ab5268) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#39 QWidgetPrivate::showChildren (this=0x9a94108, spontaneous=false) at kernel/qwidget.cpp:7785
#40 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9a94108) at kernel/qwidget.cpp:7422
#41 0xb654aa21 in QWidget::setVisible (this=0x9ab8ab8, visible=true) at kernel/qwidget.cpp:7697
#42 0xb654a540 in show (this=0x9ab8ab8) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#43 QWidgetPrivate::showChildren (this=0x9b63c00, spontaneous=false) at kernel/qwidget.cpp:7785
#44 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9b63c00) at kernel/qwidget.cpp:7422
#45 0xb654aa21 in QWidget::setVisible (this=0x9b62c68, visible=true) at kernel/qwidget.cpp:7697
#46 0xb654a540 in show (this=0x9b62c68) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#47 QWidgetPrivate::showChildren (this=0x9bae438, spontaneous=false) at kernel/qwidget.cpp:7785
#48 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9bae438) at kernel/qwidget.cpp:7422
#49 0xb654aa21 in QWidget::setVisible (this=0x9badb50, visible=true) at kernel/qwidget.cpp:7697
#50 0xb654a540 in show (this=0x9badb50) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#51 QWidgetPrivate::showChildren (this=0x9badfd0, spontaneous=false) at kernel/qwidget.cpp:7785
#52 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9badfd0) at kernel/qwidget.cpp:7422
#53 0xb654aa21 in QWidget::setVisible (this=0x9badfb8, visible=true) at kernel/qwidget.cpp:7697
#54 0xb654a540 in show (this=0x9badfb8) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#55 QWidgetPrivate::showChildren (this=0x9ab50d8, spontaneous=false) at kernel/qwidget.cpp:7785
#56 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9ab50d8) at kernel/qwidget.cpp:7422
#57 0xb654aa21 in QWidget::setVisible (this=0x9ab8b90, visible=true) at kernel/qwidget.cpp:7697
#58 0xb654a540 in show (this=0x9ab8b90) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#59 QWidgetPrivate::showChildren (this=0x9a92768, spontaneous=false) at kernel/qwidget.cpp:7785
#60 0xb654a5e0 in QWidgetPrivate::show_helper (this=0x9a92768) at kernel/qwidget.cpp:7422
#61 0xb654aa21 in QWidget::setVisible (this=0x9a92d60, visible=true) at kernel/qwidget.cpp:7697
#62 0xb6527d5d in show (this=0x9a92d60) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#63 QStackedLayout::setCurrentIndex (this=0x96c8560, index=1) at kernel/qstackedlayout.cpp:311
#64 0xb6527ebf in QStackedLayout::setCurrentWidget (this=0x96c8560, widget=0x9a92d60) at kernel/qstackedlayout.cpp:365
#65 0xb69b26ce in QStackedWidget::setCurrentWidget (this=0x96c8ed8, widget=0x9a92d60) at widgets/qstackedwidget.cpp:250
#66 0xb783f82a in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib/libkontactprivate.so.4
#67 0xb783f2f1 in Kontact::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkontactprivate.so.4
#68 0xb6fc6b7d in metacall (argv=0xbfb6dc08, idx=53, cl=QMetaObject::InvokeMetaMethod, object=0x95b0478) at kernel/qmetaobject.cpp:237
#69 QMetaObject::metacall (object=0x95b0478, cl=QMetaObject::InvokeMetaMethod, idx=53, argv=0xbfb6dc08) at kernel/qmetaobject.cpp:232
#70 0xb6fd5a6a in QMetaObject::activate (sender=0x96ae5e0, m=0xb7850704, local_signal_index=0, argv=0xbfb6dc08) at kernel/qobject.cpp:3278
#71 0xb7842645 in ?? () from /usr/lib/libkontactprivate.so.4
#72 0xb78426b7 in ?? () from /usr/lib/libkontactprivate.so.4
#73 0xb78427be in ?? () from /usr/lib/libkontactprivate.so.4
#74 0xb6fc6b7d in metacall (argv=0xbfb6dd58, idx=27, cl=QMetaObject::InvokeMetaMethod, object=0x96ae5e0) at kernel/qmetaobject.cpp:237
#75 QMetaObject::metacall (object=0x96ae5e0, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfb6dd58) at kernel/qmetaobject.cpp:232
#76 0xb6fd5a6a in QMetaObject::activate (sender=0x95af960, m=0xb78509f4, local_signal_index=0, argv=0xbfb6dd58) at kernel/qobject.cpp:3278
#77 0xb78432a5 in ?? () from /usr/lib/libkontactprivate.so.4
#78 0xb7843331 in ?? () from /usr/lib/libkontactprivate.so.4
#79 0xb7843403 in ?? () from /usr/lib/libkontactprivate.so.4
#80 0xb6fc6b7d in metacall (argv=0xbfb6deb4, idx=71, cl=QMetaObject::InvokeMetaMethod, object=0x95af960) at kernel/qmetaobject.cpp:237
#81 QMetaObject::metacall (object=0x95af960, cl=QMetaObject::InvokeMetaMethod, idx=71, argv=0xbfb6deb4) at kernel/qmetaobject.cpp:232
#82 0xb6fd5a6a in QMetaObject::activate (sender=0x96cbf40, m=0xb6e41d68, local_signal_index=1, argv=0xbfb6deb4) at kernel/qobject.cpp:3278
#83 0xb6adbafd in QItemSelectionModel::currentChanged (this=0x96cbf40, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#84 0xb6adbc7c in QItemSelectionModel::setCurrentIndex (this=0x96cbf40, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#85 0xb6a82bbd in QAbstractItemView::mousePressEvent (this=0x95af960, event=0xbfb6e74c) at itemviews/qabstractitemview.cpp:1666
#86 0xb6546424 in QWidget::event (this=0x95af960, event=0xbfb6e74c) at kernel/qwidget.cpp:8291
#87 0xb694b235 in QFrame::event (this=0x95af960, e=0xbfb6e74c) at widgets/qframe.cpp:557
#88 0xb69dd7d1 in QAbstractScrollArea::viewportEvent (this=0x95af960, e=0xbfb6e74c) at widgets/qabstractscrollarea.cpp:1043
#89 0xb6a7fb6c in QAbstractItemView::viewportEvent (this=0x95af960, event=0xbfb6e74c) at itemviews/qabstractitemview.cpp:1628
#90 0xb69dfee6 in viewportEvent (this=<optimized out>, event=0xbfb6e74c) at widgets/qabstractscrollarea_p.h:100
#91 eventFilter (e=0xbfb6e74c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#92 QAbstractScrollAreaFilter::eventFilter (this=0x96abd98, o=0x96bf330, e=0xbfb6e74c) at widgets/qabstractscrollarea_p.h:115
#93 0xb6fc0336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95b4648, receiver=0x96bf330, event=0xbfb6e74c) at kernel/qcoreapplication.cpp:902
#94 0xb64ebd22 in notify_helper (e=0xbfb6e74c, receiver=0x96bf330, this=0x95b4648) at kernel/qapplication.cpp:4482
#95 QApplicationPrivate::notify_helper (this=0x95b4648, receiver=0x96bf330, e=0xbfb6e74c) at kernel/qapplication.cpp:4458
#96 0xb64f1dbb in QApplication::notify (this=0x95b4648, receiver=0x96bf330, e=0xbfb6e74c) at kernel/qapplication.cpp:4047
#97 0xb75ab681 in KApplication::notify (this=0xbfb6ef74, receiver=0x96bf330, event=0xbfb6e74c) at ../../kdeui/kernel/kapplication.cpp:311
#98 0xb6fc019e in QCoreApplication::notifyInternal (this=0xbfb6ef74, receiver=0x96bf330, event=0xbfb6e74c) at kernel/qcoreapplication.cpp:787
#99 0xb64ecd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#100 QApplicationPrivate::sendMouseEvent (receiver=0x96bf330, event=0xbfb6e74c, alienWidget=0x96bf330, nativeWidget=0x96ae5e0, buttonDown=0xb6e56eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#101 0xb65792c4 in QETWidget::translateMouseEvent (this=0x96ae5e0, event=0xbfb6ebcc) at kernel/qapplication_x11.cpp:4568
#102 0xb6577e4d in QApplication::x11ProcessEvent (this=0xbfb6ef74, event=0xbfb6ebcc) at kernel/qapplication_x11.cpp:3690
#103 0xb65a424c in x11EventSourceDispatch (s=0x95badb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#104 0xb3cd325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#105 0xb3cd3990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#106 0xb3cd3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#107 0xb6feeada in QEventDispatcherGlib::processEvents (this=0x958d280, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#108 0xb65a3e3a in QGuiEventDispatcherGlib::processEvents (this=0x958d280, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#109 0xb6fbf1dd in QEventLoop::processEvents (this=0xbfb6eed4, flags=...) at kernel/qeventloop.cpp:149
#110 0xb6fbf421 in QEventLoop::exec (this=0xbfb6eed4, flags=...) at kernel/qeventloop.cpp:201
#111 0xb6fc419d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#112 0xb64e98f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#113 0x0804ac91 in ?? ()
#114 0xb6145113 in __libc_start_main (main=0x804a1b0, argc=1, ubp_av=0xbfb6f194, init=0x804ba40 <__libc_csu_init>, fini=0x804bab0 <__libc_csu_fini>, rtld_fini=0xb7892bc0, stack_end=0xbfb6f18c) at libc-start.c:226
#115 0x0804b1c1 in _start ()

Possible duplicates by query: bug 285236, bug 285145, bug 283850, bug 282776, bug 282303.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-15 20:23:52 UTC

*** This bug has been marked as a duplicate of bug 281878 ***