Bug 359007 - Kontact crashed when exit.
Summary: Kontact crashed when exit.
Status: RESOLVED DUPLICATE of bug 289107
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-05 07:26 UTC by Andrey
Modified: 2016-09-06 19:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2016-02-05 07:26:11 UTC
Application: kontact (5.1.1)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.4.0-gentoo-r1 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
Kontact crashed when I close it in system tray. It happens only one time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdd7b8df840 (LWP 12694))]

Thread 10 (Thread 0x7fdd735ef700 (LWP 12717)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd90c8e509 in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at wtf/FastMalloc.cpp:2821
#2  0x00007fdd90c8e568 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1989
#3  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd735ef700) at pthread_create.c:333
#4  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fdd717fd700 (LWP 12718)):
#0  g_mutex_unlock (mutex=0x7fdd6c000990) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread-posix.c:1348
#1  0x00007fdd8b1d93d9 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fdd6c003070, timeout=<optimized out>, context=0x7fdd6c000990) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4102
#2  g_main_context_iterate (context=context@entry=0x7fdd6c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3803
#3  0x00007fdd8b1d954b in g_main_context_iteration (context=0x7fdd6c000990, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#4  0x00007fdd9359eb4b in QEventDispatcherGlib::processEvents (this=0x7fdd6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fdd93541912 in QEventLoop::exec (this=this@entry=0x7fdd717fcd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fdd933613e6 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fdd93366ce1 in QThreadPrivate::start (arg=0x55df61559fa0) at thread/qthread_unix.cpp:331
#8  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd717fd700) at pthread_create.c:333
#9  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fdd64bdf700 (LWP 12755)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd709e767a in cnd_wait (mtx=0x55df615d9d78, cond=0x55df615d9da0) at /var/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/include/c11/threads_posix.h:154
#2  pipe_semaphore_wait (sema=0x55df615d9d78) at /var/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x55df615d9a30) at /var/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:644
#4  0x00007fdd709e6c36 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/include/c11/threads_posix.h:87
#5  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd64bdf700) at pthread_create.c:333
#6  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fdd63740700 (LWP 12767)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd90ac9504 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7fdd783d8050) at heap/BlockAllocator.cpp:139
#2  0x00007fdd90cc6b14 in WTF::wtfThreadEntryPoint (param=0x7fdd783781b0) at wtf/ThreadingPthreads.cpp:195
#3  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd63740700) at pthread_create.c:333
#4  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fdd62f3f700 (LWP 12768)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd90aca793 in JSC::GCThread::waitForNextPhase (this=0x55df616c5d40) at heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x55df616c5d40) at heap/GCThread.cpp:99
#3  0x00007fdd90cc6b14 in WTF::wtfThreadEntryPoint (param=0x7fdd78378140) at wtf/ThreadingPthreads.cpp:195
#4  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd62f3f700) at pthread_create.c:333
#5  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fdd6273e700 (LWP 12769)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd90aca793 in JSC::GCThread::waitForNextPhase (this=0x55df615b38b0) at heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x55df615b38b0) at heap/GCThread.cpp:99
#3  0x00007fdd90cc6b14 in WTF::wtfThreadEntryPoint (param=0x7fdd78378080) at wtf/ThreadingPthreads.cpp:195
#4  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd6273e700) at pthread_create.c:333
#5  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fdd61f3d700 (LWP 12770)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd90aca793 in JSC::GCThread::waitForNextPhase (this=0x55df616d0640) at heap/GCThread.cpp:81
#2  JSC::GCThread::gcThreadMain (this=0x55df616d0640) at heap/GCThread.cpp:99
#3  0x00007fdd90cc6b14 in WTF::wtfThreadEntryPoint (param=0x7fdd783783e0) at wtf/ThreadingPthreads.cpp:195
#4  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd61f3d700) at pthread_create.c:333
#5  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fdd11732700 (LWP 16690)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdd7f74ec24 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fdd7f82a960 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fdd7f74ec88 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fdd8cdfd572 in start_thread (arg=0x7fdd11732700) at pthread_create.c:333
#4  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdce6779700 (LWP 18671)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fdd8b2309f9 in g_cond_wait_until (cond=cond@entry=0x55df61ecd108, mutex=mutex@entry=0x55df61ecd100, end_time=end_time@entry=78931632105) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread-posix.c:1442
#2  0x00007fdd8b1a32a1 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x55df61ecd100, wait=wait@entry=1, end_time=end_time@entry=78931632105) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gasyncqueue.c:422
#3  0x00007fdd8b1a3d8e in g_async_queue_timeout_pop (queue=0x55df61ecd100, timeout=timeout@entry=15000000) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gasyncqueue.c:543
#4  0x00007fdd8b20ba60 in g_thread_pool_wait_for_new_pool () at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthreadpool.c:167
#5  g_thread_pool_thread_proxy (data=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthreadpool.c:364
#6  0x00007fdd8b20aa98 in g_thread_proxy (data=0x7fdcd8003c00) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#7  0x00007fdd8cdfd572 in start_thread (arg=0x7fdce6779700) at pthread_create.c:333
#8  0x00007fdd92a32c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdd7b8df840 (LWP 12694)):
[KCrash Handler]
#6  QExplicitlySharedDataPointer<KSharedConfig>::operator! (this=0x50) at /usr/include/qt5/QtCore/qshareddata.h:201
#7  KMKernel::config (this=0x55df61870870) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kmkernel.cpp:1605
#8  0x00007fdd4ba0ce62 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x55df63231fe0) at /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/folder/foldercollection.cpp:217
#9  0x00007fdd4ba0d420 in MailCommon::FolderCollection::~FolderCollection (this=0x55df63231fe0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/folder/foldercollection.cpp:83
#10 0x00007fdd4ba0d48c in MailCommon::FolderCollection::~FolderCollection (this=0x55df63231fe0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/folder/foldercollection.cpp:85
#11 0x00007fdd4ba02766 in QtSharedPointer::ExternalRefCountData::destroy (this=0x55df6220f720) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:151
#12 QSharedPointer<MailCommon::FolderCollection>::deref (d=0x55df6220f720) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:472
#13 QSharedPointer<MailCommon::FolderCollection>::deref (this=0x55df6363bf08) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:467
#14 QSharedPointer<MailCommon::FolderCollection>::~QSharedPointer (this=0x55df6363bf08, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:306
#15 MailCommon::CollectionGeneralPage::~CollectionGeneralPage (this=0x55df6363be80, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/collectionpage/collectiongeneralpage.cpp:65
#16 0x00007fdd4ba027cc in MailCommon::CollectionGeneralPage::~CollectionGeneralPage (this=0x55df6363be80, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/mailcommon-15.12.1/work/kdepim-15.12.1/mailcommon/src/collectionpage/collectiongeneralpage.cpp:67
#17 0x00007fdd9357ba65 in QObjectPrivate::deleteChildren (this=this@entry=0x55df6268eec0) at kernel/qobject.cpp:1946
#18 0x00007fdd940d2230 in QWidget::~QWidget (this=0x55df6227bda0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1658
#19 0x00007fdd94246fec in QStackedWidget::~QStackedWidget (this=0x55df6227bda0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:143
#20 0x00007fdd9357ba65 in QObjectPrivate::deleteChildren (this=this@entry=0x55df62b92ed0) at kernel/qobject.cpp:1946
#21 0x00007fdd940d2230 in QWidget::~QWidget (this=0x55df618479c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1658
#22 0x00007fdd9425532c in QTabWidget::~QTabWidget (this=0x55df618479c0, __in_chrg=<optimized out>) at widgets/qtabwidget.cpp:359
#23 0x00007fdd9357ba65 in QObjectPrivate::deleteChildren (this=this@entry=0x55df63f7a3f0) at kernel/qobject.cpp:1946
#24 0x00007fdd940d2230 in QWidget::~QWidget (this=0x55df622fa150, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1658
#25 0x00007fdd8aa67bbb in Akonadi::CollectionPropertiesDialog::~CollectionPropertiesDialog (this=0x55df622fa150, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/libakonadi-15.12.1/work/kdepimlibs-15.12.1/akonadi/src/widgets/collectionpropertiesdialog.cpp:193
#26 0x00007fdd8aa67c8c in Akonadi::CollectionPropertiesDialog::~CollectionPropertiesDialog (this=0x55df622fa150, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/libakonadi-15.12.1/work/kdepimlibs-15.12.1/akonadi/src/widgets/collectionpropertiesdialog.cpp:198
#27 0x00007fdd9357ba65 in QObjectPrivate::deleteChildren (this=this@entry=0x55df618e85b0) at kernel/qobject.cpp:1946
#28 0x00007fdd940d2230 in QWidget::~QWidget (this=0x55df618e82a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1658
#29 0x00007fdd5017e012 in KMMainWidget::~KMMainWidget (this=0x55df618e82a0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kmmainwidget.cpp:372
#30 0x00007fdd5017e18c in KMMainWidget::~KMMainWidget (this=0x55df618e82a0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kmmainwidget.cpp:377
#31 0x00007fdd9357ba65 in QObjectPrivate::deleteChildren (this=this@entry=0x55df618e7b30) at kernel/qobject.cpp:1946
#32 0x00007fdd940d2230 in QWidget::~QWidget (this=0x55df618086d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1658
#33 0x00007fdd940d244c in QWidget::~QWidget (this=0x55df618086d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1678
#34 0x00007fdd914f0300 in KParts::Part::~Part (this=0x55df617faf90, __vtt_parm=0x7fdd50774fb0 <VTT for KMailPart+16>, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/kparts-5.18.0/work/kparts-5.18.0/src/part.cpp:65
#35 0x00007fdd50570698 in KMailPart::~KMailPart (this=this@entry=0x55df617faf90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kmail_part.cpp:104
#36 0x00007fdd5057076c in KMailPart::~KMailPart (this=0x55df617faf90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kmail_part.cpp:112
#37 0x00007fdd950f942d in KontactInterface::Plugin::~Plugin (this=0x55df617eba40, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/kontactinterface-15.12.1/work/kontactinterface-15.12.1/src/plugin.cpp:89
#38 0x00007fdd50bb3ac9 in KMailPlugin::~KMailPlugin (this=0x55df617eba40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kontactplugin/kmail_plugin.cpp:171
#39 0x00007fdd50bb3b4c in KMailPlugin::~KMailPlugin (this=0x55df617eba40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/kontactplugin/kmail_plugin.cpp:175
#40 0x00007fdd9532554e in Kontact::MainWindow::~MainWindow (this=this@entry=0x55df615420c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kontact/src/mainwindow.cpp:299
#41 0x00007fdd9532576c in Kontact::MainWindow::~MainWindow (this=0x55df615420c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kontact/src/mainwindow.cpp:301
#42 0x000055df5fa63eef in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:317
#43 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:325
#44 main (argc=1, argv=0x7ffea415f648) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kontact/src/main.cpp:222

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-06 19:43:39 UTC

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