Bug 293553

Summary: crash on close
Product: [Applications] kontact Reporter: bgodusky
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel, thomas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bgodusky 2012-02-07 17:37:54 UTC
Application: kontact (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 2.6.41.10-3.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:Closed Kontact after deleting mail. Password dialog seems to remain constantly open in the back ground

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7835d62840 (LWP 1975))]

Thread 3 (Thread 0x7f782bd0e700 (LWP 1976)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000032a2cca93a in WTF::TCMalloc_PageHeap::scavengerThread (this=0x32a34cf2c0) at wtf/FastMalloc.cpp:2378
#2  0x00000032a2ccaa29 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1497
#3  0x000000327ae07b41 in start_thread (arg=0x7f782bd0e700) at pthread_create.c:305
#4  0x000000327a6df49d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f782b405700 (LWP 1977)):
#0  0x000000327ae0a9a9 in __pthread_mutex_unlock_usercnt (mutex=0x7f78240009b8, decr=<optimized out>) at pthread_mutex_unlock.c:53
#1  __pthread_mutex_unlock (mutex=0x7f78240009b8) at pthread_mutex_unlock.c:298
#2  0x000000327de41cb4 in g_main_context_prepare (context=0x7f78240009b0, priority=0x7f782b404c18) at gmain.c:2760
#3  0x000000327de42bbd in g_main_context_iterate (context=0x7f78240009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3072
#4  0x000000327de4325c in g_main_context_iteration (context=0x7f78240009b0, may_block=1) at gmain.c:3155
#5  0x00000030765853f6 in QEventDispatcherGlib::processEvents (this=0x7f78240008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0000003076559e02 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003076559fff in QEventLoop::exec (this=0x7f782b404d40, flags=...) at kernel/qeventloop.cpp:201
#8  0x000000307647207f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x0000003076474af5 in QThreadPrivate::start (arg=0x1073280) at thread/qthread_unix.cpp:331
#10 0x000000327ae07b41 in start_thread (arg=0x7f782b405700) at pthread_create.c:305
#11 0x000000327a6df49d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7835d62840 (LWP 1975)):
[KCrash Handler]
#6  operator QItemSelectionModel* (this=) at ../../src/corelib/kernel/qpointer.h:78
#7  QAbstractItemView::selectionModel (this=0x322d005347414c46) at itemviews/qabstractitemview.cpp:760
#8  0x0000003608885f08 in MailCommon::FolderTreeWidget::selectedCollections() const () from /usr/lib64/libmailcommon.so.4
#9  0x0000003607f2c3ce in KMMainWidget::updateFolderMenu() () from /usr/lib64/libkmailprivate.so.4
#10 0x0000003607f3bac3 in KMMainWidget::slotEndCheckFetchCollectionsDone(KJob*) () from /usr/lib64/libkmailprivate.so.4
#11 0x0000003607f3c408 in KMMainWidget::slotEndCheckMail() () from /usr/lib64/libkmailprivate.so.4
#12 0x0000003607f3fa81 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#13 0x000000307656d5aa in QMetaObject::activate (sender=0x1495bf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x0000003607eed9ec in KMKernel::slotProgressItemCompletedOrCanceled(KPIM::ProgressItem*) () from /usr/lib64/libkmailprivate.so.4
#15 0x0000003607ef804a in KMKernel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#16 0x000000307656d5aa in QMetaObject::activate (sender=0x122c780, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe41d3fb0) at kernel/qobject.cpp:3278
#17 0x0000003603074332 in KPIM::ProgressManager::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#18 0x0000003603074e63 in KPIM::ProgressManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
#19 0x000000307656d5aa in QMetaObject::activate (sender=0x19c2060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe41d40c0) at kernel/qobject.cpp:3278
#20 0x0000003603073f02 in KPIM::ProgressItem::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#21 0x0000003603075bce in ?? () from /usr/lib64/libkdepim.so.4
#22 0x0000003603075dc2 in ?? () from /usr/lib64/libkdepim.so.4
#23 0x000000307656d5aa in QMetaObject::activate (sender=0x14c73c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe41d41f0) at kernel/qobject.cpp:3278
#24 0x00000035ff691905 in Akonadi::AgentManager::instanceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/agentmanager.moc:177
#25 0x00000035ff69614f in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x1499d70, identifier=<optimized out>, status=0, msg=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/agentmanager.cpp:129
#26 0x00000035ff69888e in Akonadi::AgentManager::qt_metacall (this=0x14c73c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe41d4360) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/agentmanager.moc:131
#27 0x000000307656d5aa in QMetaObject::activate (sender=0x14c7360, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe41d4360) at kernel/qobject.cpp:3278
#28 0x00000035ff7b174b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/agentmanagerinterface.moc:285
#29 0x00000035ff7b1c09 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x14c7360, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffe41d4c20) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/agentmanagerinterface.moc:167
#30 0x0000003076e20c8b in QDBusConnectionPrivate::deliverCall (this=0x10655e0, object=0x14c7360, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#31 0x0000003076e2a1bf in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#32 0x000000307657116a in QObject::event (this=0x14c7360, e=<optimized out>) at kernel/qobject.cpp:1217
#33 0x00000032973bcc64 in notify_helper (e=0x1a36850, receiver=0x14c7360, this=0x1076970) at kernel/qapplication.cpp:4481
#34 QApplicationPrivate::notify_helper (this=0x1076970, receiver=0x14c7360, e=0x1a36850) at kernel/qapplication.cpp:4453
#35 0x00000032973c1af1 in QApplication::notify (this=0x7fffe41d7030, receiver=0x14c7360, e=0x1a36850) at kernel/qapplication.cpp:4360
#36 0x00000035fa64dd66 in KApplication::notify (this=0x7fffe41d7030, receiver=0x14c7360, event=0x1a36850) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#37 0x000000307655a8ec in QCoreApplication::notifyInternal (this=0x7fffe41d7030, receiver=0x14c7360, event=0x1a36850) at kernel/qcoreapplication.cpp:787
#38 0x000000307655df28 in sendEvent (event=0x1a36850, receiver=0x14c7360) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1048460) at kernel/qcoreapplication.cpp:1428
#40 0x0000003076584f33 in sendPostedEvents () at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x107e160) at kernel/qeventdispatcher_glib.cpp:277
#42 0x000000327de427ed in g_main_dispatch (context=0x107d0e0) at gmain.c:2441
#43 g_main_context_dispatch (context=0x107d0e0) at gmain.c:3014
#44 0x000000327de42fc8 in g_main_context_iterate (context=0x107d0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#45 0x000000327de4325c in g_main_context_iteration (context=0x107d0e0, may_block=1) at gmain.c:3155
#46 0x000000307658538f in QEventDispatcherGlib::processEvents (this=0x1049b50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#47 0x000000329745fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x0000003076559e02 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x0000003076559fff in QEventLoop::exec (this=0x7fffe41d55e0, flags=...) at kernel/qeventloop.cpp:201
#50 0x00000035f9f40fd6 in KJob::exec (this=0x1b0a750) at /usr/src/debug/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:204
#51 0x000000360887d904 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync(KJob*) () from /usr/lib64/libmailcommon.so.4
#52 0x0000003608849acc in MailCommon::FolderCollectionMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libmailcommon.so.4
#53 0x000000307656d5aa in QMetaObject::activate (sender=0x163a700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe41d5740) at kernel/qobject.cpp:3278
#54 0x00000035f9f411b2 in KJob::result (this=<optimized out>, _t1=0x163a700) at /usr/src/debug/kdelibs-4.7.4/x86_64-redhat-linux-gnu/kdecore/kjob.moc:194
#55 0x00000035f9f411f0 in KJob::emitResult (this=0x163a700) at /usr/src/debug/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:312
#56 0x00000035ff7346ad in Akonadi::Job::qt_metacall (this=0x163a700, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1972bb0) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/job.moc:91
#57 0x00000035ff7226b5 in Akonadi::ItemFetchJob::qt_metacall (this=0x163a700, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1972bb0) at /usr/src/debug/kdepimlibs-4.7.4/x86_64-redhat-linux-gnu/akonadi/itemfetchjob.moc:73
#58 0x000000307657116a in QObject::event (this=0x163a700, e=<optimized out>) at kernel/qobject.cpp:1217
#59 0x00000032973bcc64 in notify_helper (e=0x1c0deb0, receiver=0x163a700, this=0x1076970) at kernel/qapplication.cpp:4481
#60 QApplicationPrivate::notify_helper (this=0x1076970, receiver=0x163a700, e=0x1c0deb0) at kernel/qapplication.cpp:4453
#61 0x00000032973c1af1 in QApplication::notify (this=0x7fffe41d7030, receiver=0x163a700, e=0x1c0deb0) at kernel/qapplication.cpp:4360
#62 0x00000035fa64dd66 in KApplication::notify (this=0x7fffe41d7030, receiver=0x163a700, event=0x1c0deb0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#63 0x000000307655a8ec in QCoreApplication::notifyInternal (this=0x7fffe41d7030, receiver=0x163a700, event=0x1c0deb0) at kernel/qcoreapplication.cpp:787
#64 0x000000307655df28 in sendEvent (event=0x1c0deb0, receiver=0x163a700) at kernel/qcoreapplication.h:215
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1048460) at kernel/qcoreapplication.cpp:1428
#66 0x0000003076584f33 in sendPostedEvents () at kernel/qcoreapplication.h:220
#67 postEventSourceDispatch (s=0x107e160) at kernel/qeventdispatcher_glib.cpp:277
#68 0x000000327de427ed in g_main_dispatch (context=0x107d0e0) at gmain.c:2441
#69 g_main_context_dispatch (context=0x107d0e0) at gmain.c:3014
#70 0x000000327de42fc8 in g_main_context_iterate (context=0x107d0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#71 0x000000327de4325c in g_main_context_iteration (context=0x107d0e0, may_block=1) at gmain.c:3155
#72 0x000000307658538f in QEventDispatcherGlib::processEvents (this=0x1049b50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x000000329745fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#74 0x0000003076559e02 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x0000003076559fff in QEventLoop::exec (this=0x7fffe41d60f0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00000035f9f40fd6 in KJob::exec (this=0x163a700) at /usr/src/debug/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:204
#77 0x000000360887d704 in MailCommon::FolderCollectionMonitor::expunge(Akonadi::Collection const&, bool) () from /usr/lib64/libmailcommon.so.4
#78 0x0000003607ef59f3 in KMKernel::cleanup() () from /usr/lib64/libkmailprivate.so.4
#79 0x00007f7823bdf6a2 in ?? () from /usr/lib64/kde4/kmailpart.so
#80 0x00007f7823bdf7a9 in ?? () from /usr/lib64/kde4/kmailpart.so
#81 0x0000003605e1177e in KontactInterface::Plugin::~Plugin (this=0x1360c30, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kontactinterface/plugin.cpp:90
#82 0x00007f78288a3c4f in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#83 0x00007f78288a3c79 in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#84 0x00000035fde1c167 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#85 0x00000035fde1c2d9 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#86 0x0000003076571198 in QObject::event (this=0x11debf0, e=<optimized out>) at kernel/qobject.cpp:1200
#87 0x000000329740cdeb in QWidget::event (this=0x11debf0, event=0x1b5a030) at kernel/qwidget.cpp:8754
#88 0x00000032977c6fdb in QMainWindow::event (this=0x11debf0, event=0x1b5a030) at widgets/qmainwindow.cpp:1478
#89 0x00000035fa74ad68 in KXmlGuiWindow::event (this=0x11debf0, ev=0x1b5a030) at /usr/src/debug/kdelibs-4.7.4/kdeui/xmlgui/kxmlguiwindow.cpp:126
#90 0x00000032973bcc64 in notify_helper (e=0x1b5a030, receiver=0x11debf0, this=0x1076970) at kernel/qapplication.cpp:4481
#91 QApplicationPrivate::notify_helper (this=0x1076970, receiver=0x11debf0, e=0x1b5a030) at kernel/qapplication.cpp:4453
#92 0x00000032973c1af1 in QApplication::notify (this=0x7fffe41d7030, receiver=0x11debf0, e=0x1b5a030) at kernel/qapplication.cpp:4360
#93 0x00000035fa64dd66 in KApplication::notify (this=0x7fffe41d7030, receiver=0x11debf0, event=0x1b5a030) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#94 0x000000307655a8ec in QCoreApplication::notifyInternal (this=0x7fffe41d7030, receiver=0x11debf0, event=0x1b5a030) at kernel/qcoreapplication.cpp:787
#95 0x000000307655df28 in sendEvent (event=0x1b5a030, receiver=0x11debf0) at kernel/qcoreapplication.h:215
#96 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1048460) at kernel/qcoreapplication.cpp:1428
#97 0x0000003076584f33 in sendPostedEvents () at kernel/qcoreapplication.h:220
#98 postEventSourceDispatch (s=0x107e160) at kernel/qeventdispatcher_glib.cpp:277
#99 0x000000327de427ed in g_main_dispatch (context=0x107d0e0) at gmain.c:2441
#100 g_main_context_dispatch (context=0x107d0e0) at gmain.c:3014
#101 0x000000327de42fc8 in g_main_context_iterate (context=0x107d0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#102 0x000000327de4325c in g_main_context_iteration (context=0x107d0e0, may_block=1) at gmain.c:3155
#103 0x000000307658538f in QEventDispatcherGlib::processEvents (this=0x1049b50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#104 0x000000329745fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#105 0x0000003076559e02 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#106 0x0000003076559fff in QEventLoop::exec (this=0x7fffe41d6fc0, flags=...) at kernel/qeventloop.cpp:201
#107 0x000000307655e117 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#108 0x00000000004037b9 in ?? ()
#109 0x000000327a62135d in __libc_start_main (main=0x402cd0, argc=1, ubp_av=0x7fffe41d7658, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe41d7648) at libc-start.c:226
#110 0x0000000000403d11 in _start ()

Possible duplicates by query: bug 292362, bug 288141, bug 287964, bug 286743, bug 284218.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-02-07 17:50:07 UTC
Fixed in 4.8.1
Comment 2 Jekyll Wu 2012-03-23 02:54:57 UTC
*** Bug 296581 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-03-23 02:55:13 UTC
*** Bug 296583 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-09-30 13:18:43 UTC

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