Bug 349595 - KMail crashed while downloading emails
Summary: KMail crashed while downloading emails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.2
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-25 12:39 UTC by Saeed Jamsa
Modified: 2018-01-31 16:53 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 Saeed Jamsa 2015-06-25 12:39:23 UTC
Application: kmail (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
I setup my email account in KMail. As it started downloading emails (which were more than 4000 and 1GB).  It crashed after downloaing 139 emails and deleted all the local folders.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc76be2b800 (LWP 3446))]

Thread 6 (Thread 0x7fc744602700 (LWP 3456)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc75dbbc81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc75dbbc859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc766a40182 in start_thread (arg=0x7fc744602700) at pthread_create.c:312
#4  0x00007fc76917e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc702e13700 (LWP 3457)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc75d8fd20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc75dbebfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc766a40182 in start_thread (arg=0x7fc702e13700) at pthread_create.c:312
#4  0x00007fc76917e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc7021d4700 (LWP 3458)):
#0  0x00007fc76121761a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc761217979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc7611d587b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7611d5f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc7611d60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc769b0d7be in QEventDispatcherGlib::processEvents (this=0x7fc6f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fc769adf0af in QEventLoop::processEvents (this=this@entry=0x7fc7021d3de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc769adf3a5 in QEventLoop::exec (this=this@entry=0x7fc7021d3de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc7699dbc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007fc7699de32f in QThreadPrivate::start (arg=0x2ba1f40) at thread/qthread_unix.cpp:349
#10 0x00007fc766a40182 in start_thread (arg=0x7fc7021d4700) at pthread_create.c:312
#11 0x00007fc76917e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc6f2bee700 (LWP 3473)):
#0  0x00007fc76121761a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc761217979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc7611d5a6c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7611d5f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc7611d60ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc769b0d7be in QEventDispatcherGlib::processEvents (this=0x7fc6ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fc769adf0af in QEventLoop::processEvents (this=this@entry=0x7fc6f2bedda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc769adf3a5 in QEventLoop::exec (this=this@entry=0x7fc6f2bedda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc7699dbc5f in QThread::exec (this=this@entry=0x33156e0) at thread/qthread.cpp:537
#9  0x00007fc769ac0823 in QInotifyFileSystemWatcherEngine::run (this=0x33156e0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fc7699de32f in QThreadPrivate::start (arg=0x33156e0) at thread/qthread_unix.cpp:349
#11 0x00007fc766a40182 in start_thread (arg=0x7fc6f2bee700) at pthread_create.c:312
#12 0x00007fc76917e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc6f1e32700 (LWP 3576)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc754d2fffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc754d30039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc766a40182 in start_thread (arg=0x7fc6f1e32700) at pthread_create.c:312
#4  0x00007fc76917e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc76be2b800 (LWP 3446)):
[KCrash Handler]
#6  0x00007fc7690bacc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fc7690be0d8 in __GI_abort () at abort.c:89
#8  0x00007fc7699d3c92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x34bf4b8 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2383
#9  0x00007fc7699d3ff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fc76b99e690 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff041437a8) at global/qglobal.cpp:2429
#10 0x00007fc7699d4804 in qFatal (msg=msg@entry=0x7fc76b99e690 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
#11 0x00007fc76b90b14f in operator-> (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#12 operator* (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#13 KMainWindow::memberList () at ../../kdeui/widgets/kmainwindow.cpp:1176
#14 0x00007fc76abaa64b in KMKernel::dumpDeadLetters (this=0xd76) at ../../kmail/kmkernel.cpp:1334
#15 0x00007fc76ababee7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1178
#16 0x00007fc76b8b5028 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:340
#17 <signal handler called>
#18 0x00007fc7690bacc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#19 0x00007fc7690be0d8 in __GI_abort () at abort.c:89
#20 0x00007fc7699d3c92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x3be6dd8 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at global/qglobal.cpp:2383
#21 0x00007fc7699d3ff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fc764989460 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff041444a8) at global/qglobal.cpp:2429
#22 0x00007fc7699d4804 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2612
#23 0x00007fc7648dcb57 in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#24 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#25 0x00007fc764921cb0 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x3064ae0) at ../../mailcommon/folder/foldercollection.cpp:218
#26 0x00007fc7649224a2 in MailCommon::FolderCollection::~FolderCollection (this=0x3064ae0, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:84
#27 0x00007fc764922519 in MailCommon::FolderCollection::~FolderCollection (this=0x3064ae0, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#28 0x00007fc764920dd4 in deref (value=0x3064ae0, d=0x2675b40) 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:466
#32 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x3065230, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#33 0x00007fc7690c05ea in __cxa_finalize (d=0x7fc764be28b0) at cxa_finalize.c:56
#34 0x00007fc7648db513 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#35 0x00007fff04145050 in ?? ()
#36 0x00007fc76bc8e73a in _dl_fini () at dl-fini.c:252
Backtrace stopped: frame did not save the PC

Possible duplicates by query: bug 349085, bug 346970, bug 346142, bug 345399, bug 343954.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:58:48 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-01-31 16:53:47 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input.