Bug 305658

Summary: KMail crash
Product: [Applications] kmail2 Reporter: Valentino Liberali <valentino.liberali>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Valentino Liberali 2012-08-23 11:59:36 UTC
Application: kmail (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 2.6.37-gentoo-r4 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Error given by KMail:

KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fbb43f13780 (LWP 11541))]

Thread 3 (Thread 0x7fbb24906700 (LWP 11544)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbb3595f014 in scavengerThread (this=0x7fbb36345100) at wtf/FastMalloc.cpp:2495
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fbb36345100) at wtf/FastMalloc.cpp:1618
#3  0x00007fbb3f045d96 in start_thread (arg=0x7fbb24906700) at pthread_create.c:305
#4  0x00007fbb41234a8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fbb24005700 (LWP 11545)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007fbb24004af0 in ?? ()
#2  0x00007fffa2fff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fbb43f13780 (LWP 11541)):
[KCrash Handler]
#6  0x00007fbb4117faa5 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fbb41180da5 in *__GI_abort () at abort.c:91
#8  0x00007fbb41a87a04 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#9  0x00007fbb41a87b9d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fbb43a8e828 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fffa2f6e220) at global/qglobal.cpp:2306
#10 0x00007fbb41a87d35 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#11 0x00007fbb439f1a2f in operator-> (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/widgets/kmainwindow.cpp:214
#12 operator* (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/widgets/kmainwindow.cpp:214
#13 KMainWindow::memberList () at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/widgets/kmainwindow.cpp:1176
#14 0x00007fbb42c8b8e0 in KMKernel::dumpDeadLetters (this=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/kmail/kmkernel.cpp:1283
#15 0x00007fbb42c8bb17 in kmCrashHandler (sigId=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/kmail/kmkernel.cpp:1135
#16 0x00007fbb43996339 in KCrash::defaultCrashHandler (sig=6) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/util/kcrash.cpp:307
#17 <signal handler called>
#18 0x00007fbb4117faa5 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#19 0x00007fbb41180da5 in *__GI_abort () at abort.c:91
#20 0x00007fbb41a87a04 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#21 0x00007fbb41a87b9d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fbb3ce72d30 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fffa2f6ece0) at global/qglobal.cpp:2306
#22 0x00007fbb41a87d35 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#23 0x00007fbb3ce174df in operator-> (this=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/mailcommon/mailkernel.cpp:48
#24 MailCommon::Kernel::self () at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/mailcommon/mailkernel.cpp:64
#25 0x00007fbb3ce070a0 in MailCommon::FolderCollection::writeConfig (this=0x105a590) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/mailcommon/foldercollection.cpp:210
#26 0x00007fbb3ce079f1 in MailCommon::FolderCollection::~FolderCollection (this=0x105a590, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/mailcommon/foldercollection.cpp:83
#27 0x00007fbb3ce07a89 in MailCommon::FolderCollection::~FolderCollection (this=0x105a590, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.3-r1/work/kmail-4.8.3/mailcommon/foldercollection.cpp:85
#28 0x00007fbb3ce05b26 in deref (value=0x105a590, d=0x105bbf0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#29 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#30 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#31 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:467
#32 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0xf05140, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:651
#33 0x00007fbb411827f5 in __cxa_finalize (d=0x7fbb3d0b9338) at cxa_finalize.c:56
#34 0x00007fbb3cdd55b6 in ?? () from /usr/lib64/libmailcommon.so.4
#35 0x00000000000000a1 in ?? ()
#36 0x0000000000000000 in ?? ()

This bug may be a duplicate of or related to bug 300159.

Possible duplicates by query: bug 305491, bug 304640, bug 303531, bug 300961, bug 300059.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-25 14:50:57 UTC

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