Bug 166014 - kontact (kde4) crashes on exit
Summary: kontact (kde4) crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.52
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 08:52 UTC by Paul van Erk
Modified: 2008-07-09 01:55 UTC (History)
0 users

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 Paul van Erk 2008-07-08 08:52:44 UTC
Version:            (using KDE 4.0.83)
Installed from:    SuSE RPMs
OS:                Linux

Plain and simple: Kontact crashes when exiting (menu, ALT-F4, all types). Here's the backtrace:

Application: Kontact (kontact), signal SIGSEGV
[?1034h(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 0x7fd62bf81700 (LWP 5250)]
[KCrash handler]
#5  0x00007fd621823396 in __dynamic_cast () from /usr/lib64/libstdc++.so.6
#6  0x00007fd61462bdd9 in ?? () from /usr/lib64/libkmailprivate.so.4
#7  0x00007fd61456b039 in ?? () from /usr/lib64/libkmailprivate.so.4
#8  0x00007fd61458deb2 in ?? () from /usr/lib64/libkmailprivate.so.4
#9  0x00007fd61462393d in ?? () from /usr/lib64/libkmailprivate.so.4
#10 0x00007fd61462429c in ?? () from /usr/lib64/libkmailprivate.so.4
#11 0x00007fd61456dccb in ?? () from /usr/lib64/libkmailprivate.so.4
#12 0x00007fd6145ad5be in ?? () from /usr/lib64/libkmailprivate.so.4
#13 0x00007fd6145ab0ba in ?? () from /usr/lib64/libkmailprivate.so.4
#14 0x00007fd6145ad5be in ?? () from /usr/lib64/libkmailprivate.so.4
#15 0x00007fd6145ab0ba in ?? () from /usr/lib64/libkmailprivate.so.4
#16 0x00007fd6145ad5be in ?? () from /usr/lib64/libkmailprivate.so.4
#17 0x00007fd6145ab7dd in ?? () from /usr/lib64/libkmailprivate.so.4
#18 0x00007fd6145af422 in ?? () from /usr/lib64/libkmailprivate.so.4
#19 0x00007fd614666ed1 in KMKernel::cleanup ()
   from /usr/lib64/libkmailprivate.so.4
#20 0x00007fd614c9080a in ?? () from /usr/lib64/kde4/kmailpart.so
#21 0x00007fd62b964fea in Kontact::MainWindow::~MainWindow ()
   from /usr/lib64/libkontactprivate.so.4
#22 0x00007fd6269129f5 in QObject::event () from /usr/lib64/libQtCore.so.4
#23 0x00007fd6231159ec in QWidget::event () from /usr/lib64/libQtGui.so.4
#24 0x00007fd6233e10fb in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#25 0x00007fd6287526e8 in KXmlGuiWindow::event () from /usr/lib64/libkdeui.so.5
#26 0x00007fd6230c992d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007fd6230cfcfa in QApplication::notify () from /usr/lib64/libQtGui.so.4
#28 0x00007fd62866966b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#29 0x00007fd626904e9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#30 0x00007fd6269057cb in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#31 0x00007fd626905a50 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#32 0x0000000000404a04 in _start ()
#0  0x00007fd62103a230 in nanosleep () from /lib64/libc.so.6

And yes, the strange blocky character at the beginning of the second line also appears in the original backtrace in the KDE Crash Handler. :/
Comment 1 Paul van Erk 2008-07-08 08:54:33 UTC
Mind you, this is KDE 4.0.85 but has been happening since beta1 already.
Comment 2 Christophe Marin 2008-07-08 11:26:48 UTC
Please read the following page and provide a useful backtrace for this crash : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 Paul van Erk 2008-07-08 13:32:24 UTC
Doh, this should provide better information. I don't know how to read a backtrace, but I see things about kmail. Let me stress that starting and closing kmail separately from kontact does not cause a crash. It only happens using kontact

Application: Kontact (kontact), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7fbc5e1fb700 (LWP 5700)]
[KCrash handler]
#5  0x00007fbc53a9d396 in __dynamic_cast () from /usr/lib64/libstdc++.so.6
#6  0x00007fbc468c1dd9 in KMFolderImap::account (this=0xb7af60)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderimap.cpp:188
#7  0x00007fbc46801039 in KMFolder::writeConfig (this=0x835780, 
    configGroup=@0x7fff662439f0)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolder.cpp:226
