[Bug 294752] New: kmail crashes on exit

Helio Chissini de Castro helio at kde.org
Fri Feb 24 15:28:21 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=294752

           Summary: kmail crashes on exit
           Product: kmail2
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: helio at kde.org


Application: kmail (4.9 pre)
KDE Platform Version: 4.8.00 (4.8.0) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
Just close application, self compiled with qt 4.8
Other KDE application not presents same behavior.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc21353c840 (LWP 10666))]

Thread 2 (Thread 0x7fc208291700 (LWP 10669)):
#0  0x000000389bc0bae5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fc217e28dd7 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/opt/qt4/lib/libQtWebKit.so.4
#2  0x00007fc217e283ac in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /opt/qt4/lib/libQtWebKit.so.4
#3  0x000000389bc07d90 in start_thread () from /lib64/libpthread.so.0
#4  0x000000389b4ef48d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc21353c840 (LWP 10666)):
[KCrash Handler]
#6  0x000000389b436285 in raise () from /lib64/libc.so.6
#7  0x000000389b437b9b in abort () from /lib64/libc.so.6
#8  0x00007fc21cc21813 in qt_message_output (msgType=QtFatalMsg, buf=0x4cda9b8
"Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after
destruction. Defined at /code/kdesrc/kde/kdepim/mailcommon/mailkernel.cpp:53")
at /code/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2252
#9  0x00007fc21cc21986 in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fc21b0036a0 "Fatal
Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d",
ap=0x7fff5252a6f8) at /code/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2298
#10 0x00007fc21cc22116 in qFatal (msg=0x7fc21b0036a0 "Fatal Error: Accessed
global static '%s *%s()' after destruction. Defined at %s:%d") at
/code/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2481
#11 0x00007fc21afb608f in operator-> (this=<optimized out>) at
/code/kdesrc/kde/kdepim/mailcommon/mailkernel.cpp:53
#12 MailCommon::Kernel::self () at
/code/kdesrc/kde/kdepim/mailcommon/mailkernel.cpp:69
#13 0x00007fc21afa92e9 in MailCommon::FolderCollection::writeConfig
(this=0x2f43220) at /code/kdesrc/kde/kdepim/mailcommon/foldercollection.cpp:200
#14 0x00007fc21afa9d11 in MailCommon::FolderCollection::~FolderCollection
(this=0x2f43220, __in_chrg=<optimized out>) at
/code/kdesrc/kde/kdepim/mailcommon/foldercollection.cpp:81
#15 0x00007fc21afa9da9 in MailCommon::FolderCollection::~FolderCollection
(this=0x2f43220, __in_chrg=<optimized out>) at
/code/kdesrc/kde/kdepim/mailcommon/foldercollection.cpp:83
#16 0x00007fc21afaa366 in deref (value=0x2f43220, d=0x2f36ed0) at
/opt/qt4/include/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at
/opt/qt4/include/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at
/opt/qt4/include/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at
/opt/qt4/include/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData
(this=<optimized out>, x=0x2ce6030) at /opt/qt4/include/QtCore/qmap.h:651
#21 0x000000389b439d4d in __cxa_finalize () from /lib64/libc.so.6
#22 0x00007fc21af4f646 in __do_global_dtors_aux () from
/opt/kde/lib/libmailcommon.so.4
#23 0x00007fff5252ab60 in ?? ()
#24 0x00007fff5252b2e0 in ?? ()
#25 0x00007fc21aff7c51 in _fini () from /opt/kde/lib/libmailcommon.so.4
#26 0x00007fff5252b2e0 in ?? ()
#27 0x000000389b00f79d in _dl_fini () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list