Bug 329496 - Kontact crashed on exit
Summary: Kontact crashed on exit
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 315601 318072 330738 345517 358928 367808 368349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-01 06:15 UTC by Chris Samuel
Modified: 2020-12-21 06:10 UTC (History)
8 users (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 Chris Samuel 2014-01-01 06:15:35 UTC
Application: kontact (4.12)
KDE Platform Version: 4.12.0
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

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

I was quiting Kontact and it crashed.   It doesn't happen all the time, but this was after searching a folder list.

-- 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 0x7f7dc42da7c0 (LWP 7443))]

Thread 6 (Thread 0x7f7da5678700 (LWP 7444)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7dbf0cb1cd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7dbf0cb209 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7dbb7f0f6e in start_thread (arg=0x7f7da5678700) at pthread_create.c:311
#4  0x00007f7dc18669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f7d64d75700 (LWP 7445)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7dbee0bbbd in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7dbf0faa76 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7dbb7f0f6e in start_thread (arg=0x7f7d64d75700) at pthread_create.c:311
#4  0x00007f7dc18669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f7d47fff700 (LWP 7461)):
#0  0x00007f7dc185ede3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7dc1fdd33b in qt_safe_select (nfds=23, fdread=0x7f7d40000ac8, fdwrite=0x7f7d40000d60, fdexcept=0x7f7d40000ff8, orig_timeout=0x7f7d47ffece0) at kernel/qcore_unix.cpp:93
#2  0x00007f7dc1fe2904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d40000910, flags=..., timeout=0x7f7d47ffece0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f7dc1fe2d02 in QEventDispatcherUNIX::processEvents (this=0x7f7d400008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f7dc1fb15ef in QEventLoop::processEvents (this=this@entry=0x7f7d47ffedb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7dc1fb18e5 in QEventLoop::exec (this=this@entry=0x7f7d47ffedb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7dc1eb088f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f7dc1eb2f2f in QThreadPrivate::start (arg=0x1f011a0) at thread/qthread_unix.cpp:338
#8  0x00007f7dbb7f0f6e in start_thread (arg=0x7f7d47fff700) at pthread_create.c:311
#9  0x00007f7dc18669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7d37990700 (LWP 7498)):
#0  0x00007f7dc185ede3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7dc1fdd37b in qt_safe_select (nfds=41, fdread=0x7f7d30000ac8, fdwrite=0x7f7d30000d60, fdexcept=0x7f7d30000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f7dc1fe2904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d30000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f7dc1fe2d02 in QEventDispatcherUNIX::processEvents (this=0x7f7d300008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f7dc1fb15ef in QEventLoop::processEvents (this=this@entry=0x7f7d3798fd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7dc1fb18e5 in QEventLoop::exec (this=this@entry=0x7f7d3798fd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7dc1eb088f in QThread::exec (this=this@entry=0x90d3c10) at thread/qthread.cpp:542
#7  0x00007f7dc1f92d13 in QInotifyFileSystemWatcherEngine::run (this=0x90d3c10) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f7dc1eb2f2f in QThreadPrivate::start (arg=0x90d3c10) at thread/qthread_unix.cpp:338
#9  0x00007f7dbb7f0f6e in start_thread (arg=0x7f7d37990700) at pthread_create.c:311
#10 0x00007f7dc18669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7d55eb3700 (LWP 14900)):
#0  0x00007f7dc185ede3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7dc1fdd37b in qt_safe_select (nfds=21, fdread=0x7f7d48000aa8, fdwrite=0x7f7d48000d40, fdexcept=0x7f7d48000fd8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f7dc1fe2904 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d480008f0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f7dc1fe2d02 in QEventDispatcherUNIX::processEvents (this=0x7f7d4802c9e0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f7dc1fb15ef in QEventLoop::processEvents (this=this@entry=0x7f7d55eb2d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7dc1fb18e5 in QEventLoop::exec (this=this@entry=0x7f7d55eb2d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7dc1eb088f in QThread::exec (this=this@entry=0xc4a6d40) at thread/qthread.cpp:542
#7  0x00007f7dc1f92d13 in QInotifyFileSystemWatcherEngine::run (this=0xc4a6d40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f7dc1eb2f2f in QThreadPrivate::start (arg=0xc4a6d40) at thread/qthread_unix.cpp:338
#9  0x00007f7dbb7f0f6e in start_thread (arg=0x7f7d55eb3700) at pthread_create.c:311
#10 0x00007f7dc18669cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7dc42da7c0 (LWP 7443)):
[KCrash Handler]
#6  QAbstractItemModelPrivate::removePersistentIndexData (this=0x22f2b80, data=data@entry=0x43432f0) at kernel/qabstractitemmodel.cpp:550
#7  0x00007f7dc1fa8899 in QPersistentModelIndexData::destroy (data=0x43432f0) at kernel/qabstractitemmodel.cpp:83
#8  0x00007f7dc1fa88df in QPersistentModelIndex::~QPersistentModelIndex (this=0x39c8b70, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#9  0x00007f7dc2d72165 in ~QItemSelectionRange (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/itemviews/qitemselectionmodel.h:58
#10 node_destruct (this=<optimized out>, to=<optimized out>, from=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:431
#11 free (this=<optimized out>, data=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#12 QList<QItemSelectionRange>::~QList (this=0x22f2c10, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:732
#13 0x00007f7dc2ef35ff in ~QItemSelection (this=0x256da90, __in_chrg=<optimized out>) at itemviews/qitemselectionmodel.h:231
#14 ~QItemSelectionModelPrivate (this=0x256da00, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qitemselectionmodel_p.h:61
#15 QItemSelectionModelPrivate::~QItemSelectionModelPrivate (this=0x256da00, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qitemselectionmodel_p.h:61
#16 0x00007f7dc1fcb8e5 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=0x2493dc8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#18 QObject::~QObject (this=0x2493dc0, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#19 0x00007f7dc2eead89 in QItemSelectionModel::~QItemSelectionModel (this=0x2493dc0, __in_chrg=<optimized out>) at itemviews/qitemselectionmodel.cpp:974
#20 0x00007f7dc1fc9308 in QObjectPrivate::deleteChildren (this=this@entry=0x22a7c50) at kernel/qobject.cpp:1907
#21 0x00007f7dc29efb37 in QWidget::~QWidget (this=0x225e4f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#22 0x00007f7d5d27aefc in KMMainWidget::~KMMainWidget (this=0x225e4f0, __in_chrg=<optimized out>) at ../../kmail/kmmainwidget.cpp:375
#23 0x00007f7d5d27b139 in KMMainWidget::~KMMainWidget (this=0x225e4f0, __in_chrg=<optimized out>) at ../../kmail/kmmainwidget.cpp:380
#24 0x00007f7dc1fc9308 in QObjectPrivate::deleteChildren (this=this@entry=0x22a8110) at kernel/qobject.cpp:1907
#25 0x00007f7dc29efb37 in QWidget::~QWidget (this=0x224c410, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#26 0x00007f7dc29efe49 in QWidget::~QWidget (this=0x224c410, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#27 0x00007f7dc153e116 in KParts::Part::~Part (this=0x1f38b00, __vtt_parm=0x7f7d5d7ab8b0 <VTT for KMailPart+16>, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#28 0x00007f7d5d5a7cf7 in KMailPart::~KMailPart (this=this@entry=0x1f38b00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:113
#29 0x00007f7d5d5a7da9 in KMailPart::~KMailPart (this=0x1f38b00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#30 0x00007f7dc3f27cae in KontactInterface::Plugin::~Plugin (this=0x1e53210, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#31 0x00007f7d5dbd8a9f in KMailPlugin::~KMailPlugin (this=0x1e53210, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:160
#32 0x00007f7d5dbd8ac9 in KMailPlugin::~KMailPlugin (this=0x1e53210, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:164
#33 0x00007f7dc3aeffee in Kontact::MainWindow::~MainWindow (this=this@entry=0x1d09db0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#34 0x00007f7dc3af0149 in Kontact::MainWindow::~MainWindow (this=0x1d09db0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#35 0x00007f7dc1fcae08 in QObject::event (this=this@entry=0x1d09db0, e=e@entry=0x5e2e630) at kernel/qobject.cpp:1175
#36 0x00007f7dc29f336b in QWidget::event (this=this@entry=0x1d09db0, event=event@entry=0x5e2e630) at kernel/qwidget.cpp:8845
#37 0x00007f7dc2dacdb3 in QMainWindow::event (this=this@entry=0x1d09db0, event=event@entry=0x5e2e630) at widgets/qmainwindow.cpp:1478
#38 0x00007f7dc37622f1 in KMainWindow::event (this=this@entry=0x1d09db0, ev=ev@entry=0x5e2e630) at ../../kdeui/widgets/kmainwindow.cpp:1084
#39 0x00007f7dc3799d89 in KXmlGuiWindow::event (this=0x1d09db0, ev=0x5e2e630) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#40 0x00007f7dc29a3dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1b88440, receiver=receiver@entry=0x1d09db0, e=e@entry=0x5e2e630) at kernel/qapplication.cpp:4567
#41 0x00007f7dc29aa470 in QApplication::notify (this=this@entry=0x7fffeeb7b410, receiver=receiver@entry=0x1d09db0, e=e@entry=0x5e2e630) at kernel/qapplication.cpp:4353
#42 0x00007f7dc36adc6a in KApplication::notify (this=0x7fffeeb7b410, receiver=0x1d09db0, event=0x5e2e630) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007f7dc1fb28bd in QCoreApplication::notifyInternal (this=0x7fffeeb7b410, receiver=receiver@entry=0x1d09db0, event=event@entry=0x5e2e630) at kernel/qcoreapplication.cpp:946
#44 0x00007f7dc1fb5e1f in sendEvent (event=0x5e2e630, receiver=0x1d09db0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1b4b1d0) at kernel/qcoreapplication.cpp:1570
#46 0x00007f7dc1fe2c8f in QEventDispatcherUNIX::processEvents (this=this@entry=0x1b4c690, flags=...) at kernel/qeventdispatcher_unix.cpp:909
#47 0x00007f7dc2a462f6 in QEventDispatcherX11::processEvents (this=0x1b4c690, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#48 0x00007f7dc1fb15ef in QEventLoop::processEvents (this=this@entry=0x7fffeeb7b310, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f7dc1fb18e5 in QEventLoop::exec (this=this@entry=0x7fffeeb7b310, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f7dc1fb6e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#51 0x00007f7dc29a234c in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0x0000000000403660 in main (argc=1, argv=0x7fffeeb7b558) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 322158, bug 318072, bug 317604, bug 316952, bug 315601.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-04 21:57:58 UTC
*** Bug 330738 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2014-02-04 21:59:47 UTC
*** Bug 315601 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2014-02-04 22:01:46 UTC
*** Bug 318072 has been marked as a duplicate of this bug. ***
Comment 4 Denis Kurz 2016-09-10 09:13:24 UTC
*** Bug 345517 has been marked as a duplicate of this bug. ***
Comment 5 Denis Kurz 2016-09-10 09:13:29 UTC
*** Bug 358928 has been marked as a duplicate of this bug. ***
Comment 6 Denis Kurz 2016-09-10 09:13:33 UTC
*** Bug 367808 has been marked as a duplicate of this bug. ***
Comment 7 Denis Kurz 2016-09-10 09:13:38 UTC
*** Bug 368349 has been marked as a duplicate of this bug. ***
Comment 8 Denis Kurz 2016-09-10 09:21:22 UTC
This bug has been reported for versions up to 5.2.3 (bug 367808). Things described in duplicates:

* Quit Kontact while it's frozen in "retrieve folder content" (bug 358928) or "failed to show newly arrived emil messages" (bug 368349)
* from bug 345517: Quit Kontact while observing: "KMail had been continually complaining that the "KMail folders" were "broken" because it couldn't write to one of the directories. I couldn't see why it couldn't write to the directory."
* Quit Kontact with broken folder display (with empty entries) after deleting a search folder (bug 367808)
Comment 9 Justin Zobel 2020-12-17 05:29:34 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 10 Ekkehard Blanz 2020-12-17 16:05:42 UTC
Kontact sill has lots of "issues," i.e. it hangs when updating (BIG) folders a lot, but this particular bug did not occur anymore for me.
Comment 11 Chris Samuel 2020-12-21 06:10:55 UTC
FWIW Kontact still always crashes for me, but this is in kaggregator.

I'd pretty much given up on getting things fixed so I'd not bothered to report it.