#8  0x00007fbc46823eb2 in FolderStorage::writeConfig (this=0xb7af60)
    at /usr/src/debug/kdepim-4.0.85/kmail/folderstorage.cpp:959
#9  0x00007fbc468b993d in KMFolderImap::writeConfig (this=0xb7af60)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderimap.cpp:244
#10 0x00007fbc468ba29c in ~KMFolderImap (this=0xb7af60)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderimap.cpp:98
#11 0x00007fbc46803ccb in ~KMFolder (this=0x835780)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolder.cpp:158
#12 0x00007fbc468435be in qDeleteAll<QList<KMFolderNode*>::iterator> (begin=
      {i = 0x7fff66243c30}, end={i = 0x0})
    at /usr/include/QtCore/qalgorithms.h:352
#13 0x00007fbc468410ba in ~KMFolderDir (this=0xb61730)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderdir.cpp:91
#14 0x00007fbc468435be in qDeleteAll<QList<KMFolderNode*>::iterator> (begin=
      {i = 0x7fff66243c90}, end={i = 0x0})
    at /usr/include/QtCore/qalgorithms.h:352
#15 0x00007fbc468410ba in ~KMFolderDir (this=0xb137c0)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderdir.cpp:91
#16 0x00007fbc468435be in qDeleteAll<QList<KMFolderNode*>::iterator> (begin=
      {i = 0x7fff66243cf0}, end={i = 0x0})
    at /usr/include/QtCore/qalgorithms.h:352
#17 0x00007fbc468417dd in ~KMFolderRootDir (this=0xaf9e18)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfolderdir.cpp:37
#18 0x00007fbc46845422 in ~KMFolderMgr (this=0xaf9e00)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmfoldermgr.cpp:53
#19 0x00007fbc468fced1 in KMKernel::cleanup (this=0x9f9460)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmkernel.cpp:1683
#20 0x00007fbc46f2680a in ~KMailPart (this=0x947d30)
    at /usr/src/debug/kdepim-4.0.85/kmail/kmail_part.cpp:138
#21 0x00007fbc5dbdefea in ~MainWindow (this=0x796e20)
    at /usr/src/debug/kdepim-4.0.85/kontact/src/mainwindow.cpp:248
#22 0x00007fbc58b8c9f5 in QObject::event () from /usr/lib64/libQtCore.so.4
#23 0x00007fbc5538f9ec in QWidget::event () from /usr/lib64/libQtGui.so.4
#24 0x00007fbc5565b0fb in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#25 0x00007fbc5a9cc6e8 in KXmlGuiWindow::event () from /usr/lib64/libkdeui.so.5
#26 0x00007fbc5534392d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007fbc55349cfa in QApplication::notify () from /usr/lib64/libQtGui.so.4
#28 0x00007fbc5a8e366b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#29 0x00007fbc58b7ee9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#30 0x00007fbc58b7f7cb in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#31 0x00007fbc58b7fa50 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#32 0x0000000000404a04 in main (argc=1, argv=0x7fff66244f78)
    at /usr/src/debug/kdepim-4.0.85/kontact/src/main.cpp:210
#0  0x00007fbc532b4230 in nanosleep () from /lib64/libc.so.6
Comment 4 Torgny Nyblom 2008-07-08 15:38:02 UTC
This is fixed in trunk. Should be in SuSE when they do their next sync.
There should be a dupe somewhere but I can't find it now :(
Comment 5 Paul van Erk 2008-07-08 16:53:05 UTC
Neither could I. :)  Looking forward to that next sync, heh :)
Comment 6 Paul van Erk 2008-07-09 01:55:04 UTC
Just thought I'd restart KDE completely and: gone is the crash. Thanks a lot! You guys are doing a wonderful job brining KDE to be the most advanced DE around. :)