Bug 333358 - Kmail unable to start after upgrade to 4.13
Summary: Kmail unable to start after upgrade to 4.13
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-12 21:01 UTC by Martin Leopold
Modified: 2017-01-07 22:42 UTC (History)
1 user (show)

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 Martin Leopold 2014-04-12 21:01:33 UTC
Application: kmail (4.13)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I upgraded my Ubuntu from 12.04 to 14.04 and with it Kmail to 4.13. After the upgrade I was unable start Kmail. The main window would appear and a requester with the text "Could not create collection drafts resourceid:4"

I saw some references to the local mail store beeing misconfigured. My files are in .local/share/.local-mail.directory/ but I have no idea how to check what it is configured to. I can't check in Kmail because it is blocked by the requester.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xacc65b40 (LWP 23119)):
#0  0xb7723424 in __kernel_vsyscall ()
#1  0xb5819d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e918ec in __pthread_cond_wait (cond=0xb3caecb0, mutex=0xb3caec98) at forward.c:149
#3  0xb34369ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb34369ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb5815f70 in start_thread (arg=0xacc65b40) at pthread_create.c:312
#6  0xb5e8470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xac2b5b40 (LWP 23120)):
#0  0xb7723424 in __kernel_vsyscall ()
#1  0xb5819d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e918ec in __pthread_cond_wait (cond=0xac3b27dc, mutex=0xac3b27c4) at forward.c:149
#3  0xb34659f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb3141574 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb344c7c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb3465369 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb5815f70 in start_thread (arg=0xac2b5b40) at pthread_create.c:312
#8  0xb5e8470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xab4ffb40 (LWP 23121)):
#0  0xb7723424 in __kernel_vsyscall ()
#1  0xb5e92392 in __GI___clock_gettime (clock_id=1, tp=0xab4fefe8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb610f8cc in do_gettime (frac=0xab4fefe0, sec=0xab4fefd8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb61f82a2 in updateCurrentTime (this=0xaab028e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xaab028e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb61f682b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xab4ff0dc) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb61f68bd in timerSourcePrepare (source=0xaab028b0, timeout=0xab4ff0dc) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb42b79b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb42b82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb42b8528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb61f695f in QEventDispatcherGlib::processEvents (this=0xaab00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb61c5823 in QEventLoop::processEvents (this=this@entry=0xab4ff248, flags=...) at kernel/qeventloop.cpp:149
#13 0xb61c5b49 in QEventLoop::exec (this=this@entry=0xab4ff248, flags=...) at kernel/qeventloop.cpp:204
#14 0xb60b223d in QThread::exec (this=this@entry=0x861c530) at thread/qthread.cpp:537
#15 0xb60b238b in QThread::run (this=0x861c530) at thread/qthread.cpp:604
#16 0xb60b4b6f in QThreadPrivate::start (arg=0x861c530) at thread/qthread_unix.cpp:349
#17 0xb5815f70 in start_thread (arg=0xab4ffb40) at pthread_create.c:312
#18 0xb5e8470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xaa583b40 (LWP 23130)):
#0  0xb7723424 in __kernel_vsyscall ()
#1  0xb5e92392 in __GI___clock_gettime (clock_id=1, tp=0xaa582fb8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb610f8cc in do_gettime (frac=0xaa582fb0, sec=0xaa582fa8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb61f82a2 in updateCurrentTime (this=0xa9c026e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa9c026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb61f682b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaa5830ac) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb61f68bd in timerSourcePrepare (source=0xa9c026b0, timeout=0xaa5830ac) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb42b79b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb42b82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb42b8528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb61f695f in QEventDispatcherGlib::processEvents (this=0xa9c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb61c5823 in QEventLoop::processEvents (this=this@entry=0xaa583218, flags=...) at kernel/qeventloop.cpp:149
#13 0xb61c5b49 in QEventLoop::exec (this=this@entry=0xaa583218, flags=...) at kernel/qeventloop.cpp:204
#14 0xb60b223d in QThread::exec (this=this@entry=0x88bfb60) at thread/qthread.cpp:537
#15 0xb61a5c44 in QInotifyFileSystemWatcherEngine::run (this=0x88bfb60) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb60b4b6f in QThreadPrivate::start (arg=0x88bfb60) at thread/qthread_unix.cpp:349
#17 0xb5815f70 in start_thread (arg=0xaa583b40) at pthread_create.c:312
#18 0xb5e8470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xafe01780 (LWP 23116)):
[KCrash Handler]
#7  0xb7723424 in __kernel_vsyscall ()
#8  0xb5dc6827 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb5dc9c53 in __GI_abort () at abort.c:89
#10 0xb60a9d73 in qt_message_output (msgType=QtFatalMsg, buf=0x84bbb00 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2383
#11 0xb60aa127 in qt_message (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0xb7635fc4 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0xbfb92fd4 "\213\320e\267\177\320e\267X\321e\267\326") at global/qglobal.cpp:2429
#12 0xb60aa658 in qFatal (msg=msg@entry=0xb7635fc4 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
#13 0xb758e2bc in operator-> (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#14 operator* (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#15 KMainWindow::memberList () at ../../kdeui/widgets/kmainwindow.cpp:1176
#16 0xb6e609d6 in KMKernel::dumpDeadLetters (this=0xbfb94dd4) at ../../kmail/kmkernel.cpp:1314
#17 0xb6e62360 in kmCrashHandler (sigId=6) at ../../kmail/kmkernel.cpp:1158
#18 0xb752b427 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:340
#19 <signal handler called>
#20 0xb7723424 in __kernel_vsyscall ()
#21 0xb5dc6827 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#22 0xb5dc9c53 in __GI_abort () at abort.c:89
#23 0xb60a9d73 in qt_message_output (msgType=QtFatalMsg, buf=0x8c089e8 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at global/qglobal.cpp:2383
#24 0xb60aa127 in qt_message (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0xb4dc29dc "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0xbfb93af4 "w)\334\264m)\334\264\264)\334\264\071") at global/qglobal.cpp:2429
#25 0xb60aa658 in qFatal (msg=msg@entry=0xb4dc29dc "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
#26 0xb4d01f04 in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#27 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#28 0xb4d511a4 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x8b521d0) at ../../mailcommon/folder/foldercollection.cpp:218
#29 0xb4d51bde in MailCommon::FolderCollection::~FolderCollection (this=0x8b521d0, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:84
#30 0xb4d51c7c in MailCommon::FolderCollection::~FolderCollection (this=0x8b521d0, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#31 0xb4d50011 in deref (value=0x8b521d0, d=0x8b52430) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#32 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#33 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#34 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#35 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x8b4ed40, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#36 0xb5dcb763 in __cxa_finalize (d=0xb4e13460) at cxa_finalize.c:56
#37 0xb4d00633 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#38 0xb773335c in _dl_fini () at dl-fini.c:252
#39 0xb5dcb3d1 in __run_exit_handlers (status=status@entry=1, listp=0xb5f433c4 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#40 0xb5dcb42d in __GI_exit (status=1) at exit.c:104
#41 0xb4d02658 in MailCommon::Kernel::emergencyExit (this=this@entry=0x852e2a0, reason=...) at ../../mailcommon/kernel/mailkernel.cpp:230
#42 0xb4d02cb4 in MailCommon::Kernel::createDefaultCollectionDone (this=this@entry=0x852e2a0, job=0x84cb6a0) at ../../mailcommon/kernel/mailkernel.cpp:182
#43 0xb4dbd189 in MailCommon::Kernel::qt_static_metacall (_o=_o@entry=0x852e2a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb94308) at moc_mailkernel.cpp:58
#44 0xb61dc0f7 in QMetaObject::activate (sender=sender@entry=0x84cb6a0, m=m@entry=0xb72e54cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfb94308) at kernel/qobject.cpp:3539
#45 0xb7140f95 in KJob::result (this=this@entry=0x84cb6a0, _t1=_t1@entry=0x84cb6a0) at ./kjob.moc:207
#46 0xb7140fe2 in KJob::emitResult (this=0x84cb6a0) at ../../kdecore/jobs/kjob.cpp:318
#47 0xb53d8887 in Akonadi::TransactionSequence::slotResult (this=0x84cb6a0, job=job@entry=0x8245430) at ../../akonadi/transactionsequence.cpp:134
#48 0xb53b1771 in Akonadi::SpecialCollectionsRequestJob::slotResult (this=0x84cb6a0, job=0x8245430) at ../../akonadi/specialcollectionsrequestjob.cpp:356
#49 0xb53d807a in Akonadi::TransactionSequence::qt_static_metacall (_o=_o@entry=0x84cb6a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb944e8) at ./moc_transactionsequence.cpp:52
#50 0xb61dc0f7 in QMetaObject::activate (sender=sender@entry=0x8245430, m=m@entry=0xb72e54cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfb944e8) at kernel/qobject.cpp:3539
#51 0xb7140f95 in KJob::result (this=this@entry=0x8245430, _t1=_t1@entry=0x8245430) at ./kjob.moc:207
#52 0xb7140fe2 in KJob::emitResult (this=this@entry=0x8245430) at ../../kdecore/jobs/kjob.cpp:318
#53 0xb53491e1 in Akonadi::JobPrivate::handleResponse (this=0x8a38c88, tag=..., data=...) at ../../akonadi/job.cpp:64
#54 0xb53490ba in Akonadi::JobPrivate::handleResponse (this=0x8563d88, tag=..., data=...) at ../../akonadi/job.cpp:49
#55 0xb539d0bd in Akonadi::SessionPrivate::dataReceived (this=0x833aa18) at ../../akonadi/session.cpp:236
#56 0xb61dc0f7 in QMetaObject::activate (sender=sender@entry=0x83590f0, m=m@entry=0xb6332a98 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#57 0xb6229bc5 in QIODevice::readyRead (this=this@entry=0x83590f0) at .moc/release-shared/moc_qiodevice.cpp:104
#58 0xb6229d40 in QIODevice::qt_static_metacall (_o=_o@entry=0x83590f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb94768) at .moc/release-shared/moc_qiodevice.cpp:53
#59 0xb61dc0f7 in QMetaObject::activate (sender=sender@entry=0x84c1774, m=m@entry=0xb6332a98 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#60 0xb6229bc5 in QIODevice::readyRead (this=this@entry=0x84c1774) at .moc/release-shared/moc_qiodevice.cpp:104
#61 0xb5a96d88 in QAbstractSocketPrivate::canReadNotification (this=0x84bd530) at socket/qabstractsocket.cpp:654
#62 0xb5a838e9 in QAbstractSocketEngine::readNotification (this=0x8476760) at socket/qabstractsocketengine.cpp:168
#63 0xb5aa0d1b in QReadNotifier::event (this=0x842fb40, e=0xbfb94a74) at socket/qnativesocketengine.cpp:1151
#64 0xb646f7f4 in QApplicationPrivate::notify_helper (this=0x824b8d0, receiver=0x842fb40, e=0xbfb94a74) at kernel/qapplication.cpp:4567
#65 0xb64762d3 in QApplication::notify (this=0xbfb94dbc, receiver=receiver@entry=0x842fb40, e=e@entry=0xbfb94a74) at kernel/qapplication.cpp:4353
#66 0xb74c20a4 in KApplication::notify (this=0xbfb94dbc, receiver=0x842fb40, event=0xbfb94a74) at ../../kdeui/kernel/kapplication.cpp:311
#67 0xb61c6e4a in QCoreApplication::notifyInternal (this=0xbfb94dbc, receiver=0x842fb40, event=event@entry=0xbfb94a74) at kernel/qcoreapplication.cpp:953
#68 0xb61f779d in sendEvent (event=0xbfb94a74, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 socketNotifierSourceDispatch (source=0x8245800) at kernel/qeventdispatcher_glib.cpp:117
#70 0xb42b81e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#71 0xb42b8468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0xb42b8528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0xb61f693b in QEventDispatcherGlib::processEvents (this=this@entry=0x81f1ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#74 0xb65245de in QGuiEventDispatcherGlib::processEvents (this=0x81f1ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0xb61c5823 in QEventLoop::processEvents (this=this@entry=0xbfb94c78, flags=...) at kernel/qeventloop.cpp:149
#76 0xb61c5b49 in QEventLoop::exec (this=this@entry=0xbfb94c78, flags=...) at kernel/qeventloop.cpp:204
#77 0xb61cb8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#78 0xb646da24 in QApplication::exec () at kernel/qapplication.cpp:3828
#79 0x0804a439 in main (argc=3, argv=0xbfb94f14) at ../../kmail/main.cpp:146

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

Reported using DrKonqi
Comment 1 Maurice Batey 2014-07-17 10:53:40 UTC
When I tried KMail 4.13.2 during checking out 64-bit Mageia-5-Alpha1,
I came across some awkward situations:

(1) Kmail had lost the current location of the 'local' directory, so could not find my (Mageia-4) email database. (I had not been using the default location.)

(2) Kmail had lost the whole 'POP' server setup. 
       (SMTP server setup still intact)

(3) All mail filters had to be adjusted to reflect the re-found Local folders.

(4) All folder 'View' settings had been reset to default.

So any relative newcomer to Kmail will have a hard time sorting it out.
  Perhaps some Help info should appear when KMail 4.13 realises it's a 'transition' stage from a pre-4.13 situation?

On the positive side, KMail's 'Find Messages' seems at last to be restored to its old efficacy (thanks to Baloo?), and its overall performance excellent.
Comment 2 Denis Kurz 2016-09-24 18:19:08 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 3 Denis Kurz 2017-01-07 22:42:01 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.