Bug 299640

Summary: Kontact crashed after closing, Segmentation fault
Product: [Applications] kontact Reporter: Lutz.Boehmer
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lutz.Boehmer 2012-05-08 18:27:01 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I closed kontact by menue or the window itself and then it crashed. This doesn't happen always, but very often.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7fe652b48700 (LWP 4461)):
#0  0x00007fe662d9ee6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6676e79dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fe6676e7b09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fe662d9af05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe6683f110d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe652237700 (LWP 4464)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x7fe64c0020d0) at kernel/qeventdispatcher_unix.cpp:395
#1  0x00007fe6697dd081 in QTimerInfoList::timerWait (this=0x7fe64c0020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#2  0x00007fe6697dbacc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe652236c8c) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007fe661a23b22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe661a2492d in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fe661a24f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fe6697dc586 in QEventDispatcherGlib::processEvents (this=0x7fe64c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fe6697b0a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fe6697b0c2f in QEventLoop::exec (this=0x7fe652236e20, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007fe6696c85df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#10 0x00007fe6696cb025 in QThreadPrivate::start (arg=0x7c6150) at thread/qthread_unix.cpp:331
#11 0x00007fe662d9af05 in start_thread () from /lib64/libpthread.so.0
#12 0x00007fe6683f110d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe5feefd700 (LWP 5842)):
#0  0x00007fe6683e7ff3 in poll () from /lib64/libc.so.6
#1  0x00007fe661a24a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe661a24f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe6697dc586 in QEventDispatcherGlib::processEvents (this=0x7fe5f40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe6697b0a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe6697b0c2f in QEventLoop::exec (this=0x7fe5feefcdf0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe6696c85df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fe669793aff in QInotifyFileSystemWatcherEngine::run (this=0x167b9c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe6696cb025 in QThreadPrivate::start (arg=0x167b9c0) at thread/qthread_unix.cpp:331
#9  0x00007fe662d9af05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe6683f110d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe66ae5c760 (LWP 4444)):
[KCrash Handler]
#6  0x00007fe60a514a2f in MailCommon::FolderTreeWidget::selectedCollections (this=0xc6b600) at /usr/src/debug/kdepim-4.7.2/mailcommon/foldertreewidget.cpp:237
#7  0x00007fe60a8c83ee in KMMainWidget::updateFolderMenu (this=0xc5df90) at /usr/src/debug/kdepim-4.7.2/kmail/kmmainwidget.cpp:3866
#8  0x00007fe60a8d6893 in KMMainWidget::slotEndCheckFetchCollectionsDone (this=0xc5df90, job=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kmail/kmmainwidget.cpp:436
#9  0x00007fe60a8d71d8 in KMMainWidget::slotEndCheckMail (this=0xc5df90) at /usr/src/debug/kdepim-4.7.2/kmail/kmmainwidget.cpp:389
#10 0x00007fe60a8da831 in KMMainWidget::qt_metacall (this=0xc5df90, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fffdd94adc0) at /usr/src/debug/kdepim-4.7.2/build/kmail/kmmainwidget.moc:373
#11 0x00007fe6697c45aa in QMetaObject::activate (sender=0xaeda20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#12 0x00007fe60a888a2c in KMKernel::slotProgressItemCompletedOrCanceled (this=0xaeda20, item=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kmail/kmkernel.cpp:1696
#13 0x00007fe60a89381c in KMKernel::qt_metacall (this=0xaeda20, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fffdd94b020) at /usr/src/debug/kdepim-4.7.2/build/kmail/kmkernel.moc:209
#14 0x00007fe6697c45aa in QMetaObject::activate (sender=0x8be7d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd94b020) at kernel/qobject.cpp:3287
#15 0x00007fe665cab3c2 in KPIM::ProgressManager::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#16 0x00007fe665cabed3 in KPIM::ProgressManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
#17 0x00007fe6697c45aa in QMetaObject::activate (sender=0xc6bac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd94b130) at kernel/qobject.cpp:3287
#18 0x00007fe665caaf92 in KPIM::ProgressItem::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#19 0x00007fe665cacbae in ?? () from /usr/lib64/libkdepim.so.4
#20 0x00007fe665caccea in ?? () from /usr/lib64/libkdepim.so.4
#21 0x00007fe6697c45aa in QMetaObject::activate (sender=0xaadcb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd94b260) at kernel/qobject.cpp:3287
#22 0x00007fe6651a6635 in Akonadi::AgentManager::instanceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/agentmanager.moc:177
#23 0x00007fe6652054bc in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xb461e0, identifier=<optimized out>, status=0, msg=...) at /usr/src/debug/kdepimlibs-4.7.2/akonadi/agentmanager.cpp:129
#24 0x00007fe6652071de in Akonadi::AgentManager::qt_metacall (this=0xaadcb0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffdd94b3d0) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/agentmanager.moc:131
#25 0x00007fe6697c45aa in QMetaObject::activate (sender=0xa8ae80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd94b3d0) at kernel/qobject.cpp:3287
#26 0x00007fe66528bd6b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/agentmanagerinterface.moc:285
#27 0x00007fe66528c229 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xa8ae80, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffdd94bc90) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/agentmanagerinterface.moc:167
#28 0x00007fe6655259fb in QDBusConnectionPrivate::deliverCall (this=0x62cd20, object=0xa8ae80, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#29 0x00007fe66552ed5f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#30 0x00007fe6697c815a in QObject::event (this=0xa8ae80, e=<optimized out>) at kernel/qobject.cpp:1226
#31 0x00007fe668b80c34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007fe668b85ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007fe66a202e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#34 0x00007fe6697b182c in QCoreApplication::notifyInternal (this=0x7fffdd94e090, receiver=0xa8ae80, event=0x3972e90) at kernel/qcoreapplication.cpp:787
#35 0x00007fe6697b4c08 in sendEvent (event=0x3972e90, receiver=0xa8ae80) at kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#37 0x00007fe6697dc0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fe661a2458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fe661a24d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fe661a24f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fe6697dc51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007fe668c23f9e in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007fe6697b0a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fe6697b0c2f in QEventLoop::exec (this=0x7fffdd94c650, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007fe669c1f406 in KJob::exec (this=0xb85cc0) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:204
#47 0x00007fe60a50c0d4 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync (this=0xa8c610, job=<optimized out>) at /usr/src/debug/kdepim-4.7.2/mailcommon/foldercollectionmonitor.cpp:138
#48 0x00007fe60a4d7fcc in MailCommon::FolderCollectionMonitor::qt_metacall (this=0xa8c610, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffdd94c7b0) at /usr/src/debug/kdepim-4.7.2/build/mailcommon/moc_foldercollectionmonitor.cpp:78
#49 0x00007fe6697c45aa in QMetaObject::activate (sender=0x2541b20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd94c7b0) at kernel/qobject.cpp:3287
#50 0x00007fe669c1f5e2 in KJob::result (this=<optimized out>, _t1=0x2541b20) at /usr/src/debug/kdelibs-4.7.2/build/kdecore/kjob.moc:194
#51 0x00007fe669c1f620 in KJob::emitResult (this=0x2541b20) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:312
#52 0x00007fe6652005ed in Akonadi::Job::qt_metacall (this=0x2541b20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xc74180) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/job.moc:91
#53 0x00007fe665230305 in Akonadi::ItemFetchJob::qt_metacall (this=0x2541b20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xc74180) at /usr/src/debug/kdepimlibs-4.7.2/build/akonadi/itemfetchjob.moc:73
#54 0x00007fe6697c815a in QObject::event (this=0x2541b20, e=<optimized out>) at kernel/qobject.cpp:1226
#55 0x00007fe668b80c34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00007fe668b85ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#57 0x00007fe66a202e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#58 0x00007fe6697b182c in QCoreApplication::notifyInternal (this=0x7fffdd94e090, receiver=0x2541b20, event=0x2b153e0) at kernel/qcoreapplication.cpp:787
#59 0x00007fe6697b4c08 in sendEvent (event=0x2b153e0, receiver=0x2541b20) at kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#61 0x00007fe6697dc0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007fe661a2458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#64 0x00007fe661a24d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#65 0x00007fe661a24f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#66 0x00007fe6697dc51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007fe668c23f9e in ?? () from /usr/lib64/libQtGui.so.4
#68 0x00007fe6697b0a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007fe6697b0c2f in QEventLoop::exec (this=0x7fffdd94d150, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007fe669c1f406 in KJob::exec (this=0x2541b20) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:204
#71 0x00007fe60a50bed4 in MailCommon::FolderCollectionMonitor::expunge (this=0xa8c610, col=..., sync=true) at /usr/src/debug/kdepim-4.7.2/mailcommon/foldercollectionmonitor.cpp:98
#72 0x00007fe60a8915b3 in KMKernel::cleanup (this=0xaeda20) at /usr/src/debug/kdepim-4.7.2/kmail/kmkernel.cpp:1246
#73 0x00007fe60abcbca2 in KMailPart::~KMailPart (this=0x90cd60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kmail/kmail_part.cpp:138
#74 0x00007fe60abcbda9 in KMailPart::~KMailPart (this=0x90cd60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kmail/kmail_part.cpp:141
#75 0x00007fe66a64859e in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#76 0x00007fe60b7484bf in KMailPlugin::~KMailPlugin (this=0x91c810, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kontact/plugins/kmail/kmail_plugin.cpp:159
#77 0x00007fe60b7484e9 in KMailPlugin::~KMailPlugin (this=0x91c810, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kontact/plugins/kmail/kmail_plugin.cpp:163
#78 0x00007fe66aa7da67 in Kontact::MainWindow::~MainWindow (this=0x7a7800, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kontact/src/mainwindow.cpp:287
#79 0x00007fe66aa7dbc9 in Kontact::MainWindow::~MainWindow (this=0x7a7800, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.7.2/kontact/src/mainwindow.cpp:289
#80 0x00007fe6697c8188 in QObject::event (this=0x7a7800, e=<optimized out>) at kernel/qobject.cpp:1209
#81 0x00007fe668bd0d4b in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#82 0x00007fe668f8f04b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#83 0x00007fe66a2ff6b8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#84 0x00007fe668b80c34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#85 0x00007fe668b85ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#86 0x00007fe66a202e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#87 0x00007fe6697b182c in QCoreApplication::notifyInternal (this=0x7fffdd94e090, receiver=0x7a7800, event=0xe75900) at kernel/qcoreapplication.cpp:787
#88 0x00007fe6697b4c08 in sendEvent (event=0xe75900, receiver=0x7a7800) at kernel/qcoreapplication.h:215
#89 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#90 0x00007fe6697dc0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#91 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#92 0x00007fe661a2458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#93 0x00007fe661a24d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#94 0x00007fe661a24f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#95 0x00007fe6697dc51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#96 0x00007fe668c23f9e in ?? () from /usr/lib64/libQtGui.so.4
#97 0x00007fe6697b0a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#98 0x00007fe6697b0c2f in QEventLoop::exec (this=0x7fffdd94e020, flags=...) at kernel/qeventloop.cpp:201
#99 0x00007fe6697b4df7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#100 0x0000000000403919 in main (argc=1, argv=0x7fffdd94e6b8) at /usr/src/debug/kdepim-4.7.2/kontact/src/main.cpp:218

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

Possible duplicates by query: bug 299283, bug 299224, bug 297450, bug 296583, bug 296581.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-05-09 06:46:58 UTC
update your kdepim package. We release 4.8.3 4.7.2 is too old
Comment 2 Myriam Schweingruber 2012-09-30 13:21:05 UTC

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