Bug 326042

Summary: Another crash on Kontact (Kmail) 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-15 09:56:56 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:

Pressed Ctrl-Q while kmailpart was active.

Again, it crashed, while following a slightly different code path than bug 288141 (the reason I'm filing a separate report).

-- 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 0x7f7bf239b800 (LWP 32306))]

Thread 4 (Thread 0x7f7bd2188700 (LWP 32319)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7bed201575 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7bed2015c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7be9983f8e in start_thread (arg=0x7f7bd2188700) at pthread_create.c:311
#4  0x00007f7bef933e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

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

Thread 2 (Thread 0x7f7b82266700 (LWP 32339)):
#0  0x00007f7bef925b0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7be94ef6cf in read (__nbytes=16, __buf=0x7f7b82265b90, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x1d3bac0) at /build/buildd/glib2.0-2.36.0/./glib/gwakeup.c:212
#3  0x00007f7be94b0d3c in g_main_context_check (context=context@entry=0x7f7b7c0009a0, max_priority=2147483647, fds=fds@entry=0x7f7b7c0029c0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3502
#4  0x00007f7be94b1175 in g_main_context_iterate (context=context@entry=0x7f7b7c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3698
#5  0x00007f7be94b1304 in g_main_context_iteration (context=0x7f7b7c0009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#6  0x00007f7bf00ac036 in QEventDispatcherGlib::processEvents (this=0x7f7b7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f7bf007c38f in QEventLoop::processEvents (this=this@entry=0x7f7b82265d80, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7bf007c618 in QEventLoop::exec (this=this@entry=0x7f7b82265d80, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7beff7e410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x00007f7beff80bec in QThreadPrivate::start (arg=0x20caea0) at thread/qthread_unix.cpp:338
#11 0x00007f7be9983f8e in start_thread (arg=0x7f7b82266700) at pthread_create.c:311
#12 0x00007f7bef933e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7bf239b800 (LWP 32306)):
[KCrash Handler]
#6  0x00007f7b88a6b2fd in MailCommon::FolderTreeWidget::selectedCollections (this=0x2534500) at ../../mailcommon/folder/foldertreewidget.cpp:244
#7  0x00007f7b88e37bca in KMMainWidget::updateFolderMenu (this=0x2536d10) at ../../kmail/kmmainwidget.cpp:4137
#8  0x00007f7b88e44a8a in KMMainWidget::slotUpdateActionsAfterMailChecking (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:426
#9  0x00007f7b88e4945d in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kmmainwidget.moc:513
#10 0x00007f7bf00920ef in QMetaObject::activate (sender=0x2536f68, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#11 0x00007f7bf00973ec in QObject::event (this=0x2536f68, e=<optimized out>) at kernel/qobject.cpp:1156
#12 0x00007f7bf0a678ec in QApplicationPrivate::notify_helper (this=this@entry=0x1dfc250, receiver=receiver@entry=0x2536f68, e=e@entry=0x7fff90796c20) at kernel/qapplication.cpp:4567
#13 0x00007f7bf0a6a25b in QApplication::notify (this=this@entry=0x7fff90797dc0, receiver=receiver@entry=0x2536f68, e=e@entry=0x7fff90796c20) at kernel/qapplication.cpp:4428
#14 0x00007f7bf17719b6 in KApplication::notify (this=0x7fff90797dc0, receiver=0x2536f68, event=0x7fff90796c20) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f7bf007d63e in QCoreApplication::notifyInternal (this=0x7fff90797dc0, receiver=0x2536f68, event=event@entry=0x7fff90796c20) at kernel/qcoreapplication.cpp:946
#16 0x00007f7bf00aeb72 in sendEvent (event=0x7fff90796c20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QTimerInfoList::activateTimers (this=this@entry=0x1e01010) at kernel/qeventdispatcher_unix.cpp:622
#18 0x00007f7bf00ab9a4 in timerSourceDispatch (source=0x1e00fb0) at kernel/qeventdispatcher_glib.cpp:186
#19 timerSourceDispatch (source=source@entry=0x1e00fb0) at kernel/qeventdispatcher_glib.cpp:180
#20 0x00007f7be94b0f05 in g_main_dispatch (context=0x1dfc760) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#21 g_main_context_dispatch (context=context@entry=0x1dfc760) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#22 0x00007f7be94b1248 in g_main_context_iterate (context=context@entry=0x1dfc760, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#23 0x00007f7be94b1304 in g_main_context_iteration (context=0x1dfc760, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#24 0x00007f7bf00ac016 in QEventDispatcherGlib::processEvents (this=0x1d3f690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f7bf0b0d13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f7bf007c38f in QEventLoop::processEvents (this=this@entry=0x7fff90796e90, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f7bf007c618 in QEventLoop::exec (this=0x7fff90796e90, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f7bf0501c33 in KJob::exec (this=this@entry=0x2591620) at ../../kdecore/jobs/kjob.cpp:210
#29 0x00007f7b88df3d78 in KMKernel::cleanup (this=0x2490ca0) at ../../kmail/kmkernel.cpp:1349
#30 0x00007f7b89147553 in KMailPart::~KMailPart (this=this@entry=0x232c080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#31 0x00007f7b89147639 in KMailPart::~KMailPart (this=0x232c080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#32 0x00007f7bf1fdf4ee in KontactInterface::Plugin::~Plugin (this=0x22f0620, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#33 0x00007f7b8a0d2c0f in KMailPlugin::~KMailPlugin (this=0x22f0620, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#34 0x00007f7b8a0d2c39 in KMailPlugin::~KMailPlugin (this=0x22f0620, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#35 0x00007f7bf1ba7036 in Kontact::MainWindow::~MainWindow (this=this@entry=0x1f524a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#36 0x00007f7bf1ba7189 in Kontact::MainWindow::~MainWindow (this=0x1f524a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#37 0x00007f7bf00975e8 in QObject::event (this=this@entry=0x1f524a0, e=e@entry=0x7965050) at kernel/qobject.cpp:1175
#38 0x00007f7bf0ab41ca in QWidget::event (this=this@entry=0x1f524a0, event=event@entry=0x7965050) at kernel/qwidget.cpp:8845
#39 0x00007f7bf0e809ab in QMainWindow::event (this=this@entry=0x1f524a0, event=event@entry=0x7965050) at widgets/qmainwindow.cpp:1478
#40 0x00007f7bf18248b3 in KMainWindow::event (this=this@entry=0x1f524a0, ev=ev@entry=0x7965050) at ../../kdeui/widgets/kmainwindow.cpp:1084
#41 0x00007f7bf18619a8 in KXmlGuiWindow::event (this=0x1f524a0, ev=0x7965050) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#42 0x00007f7bf0a678ec in QApplicationPrivate::notify_helper (this=this@entry=0x1dfc250, receiver=receiver@entry=0x1f524a0, e=e@entry=0x7965050) at kernel/qapplication.cpp:4567
#43 0x00007f7bf0a6a25b in QApplication::notify (this=this@entry=0x7fff90797dc0, receiver=receiver@entry=0x1f524a0, e=e@entry=0x7965050) at kernel/qapplication.cpp:4428
#44 0x00007f7bf17719b6 in KApplication::notify (this=0x7fff90797dc0, receiver=0x1f524a0, event=0x7965050) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007f7bf007d63e in QCoreApplication::notifyInternal (this=0x7fff90797dc0, receiver=receiver@entry=0x1f524a0, event=event@entry=0x7965050) at kernel/qcoreapplication.cpp:946
#46 0x00007f7bf0081171 in sendEvent (event=0x7965050, receiver=0x1f524a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d3e1d0) at kernel/qcoreapplication.cpp:1570
#48 0x00007f7bf00814a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#49 0x00007f7bf00abe83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#50 postEventSourceDispatch (s=s@entry=0x1dfc1a0) at kernel/qeventdispatcher_glib.cpp:279
#51 0x00007f7be94b0f05 in g_main_dispatch (context=0x1dfc760) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#52 g_main_context_dispatch (context=context@entry=0x1dfc760) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#53 0x00007f7be94b1248 in g_main_context_iterate (context=context@entry=0x1dfc760, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#54 0x00007f7be94b1304 in g_main_context_iteration (context=0x1dfc760, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#55 0x00007f7bf00ac016 in QEventDispatcherGlib::processEvents (this=0x1d3f690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007f7bf0b0d13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f7bf007c38f in QEventLoop::processEvents (this=this@entry=0x7fff90797c30, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f7bf007c618 in QEventLoop::exec (this=this@entry=0x7fff90797c30, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f7bf0081cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#60 0x00007f7bf0a65ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#61 0x00000000004033a9 in main (argc=1, argv=0x7fff90797f08) at ../../../kontact/src/main.cpp:219

The reporter indicates this bug may be a duplicate of or related to bug 288141.

Possible duplicates by query: bug 325832, bug 324118.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-15 12:05:02 UTC

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