Bug 333825 - KMail crashes with error message at startup time
Summary: KMail crashes with error message at startup time
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.12.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-24 13:17 UTC by Daniel Ziltener
Modified: 2017-01-07 22:09 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 Daniel Ziltener 2014-04-24 13:17:34 UTC
Application: kmail (4.12.4)
KDE Platform Version: 4.12.4
Qt Version: 4.8.5
Operating System: Linux 3.14.1-24.geafcebd-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I upgraded KMail to the latest version in Tumbleweed and KDE-extra repos from OpenSUSE.
I configured an IMAP- instead of a local folder as trash folder and deleted a folder on my IMAP account containing deleted items, the latter of which failed. I had to restart KMail.
Since then I get the message "Could not create collection trash resourceId: 3" every time I start KMail.
Deleting my IMAP account and re-creating it doesn't help either.

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 0x7fa616d65880 (LWP 4110))]

Thread 5 (Thread 0x7fa5f1878700 (LWP 4116)):
#0  0x00007fa611e8d0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa606e3ef56 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fa606e3ef89 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fa611e890db in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa61408c90d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa5abdd8700 (LWP 4118)):
#0  0x00007fa611e8d0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa606bb12ad in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fa606e66ab6 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fa611e890db in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa61408c90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa5aa7c6700 (LWP 4120)):
#0  0x00007fa61407f99d in read () from /lib64/libc.so.6
#1  0x00007fa60bc605c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa60bc2112c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa60bc2159b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa60bc2170c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa614a20d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa6149f2d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa6149f3005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fa6148f1fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007fa6148f468f in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa611e890db in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa61408c90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa5f0f6f700 (LWP 4141)):
#0  0x00007fa611e8d0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa5fe8328cb in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007fa5fe832909 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007fa611e890db in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa61408c90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa616d65880 (LWP 4110)):
[KCrash Handler]
#5  0x00007fa613fda849 in raise () from /lib64/libc.so.6
#6  0x00007fa613fdbcd8 in abort () from /lib64/libc.so.6
#7  0x00007fa6148ea204 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007fa6148ea389 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa6148eab94 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#10 0x00007fa6166b11a0 in ?? () from /usr/lib64/libkdeui.so.5
#11 0x00007fa616841798 in KMainWindow::memberList() () from /usr/lib64/libkdeui.so.5
#12 0x00007fa615b14a7b in KMKernel::dumpDeadLetters() () from /usr/lib64/libkmailprivate.so.4
#13 0x00007fa615b162a7 in ?? () from /usr/lib64/libkmailprivate.so.4
#14 0x00007fa6167ebbe0 in KCrash::defaultCrashHandler(int) () from /usr/lib64/libkdeui.so.5
#15 <signal handler called>
#16 0x00007fa613fda849 in raise () from /lib64/libc.so.6
#17 0x00007fa613fdbcd8 in abort () from /lib64/libc.so.6
#18 0x00007fa6148ea204 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#19 0x00007fa6148ea389 in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00007fa6148eab94 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#21 0x00007fa60f74fa74 in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.12.4/mailcommon/kernel/mailkernel.cpp:57
#22 MailCommon::Kernel::self () at /usr/src/debug/kdepim-4.12.4/mailcommon/kernel/mailkernel.cpp:73
#23 0x00007fa60f737f20 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x247ce60) at /usr/src/debug/kdepim-4.12.4/mailcommon/folder/foldercollection.cpp:218
#24 0x00007fa60f738792 in MailCommon::FolderCollection::~FolderCollection (this=0x247ce60, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.12.4/mailcommon/folder/foldercollection.cpp:84
#25 0x00007fa60f738809 in MailCommon::FolderCollection::~FolderCollection (this=0x247ce60, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.12.4/mailcommon/folder/foldercollection.cpp:86
#26 0x00007fa60f737024 in deref (value=0x247ce60, d=0x1b61110) at /usr/include/QtCore/qsharedpointer_impl.h:342
#27 deref (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#28 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#29 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#30 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x24b6f50, this=<optimized out>) at /usr/include/QtCore/qmap.h:652
#31 0x00007fa613fdd75f in __cxa_finalize () from /lib64/libc.so.6
#32 0x00007fa60f6de6a3 in __do_global_dtors_aux () from /usr/lib64/libmailcommon.so.4
#33 0x00007fffe9d978a0 in ?? ()
#34 0x00007fa616bc3e6a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: frame did not save the PC

The reporter indicates this bug may be a duplicate of or related to bug 333358.

Possible duplicates by query: bug 333358, bug 331710, bug 330942, bug 330672, bug 327848.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 17:58:17 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:09:04 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.