Bug 337087 - Crash après modification de l'emplacement IMAP de trash.
Summary: Crash après modification de l'emplacement IMAP de trash.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.12.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-07-04 17:32 UTC by Cyril
Modified: 2017-01-07 22:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril 2014-07-04 17:32:29 UTC
Application: kontact (4.12.5)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.9-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
Before the problem: I have modified the place of the Trash folder to make it accessible from all PCs as the other IMAP folders are. This for Kmail send the deleted mails in the Gmail and Outlook folders on the server, not on my PC in local folders.
Since, it's impossible to start Kmail, directly or through Kontact. I receive the error (sorry, it's in french):
"Le client de messagerie a rencontré une erreur fatale et va s'arrêter maintenant.
L'erreur était :
Could not create collection trash resouceId: 3"

- Custom settings of the application:
It's what I wanted to modify: changing the place of the deleted mails.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1fd78e78c0 (LWP 1884))]

Thread 5 (Thread 0x7f1f89d1b700 (LWP 1885)):
#0  0x0000003d15c0bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d3b4bc1bd in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4
#2  0x0000003d3b7aea86 in WTF::wtfThreadEntryPoint(void*) () from /lib64/libQtWebKit.so.4
#3  0x0000003d15c07f33 in start_thread () from /lib64/libpthread.so.0
#4  0x0000003d154f4ded in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1f7b197700 (LWP 1892)):
#0  0x0000003d15c0c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d1f87cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003d1f87016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x0000003d1f87c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003d15c07f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003d154f4ded in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1f7a996700 (LWP 1895)):
#0  0x0000003d15502794 in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x0000003d154ea9d2 in poll () from /lib64/libc.so.6
#2  0x0000003d18c495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x0000003d18c496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x0000003d1f9b5a7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003d1f98595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003d1f985cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003d1f879e8f in QThread::exec() () from /lib64/libQtCore.so.4
#8  0x0000003d1f87c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x0000003d15c07f33 in start_thread () from /lib64/libpthread.so.0
#10 0x0000003d154f4ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1f6bfff700 (LWP 1913)):
#0  0x0000003d15c0c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d1f87cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003d1f87016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x0000003d1f87c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003d15c07f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003d154f4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1fd78e78c0 (LWP 1884)):
[KCrash Handler]
#5  0x0000003d15435c39 in raise () from /lib64/libc.so.6
#6  0x0000003d15437348 in abort () from /lib64/libc.so.6
#7  0x0000003d1f871d04 in qt_message_output(QtMsgType, char const*) () from /lib64/libQtCore.so.4
#8  0x0000003d1f871ea9 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /lib64/libQtCore.so.4
#9  0x0000003d1f8727b1 in qFatal(char const*, ...) () from /lib64/libQtCore.so.4
#10 0x0000003d474df167 in MailCommon::Kernel::self() () from /lib64/libmailcommon.so.4
#11 0x0000003d474c6263 in MailCommon::FolderCollection::writeConfig() const () from /lib64/libmailcommon.so.4
#12 0x0000003d474c6b12 in MailCommon::FolderCollection::~FolderCollection() () from /lib64/libmailcommon.so.4
#13 0x0000003d474c6b89 in MailCommon::FolderCollection::~FolderCollection() () from /lib64/libmailcommon.so.4
#14 0x0000003d474c51f4 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) [clone .isra.21] () from /lib64/libmailcommon.so.4
#15 0x0000003d154394c9 in __run_exit_handlers () from /lib64/libc.so.6
#16 0x0000003d15439515 in exit () from /lib64/libc.so.6
#17 0x0000003d474df8ea in MailCommon::Kernel::emergencyExit(QString const&) () from /lib64/libmailcommon.so.4
#18 0x0000003d474dff17 in MailCommon::Kernel::createDefaultCollectionDone(KJob*) () from /lib64/libmailcommon.so.4
#19 0x0000003d1f99b938 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#20 0x0000003d22339af2 in KJob::result(KJob*) () from /lib64/libkdecore.so.5
#21 0x0000003d22339b40 in KJob::emitResult() () from /lib64/libkdecore.so.5
#22 0x0000003d351bf5ba in Akonadi::TransactionSequence::slotResult(KJob*) () from /lib64/libakonadi-kde.so.4
#23 0x0000003d3519a23a in Akonadi::SpecialCollectionsRequestJob::slotResult(KJob*) () from /lib64/libakonadi-kde.so.4
#24 0x0000003d351bede8 in Akonadi::TransactionSequence::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libakonadi-kde.so.4
#25 0x0000003d1f99b938 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#26 0x0000003d22339af2 in KJob::result(KJob*) () from /lib64/libkdecore.so.5
#27 0x0000003d22339b40 in KJob::emitResult() () from /lib64/libkdecore.so.5
#28 0x0000003d351434a1 in Akonadi::JobPrivate::handleResponse(QByteArray const&, QByteArray const&) () from /lib64/libakonadi-kde.so.4
#29 0x0000003d35143394 in Akonadi::JobPrivate::handleResponse(QByteArray const&, QByteArray const&) () from /lib64/libakonadi-kde.so.4
#30 0x0000003d351869a9 in Akonadi::SessionPrivate::dataReceived() () from /lib64/libakonadi-kde.so.4
#31 0x0000003d1f99b938 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#32 0x0000003d1f99b938 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#33 0x0000003d20acb00d in QAbstractSocketPrivate::canReadNotification() () from /lib64/libQtNetwork.so.4
#34 0x0000003d20ad45bd in QReadNotifier::event(QEvent*) () from /lib64/libQtNetwork.so.4
#35 0x0000003d229cae7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#36 0x0000003d229d17e5 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#37 0x0000003d2504ab0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#38 0x0000003d1f986ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#39 0x0000003d1f9b6828 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#40 0x0000003d18c492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#41 0x0000003d18c49628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#42 0x0000003d18c496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#43 0x0000003d1f9b5a5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#44 0x0000003d22a6cd86 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#45 0x0000003d1f98595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#46 0x0000003d1f985cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#47 0x0000003d1f98b399 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#48 0x00000000004037ea in main ()

Possible duplicates by query: bug 335457, bug 335011, bug 332229, bug 330850, bug 329621.

Reported using DrKonqi
Comment 1 Cyril 2014-07-10 18:42:55 UTC
Hello! I've found a solution here " https://forum.kde.org/viewtopic.php?f=215&t=120777" Perhaps, this may help you.
Shorter: go to the Akonadi console, tab "agents" and delete the local folders.
Close the console and restart Kmail or Kontact. Then the problem is fixed!
Thank you for your work!
Comment 2 Denis Kurz 2016-09-24 19:23:18 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:33:38 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.