Bug 325832

Summary: Kontact (Kmail) crashed on exit
Product: [Applications] kontact Reporter: Antonis Kanouras <antonis+kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antonis Kanouras 2013-10-10 05:00:06 UTC
Application: kontact (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-32-generic x86_64
Distribution: Ubuntu 13.04

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

This instance of Kontact (with Summary, Kmail & Akregator parts running) had been running for 6 days.
During the last day it had not been able to update new message totals in Kmail's folder list (not the first time it happened), among other signs.

Anyway, while in the Kmail part, I pressed Ctrl-Q to exit it and, a second or so later, it crashed.

-- 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 0x7f6b21bcb800 (LWP 25357))]

Thread 5 (Thread 0x7f6b019b8700 (LWP 25358)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b1ca31575 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6b1ca315c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6b191b3f8e in start_thread (arg=0x7f6b019b8700) at pthread_create.c:311
#4  0x00007f6b1f163e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f6ac109d700 (LWP 25359)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b1c7779f9 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6b1ca5fcde in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6b191b3f8e in start_thread (arg=0x7f6ac109d700) at pthread_create.c:311
#4  0x00007f6b1f163e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f6ab1a96700 (LWP 25394)):
#0  0x00007f6b1f1573cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6b18ce11dc in g_main_context_poll (n_fds=1, fds=0x7f6aac0029c0, timeout=8754, context=0x7f6aac0009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f6aac0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3  0x00007f6b18ce1304 in g_main_context_iteration (context=0x7f6aac0009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4  0x00007f6b1f8dc036 in QEventDispatcherGlib::processEvents (this=0x7f6aac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6b1f8ac38f in QEventLoop::processEvents (this=this@entry=0x7f6ab1a95d80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6b1f8ac618 in QEventLoop::exec (this=this@entry=0x7f6ab1a95d80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6b1f7ae410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f6b1f7b0bec in QThreadPrivate::start (arg=0x1705240) at thread/qthread_unix.cpp:338
#9  0x00007f6b191b3f8e in start_thread (arg=0x7f6ab1a96700) at pthread_create.c:311
#10 0x00007f6b1f163e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6a9488f700 (LWP 2225)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6ab400eb27 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6ab431c660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f6ab400eb59 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6b191b3f8e in start_thread (arg=0x7f6a9488f700) at pthread_create.c:311
#4  0x00007f6b1f163e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6b21bcb800 (LWP 25357)):
[KCrash Handler]
#6  operator QItemSelectionModel* (this=<error reading variable: Cannot access memory at address 0x6b1fc0a860000008>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#7  QAbstractItemView::selectionModel (this=0x6b1fc0a860000000) at itemviews/qabstractitemview.cpp:766
#8  0x00007f6ab8223306 in MailCommon::FolderTreeWidget::selectedCollections (this=<optimized out>) at ../../mailcommon/folder/foldertreewidget.cpp:244
#9  0x00007f6ab85efbca in KMMainWidget::updateFolderMenu (this=0x1b80b50) at ../../kmail/kmmainwidget.cpp:4137
#10 0x00007f6ab85fca8a in KMMainWidget::slotUpdateActionsAfterMailChecking (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:426
#11 0x00007f6ab860145d in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kmmainwidget.moc:513
#12 0x00007f6b1f8c20ef in QMetaObject::activate (sender=0x1b80da8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007f6b1f8c73ec in QObject::event (this=0x1b80da8, e=<optimized out>) at kernel/qobject.cpp:1156
#14 0x00007f6b202978ec in QApplicationPrivate::notify_helper (this=this@entry=0x14442d0, receiver=receiver@entry=0x1b80da8, e=e@entry=0x7fff67d64880) at kernel/qapplication.cpp:4567
#15 0x00007f6b2029a25b in QApplication::notify (this=this@entry=0x7fff67d65a20, receiver=receiver@entry=0x1b80da8, e=e@entry=0x7fff67d64880) at kernel/qapplication.cpp:4428
#16 0x00007f6b20fa19b6 in KApplication::notify (this=0x7fff67d65a20, receiver=0x1b80da8, event=0x7fff67d64880) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f6b1f8ad63e in QCoreApplication::notifyInternal (this=0x7fff67d65a20, receiver=0x1b80da8, event=event@entry=0x7fff67d64880) at kernel/qcoreapplication.cpp:946
#18 0x00007f6b1f8deb72 in sendEvent (event=0x7fff67d64880, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=this@entry=0x1444930) at kernel/qeventdispatcher_unix.cpp:622
#20 0x00007f6b1f8db9a4 in timerSourceDispatch (source=0x14448d0) at kernel/qeventdispatcher_glib.cpp:186
#21 timerSourceDispatch (source=source@entry=0x14448d0) at kernel/qeventdispatcher_glib.cpp:180
#22 0x00007f6b18ce0f05 in g_main_dispatch (context=0x14447e0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#23 g_main_context_dispatch (context=context@entry=0x14447e0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#24 0x00007f6b18ce1248 in g_main_context_iterate (context=context@entry=0x14447e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#25 0x00007f6b18ce1304 in g_main_context_iteration (context=0x14447e0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#26 0x00007f6b1f8dc016 in QEventDispatcherGlib::processEvents (this=0x1382690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007f6b2033d13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f6b1f8ac38f in QEventLoop::processEvents (this=this@entry=0x7fff67d64af0, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f6b1f8ac618 in QEventLoop::exec (this=0x7fff67d64af0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f6b1fd31c33 in KJob::exec (this=this@entry=0x1bd0620) at ../../kdecore/jobs/kjob.cpp:210
#31 0x00007f6ab85abd78 in KMKernel::cleanup (this=0x1ac7980) at ../../kmail/kmkernel.cpp:1349
#32 0x00007f6ab88ff553 in KMailPart::~KMailPart (this=this@entry=0x196e860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#33 0x00007f6ab88ff639 in KMailPart::~KMailPart (this=0x196e860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#34 0x00007f6b2180f4ee in KontactInterface::Plugin::~Plugin (this=0x186d6b0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#35 0x00007f6ab988ac0f in KMailPlugin::~KMailPlugin (this=0x186d6b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#36 0x00007f6ab988ac39 in KMailPlugin::~KMailPlugin (this=0x186d6b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#37 0x00007f6b213d7036 in Kontact::MainWindow::~MainWindow (this=this@entry=0x15a90f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#38 0x00007f6b213d7189 in Kontact::MainWindow::~MainWindow (this=0x15a90f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#39 0x00007f6b1f8c75e8 in QObject::event (this=this@entry=0x15a90f0, e=e@entry=0x7fe90c0) at kernel/qobject.cpp:1175
#40 0x00007f6b202e41ca in QWidget::event (this=this@entry=0x15a90f0, event=event@entry=0x7fe90c0) at kernel/qwidget.cpp:8845
#41 0x00007f6b206b09ab in QMainWindow::event (this=this@entry=0x15a90f0, event=event@entry=0x7fe90c0) at widgets/qmainwindow.cpp:1478
#42 0x00007f6b210548b3 in KMainWindow::event (this=this@entry=0x15a90f0, ev=ev@entry=0x7fe90c0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#43 0x00007f6b210919a8 in KXmlGuiWindow::event (this=0x15a90f0, ev=0x7fe90c0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#44 0x00007f6b202978ec in QApplicationPrivate::notify_helper (this=this@entry=0x14442d0, receiver=receiver@entry=0x15a90f0, e=e@entry=0x7fe90c0) at kernel/qapplication.cpp:4567
#45 0x00007f6b2029a25b in QApplication::notify (this=this@entry=0x7fff67d65a20, receiver=receiver@entry=0x15a90f0, e=e@entry=0x7fe90c0) at kernel/qapplication.cpp:4428
#46 0x00007f6b20fa19b6 in KApplication::notify (this=0x7fff67d65a20, receiver=0x15a90f0, event=0x7fe90c0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f6b1f8ad63e in QCoreApplication::notifyInternal (this=0x7fff67d65a20, receiver=receiver@entry=0x15a90f0, event=event@entry=0x7fe90c0) at kernel/qcoreapplication.cpp:946
#48 0x00007f6b1f8b1171 in sendEvent (event=0x7fe90c0, receiver=0x15a90f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x13811d0) at kernel/qcoreapplication.cpp:1570
#50 0x00007f6b1f8b14a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#51 0x00007f6b1f8dbe83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=s@entry=0x1444220) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007f6b18ce0f05 in g_main_dispatch (context=0x14447e0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#54 g_main_context_dispatch (context=context@entry=0x14447e0) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#55 0x00007f6b18ce1248 in g_main_context_iterate (context=context@entry=0x14447e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#56 0x00007f6b18ce1304 in g_main_context_iteration (context=0x14447e0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#57 0x00007f6b1f8dc016 in QEventDispatcherGlib::processEvents (this=0x1382690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0x00007f6b2033d13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f6b1f8ac38f in QEventLoop::processEvents (this=this@entry=0x7fff67d65890, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007f6b1f8ac618 in QEventLoop::exec (this=this@entry=0x7fff67d65890, flags=...) at kernel/qeventloop.cpp:204
#61 0x00007f6b1f8b1cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#62 0x00007f6b20295ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#63 0x00000000004033a9 in main (argc=1, argv=0x7fff67d65b68) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 312830.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-10 05:35:01 UTC

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