Bug 162815 - KMail crashes on exit
Summary: KMail crashes on exit
Status: RESOLVED DUPLICATE of bug 163712
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 16:45 UTC by Elias Probst
Modified: 2008-09-18 18:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2008-05-29 16:45:49 UTC
Version:           SVN rev 814020 (trunk) (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-Version 4.1.2 (Gentoo 4.1.2 p1.0.2) CFLAGS="-O2 -march=nocona -msse3 -pipe -fomit-frame-pointer"
OS:                Linux

KMail does often crash here on exit.
There are 3 online IMAP accounts configured and used.

Backtrace:

Application: KMail (kmail), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb44876f0 (LWP 15518)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb4d86101 in raise () from /lib/libc.so.6
#8  0xb4d878e8 in abort () from /lib/libc.so.6
#9  0xb7dd50c7 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfc2cf2c "ASSERT: \"item_exists()\" in file /usr/include/qt4/QtCore/qhash.h, line 1012") at global/qglobal.cpp:2058
#10 0xb7dd517f in qFatal (msg=0xb7f29754 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb7dd5613 in qt_assert (assertion=0xb784eccc "item_exists()", 
    file=0xb7850e9c "/usr/include/qt4/QtCore/qhash.h", line=1012)
    at global/qglobal.cpp:1828
#12 0xb763caf4 in QHashIterator<QString, int>::key (this=0xbfc2efc0)
    at /usr/include/qt4/QtCore/qhash.h:1012
#13 0xb763ac07 in ~KMAcctImap (this=0x81cb718)
    at /var/tmp/paludis/kde-base-kmail-scm/work/kmail/kmail/kmacctimap.cpp:95
#14 0xb75dd80d in qDeleteAll<QList<KMAccount*>::const_iterator> (
    begin=@0xbfc2f048, end=@0xbfc2f044)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#15 0xb75dd874 in qDeleteAll<QList<KMAccount*> > (c=@0x81b4be0)
    at /usr/include/qt4/QtCore/qalgorithms.h:360
#16 0xb75dd054 in ~AccountManager (this=0x81b4bd8)
    at /var/tmp/paludis/kde-base-kmail-scm/work/kmail/kmail/accountmanager.cpp:40
#17 0xb76876d6 in KMKernel::cleanup (this=0xbfc2f12c)
    at /var/tmp/paludis/kde-base-kmail-scm/work/kmail/kmail/kmkernel.cpp:1601
#18 0x0804ac5c in main (argc=)
    at /var/tmp/paludis/kde-base-kmail-scm/work/kmail/kmail/main.cpp:132
#19 0xb4d72fdc in __libc_start_main () from /lib/libc.so.6
#20 0x0804a1e1 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Torgny Nyblom 2008-07-05 09:04:50 UTC
SVN commit 828249 by tnyblom:

CCBUG: 162815
CCBUG: 163712

Move the deletion of the account manager to after the foldermanagers since atleast the IMAP one needs a living account to be able to die grasefully.


 M  +2 -2      kmkernel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=828249
Comment 2 Adam Drojewski 2008-07-19 18:01:20 UTC
still crashes on exit - KUBUNTU with kde 4.1 rc1

Application: KMail (kmail), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4380720 (LWP 8219)]
[New Thread 0xaafbfb90 (LWP 8272)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7ee8410 in __kernel_vsyscall ()
#7  0xb657e085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb657fa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb657710e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7a0dea1 in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#11 0xb7a2e3fd in ConfigModuleWithTabs::save ()
   from /usr/lib/kde4/lib/libkmailprivate.so.4
#12 0xb5e5fbba in KCModuleProxy::save () from /usr/lib/kde4/lib/libkutils.so.4
#13 0xb5e5b505 in ?? () from /usr/lib/kde4/lib/libkutils.so.4
#14 0xb5e5b6ea in KCMultiDialog::slotOkClicked ()
   from /usr/lib/kde4/lib/libkutils.so.4
#15 0xb5e5d0cf in KCMultiDialog::qt_metacall ()
   from /usr/lib/kde4/lib/libkutils.so.4
#16 0xb7a1c56a in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#17 0xb721f4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb721fbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb761c397 in KDialog::okClicked () from /usr/lib/kde4/lib/libkdeui.so.5
#20 0xb761daee in KDialog::slotButtonClicked ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#21 0xb761fb6a in KDialog::qt_metacall () from /usr/lib/kde4/lib/libkdeui.so.5
#22 0xb76d68da in KPageDialog::qt_metacall ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#23 0xb5e5d03a in KCMultiDialog::qt_metacall ()
   from /usr/lib/kde4/lib/libkutils.so.4
#24 0xb7a1c56a in ?? () from /usr/lib/kde4/lib/libkmailprivate.so.4
#25 0xb721f4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb721fbc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb72237c3 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#28 0xb7223fcd in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#29 0xb72241be in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#30 0xb72242d7 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#31 0xb721f4f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb721f930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb6eb8eb1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#34 0xb6c18f49 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6c1a7e0 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6c1aa3b in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#37 0xb69324a4 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb6c19aff in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#39 0xb6cbe932 in QPushButton::event () from /usr/lib/libQtGui.so.4
#40 0xb68dac0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#41 0xb68dfcd5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#42 0xb76aa603 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#43 0xb720a6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#44 0xb68dce21 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#45 0xb6946ccd in ?? () from /usr/lib/libQtGui.so.4
#46 0xb69456b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#47 0xb696e3ba in ?? () from /usr/lib/libQtGui.so.4
#48 0xb4cd9bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb4cdce5e in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb4cdd3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb7235f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#52 0xb696e1b5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb720992d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb7209abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb720bd3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb68da567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0x0804a85f in _start ()
#0  0xb7ee8410 in __kernel_vsyscall ()
Comment 3 Thomas McGuire 2008-07-19 18:08:04 UTC
> still crashes on exit - KUBUNTU with kde 4.1 rc1

That is a different backtrace, so use a different bug for this. Moreover, the 
backtrace is completely useless since you don't have debugging information 
packages, please see 
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
It might be related to bug 166523 though.
Comment 4 Thomas McGuire 2008-09-18 18:48:48 UTC

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