Bug 346970 - Crash kmail on start
Summary: Crash kmail on start
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-04-30 17:25 UTC by ruslan5327
Modified: 2018-01-31 16:50 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 ruslan5327 2015-04-30 17:25:44 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:
'Could not create collection trash resource id:2'

The crash can be reproduced every time.

-- 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 0x7fa69ab85800 (LWP 3580))]

Thread 5 (Thread 0x7fa671f20700 (LWP 3583)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa68c91481d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa68c914859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa695798182 in start_thread (arg=0x7fa671f20700) at pthread_create.c:312
#4  0x00007fa697ed647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa630728700 (LWP 3584)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa68c65520d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa68c943fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa695798182 in start_thread (arg=0x7fa630728700) at pthread_create.c:312
#4  0x00007fa697ed647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa62fa9c700 (LWP 3585)):
#0  0x00007fa68ff6f61d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa68ff6f9a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa68ff2def6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa68ff2e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa6988657be in QEventDispatcherGlib::processEvents (this=0x7fa6200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fa6988370af in QEventLoop::processEvents (this=this@entry=0x7fa62fa9bde0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa6988373a5 in QEventLoop::exec (this=this@entry=0x7fa62fa9bde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa698733c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007fa69873632f in QThreadPrivate::start (arg=0xe8b510) at thread/qthread_unix.cpp:349
#9  0x00007fa695798182 in start_thread (arg=0x7fa62fa9c700) at pthread_create.c:312
#10 0x00007fa697ed647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa62dfdc700 (LWP 3586)):
#0  0x00007fa69579a569 in __GI___pthread_mutex_lock (mutex=0x7fa624000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fa68ff6f981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa68ff2da6c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa68ff2df7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa68ff2e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa6988657be in QEventDispatcherGlib::processEvents (this=0x7fa6240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fa6988370af in QEventLoop::processEvents (this=this@entry=0x7fa62dfdbda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa6988373a5 in QEventLoop::exec (this=this@entry=0x7fa62dfdbda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa698733c5f in QThread::exec (this=this@entry=0x14ca5d0) at thread/qthread.cpp:537
#9  0x00007fa698818823 in QInotifyFileSystemWatcherEngine::run (this=0x14ca5d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fa69873632f in QThreadPrivate::start (arg=0x14ca5d0) at thread/qthread_unix.cpp:349
#11 0x00007fa695798182 in start_thread (arg=0x7fa62dfdc700) at pthread_create.c:312
#12 0x00007fa697ed647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa69ab85800 (LWP 3580)):
[KCrash Handler]
#6  0x00007fa697e12cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fa697e160d8 in __GI_abort () at abort.c:89
#8  0x00007fa69872bc92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x8ac368 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2383
#9  0x00007fa69872bff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fa69a6f6690 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffff0423828) at global/qglobal.cpp:2429
#10 0x00007fa69872c804 in qFatal (msg=msg@entry=0x7fa69a6f6690 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
#11 0x00007fa69a66314f 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 0x00007fa69990264b in KMKernel::dumpDeadLetters (this=0xdfc) at ../../kmail/kmkernel.cpp:1334
#15 0x00007fa699903ee7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1178
#16 0x00007fa69a60d028 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:340
#17 <signal handler called>
#18 0x00007fa697e12cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#19 0x00007fa697e160d8 in __GI_abort () at abort.c:89
#20 0x00007fa69872bc92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x1541048 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at global/qglobal.cpp:2383
#21 0x00007fa69872bff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fa6936e1460 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffff0424538) at global/qglobal.cpp:2429
#22 0x00007fa69872c804 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2612
#23 0x00007fa693634b57 in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#24 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#25 0x00007fa693679cb0 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x153f170) at ../../mailcommon/folder/foldercollection.cpp:218
#26 0x00007fa69367a4a2 in MailCommon::FolderCollection::~FolderCollection (this=0x153f170, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:84
#27 0x00007fa69367a519 in MailCommon::FolderCollection::~FolderCollection (this=0x153f170, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#28 0x00007fa693678dd4 in deref (value=0x153f170, d=0x151ccd0) 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=0xe76590, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#33 0x00007fa697e185ea in __cxa_finalize (d=0x7fa69393a8b0) at cxa_finalize.c:56
#34 0x00007fa693633513 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#35 0x00007ffff0425090 in ?? ()
#36 0x00007fa69a9e673a in _dl_fini () at dl-fini.c:252
Backtrace stopped: frame did not save the PC

The reporter indicates this bug may be a duplicate of or related to bug 345399, bug 346142.

Possible duplicates by query: bug 346142, bug 345399, bug 343954, bug 337536, bug 335778.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:59:25 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:50:10 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.