Version: 4.3.0 (using KDE 4.3.0) OS: Linux Installed from: Debian testing/unstable Packages Maybe a duplicate of https://bugs.kde.org/show_bug.cgi?id=188500 Application that crashed: kontact Version of the application: 4.3.0 KDE Version: 4.3.00 (KDE 4.3.0) Qt Version: 4.5.2 Operating System: Linux 2.6.30-1-686 i686 Distribution: Debian GNU/Linux unstable (sid) What I was doing when the application crashed: I selected File > Quit and Kontact crashes. I am not sure if this is the same, but Kontact crashes every day at the end of my work day when I am shutting down; however the shutdown closes the bug reporting tool faster than I can work to report the bug. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 0x42520ffa in KJob::error (this=) at ../../kdecore/jobs/kjob.cpp:211 #7 0x44c458b6 in ~KMAcctCachedImap (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/kmacctcachedimap.cpp:67 #8 0x44bc27be in qDeleteAll<QList<KMAccount*>::const_iterator> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:350 #9 qDeleteAll<AccountList> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:358 #10 ~AccountManager (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/accountmanager.cpp:39 #11 0x44ca7bd1 in KMKernel::cleanup (this=<value optimized out>) at ../../kmail/kmkernel.cpp:1716 #12 0xb50d080b in ~KMailPart (this=0x94cc480, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:143 #13 0x435b95d9 in ~Plugin (this=<value optimized out>, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kontactinterfaces/plugin.cpp:86 #14 0xb513b6ec in ~KMailPlugin (this=0x94b7c80, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:150 #15 0x44248eb6 in ~MainWindow (this=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:274 #16 0x4208cb65 in qDeleteInEventHandler (o=<value optimized out>) at kernel/qobject.cpp:3814 #17 0x4208e43b in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1093 #18 0x428d6040 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7946 #19 0x42c9a3d7 in QMainWindow::event (this=<value optimized out>, event=<value optimized out>) at widgets/qmainwindow.cpp:1399 #20 0x433c65f7 in KMainWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:1094 #21 0x4340b5bc in KXmlGuiWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #22 0x428807d4 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056 #23 0x42888a12 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4021 #24 0x432e400d in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:302 #25 0x4207dfcb in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:610 #26 0x4207ec0e in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #27 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1247 #28 0x4207eded in QCoreApplication::sendPostedEvents (receiver=) at kernel/qcoreapplication.cpp:1140 #29 0x420a920f in QCoreApplication::sendPostedEvents (s=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #30 postEventSourceDispatch (s=) at kernel/qeventdispatcher_glib.cpp:210 #31 0x41ae8368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x41aeb8c3 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x41aeba48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x420a8e58 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #35 0x4291ff85 in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:202 #36 0x4207c61a in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149 #37 0x4207ca62 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201 #38 0x4207eeb9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #39 0x42880657 in QApplication::exec () at kernel/qapplication.cpp:3525 #40 0x0804bd40 in main (argc=1, argv=0xbfc8ed24) at ../../../kontact/src/main.cpp:218 Report to https://bugs.kde.org
- Can you reproduce the crash at will all the times closing Kontact during the session ? Thanks
Yes, pretty much any time I close Kontact (which is rare, really). Backtrace from this round, if it helps at all. Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 0x42520ffa in KJob::error (this=) at ../../kdecore/jobs/kjob.cpp:211 #7 0x44c458b6 in ~KMAcctCachedImap (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/kmacctcachedimap.cpp:67 #8 0x44bc27be in qDeleteAll<QList<KMAccount*>::const_iterator> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:350 #9 qDeleteAll<AccountList> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:358 #10 ~AccountManager (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/accountmanager.cpp:39 #11 0x44ca7bd1 in KMKernel::cleanup (this=<value optimized out>) at ../../kmail/kmkernel.cpp:1716 #12 0xb520680b in ~KMailPart (this=0x9d9c6c8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:143 #13 0x435b95d9 in ~Plugin (this=<value optimized out>, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kontactinterfaces/plugin.cpp:86 #14 0xb52716ec in ~KMailPlugin (this=0x9d8c8b8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:150 #15 0x44248eb6 in ~MainWindow (this=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:274 #16 0x4208cb65 in qDeleteInEventHandler (o=<value optimized out>) at kernel/qobject.cpp:3814 #17 0x4208e43b in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1093 #18 0x428d6040 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7946 #19 0x42c9a3d7 in QMainWindow::event (this=<value optimized out>, event=<value optimized out>) at widgets/qmainwindow.cpp:1399 #20 0x433c65f7 in KMainWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:1094 #21 0x4340b5bc in KXmlGuiWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #22 0x428807d4 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056 #23 0x42888a12 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4021 #24 0x432e400d in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:302 #25 0x4207dfcb in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:610 #26 0x4207ec0e in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #27 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1247 #28 0x4207eded in QCoreApplication::sendPostedEvents (receiver=) at kernel/qcoreapplication.cpp:1140 #29 0x420a920f in QCoreApplication::sendPostedEvents (s=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #30 postEventSourceDispatch (s=) at kernel/qeventdispatcher_glib.cpp:210 #31 0x41ae8368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x41aeb8c3 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x41aeba48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x420a8e58 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #35 0x4291ff85 in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:202 #36 0x4207c61a in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149 #37 0x4207ca62 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201 #38 0x4207eeb9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #39 0x42880657 in QApplication::exec () at kernel/qapplication.cpp:3525 #40 0x0804bd40 in main (argc=3, argv=0xbffc49b4) at ../../../kontact/src/main.cpp:218
I can confirm this bug. My Kontact also always crashes with the same backtrace on exit. I also have configured a Scalix account which is based on disconnected IMAP. A condition for the bug to occur is that you have the check for new mail at least once. I'm using Kontact version 4.3.1.
I too was using a Scalix account when this crash would happen; as of last week my company is no longer using Scalix; I'll post back once the scalix accounts have been retired. Just tried it again and this was the backtrace, if it helps at all: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 0x00000000 in ?? () #7 0x4571759a in KMAcctCachedImap::killAllJobsInternal (this=<value optimized out>, disconnectSlave=<value optimized out>) at ../../kmail/kmacctcachedimap.cpp:130 #8 0x45718136 in ~KMAcctCachedImap (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/kmacctcachedimap.cpp:67 #9 0x4569505e in qDeleteAll<QList<KMAccount*>::const_iterator> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:350 #10 qDeleteAll<AccountList> (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:358 #11 ~AccountManager (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/accountmanager.cpp:39 #12 0x45779e71 in KMKernel::cleanup (this=<value optimized out>) at ../../kmail/kmkernel.cpp:1733 #13 0xb51d080b in ~KMailPart (this=0x9eac580, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:143 #14 0x413a25d9 in ~Plugin (this=<value optimized out>, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kontactinterfaces/plugin.cpp:86 #15 0xb52296ec in ~KMailPlugin (this=0x9e94550, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:150 #16 0x4165aeb6 in ~MainWindow (this=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:274 #17 0x4fd87bc5 in qDeleteInEventHandler (o=<value optimized out>) at kernel/qobject.cpp:3814 #18 0x4fd8949b in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1093 #19 0x42e22080 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7946 #20 0x431e6427 in QMainWindow::event (this=<value optimized out>, event=<value optimized out>) at widgets/qmainwindow.cpp:1399 #21 0x43d4b4f7 in KMainWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:1094 #22 0x43d900ec in KXmlGuiWindow::event (this=<value optimized out>, ev=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #23 0x42dcc814 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056 #24 0x42dd4a52 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4021 #25 0x43c68ead in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:302 #26 0x4fd7902b in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:610 #27 0x4fd79c6e in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #28 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1247 #29 0x4fd79e4d in QCoreApplication::sendPostedEvents (receiver=) at kernel/qcoreapplication.cpp:1140 #30 0x4fda426f in QCoreApplication::sendPostedEvents (s=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #31 postEventSourceDispatch (s=) at kernel/qeventdispatcher_glib.cpp:210 #32 0x4f978e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #33 0x4f97c623 in ?? () from /lib/libglib-2.0.so.0 #34 0x4f97c7a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #35 0x4fda3eb8 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #36 0x42e6bfd5 in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:202 #37 0x4fd7767a in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149 #38 0x4fd77ac2 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201 #39 0x4fd79f19 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #40 0x42dcc697 in QApplication::exec () at kernel/qapplication.cpp:3525 #41 0x0804bd40 in main (argc=1, argv=0xbfdf5254) at ../../../kontact/src/main.cpp:218
*** This bug has been marked as a duplicate of bug 195894 ***