Bug 378541 - Contact crash when deleting Local Folder
Summary: Contact crash when deleting Local Folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-07 15:01 UTC by Agron
Modified: 2018-02-01 09:47 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 Agron 2017-04-07 15:01:39 UTC
Application: kontact (4.14.5)
KDE Platform Version: 4.14.5
Qt Version: 4.8.6
Operating System: Linux 4.1.8-server-1.mga5 x86_64
Distribution: "Mageia 5"

-- Information about the crash:
Since my email wasn't working after the IT sent me parameters for using new email service IMAP + SMTP from office365.com in our company, I decided to delete everything and start setting up the new account again. However, when I deleted Local Folders, which had a lot of data and subfolders, Kmail crashed.

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 0x7f0556621800 (LWP 21926))]

Thread 4 (Thread 0x7f053729b700 (LWP 21927)):
#0  0x00007f054dc5f67f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0551332bdf in  () at /lib64/libQtWebKit.so.4
#2  0x00007f0551332c19 in  () at /lib64/libQtWebKit.so.4
#3  0x00007f054dc5a5bd in start_thread () at /lib64/libpthread.so.0
#4  0x00007f0553b9662d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f04f6581700 (LWP 21928)):
#0  0x00007f054dc5f67f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0551061d83 in  () at /lib64/libQtWebKit.so.4
#2  0x00007f0551363826 in  () at /lib64/libQtWebKit.so.4
#3  0x00007f054dc5a5bd in start_thread () at /lib64/libpthread.so.0
#4  0x00007f0553b9662d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f04e7705700 (LWP 21937)):
#0  0x00007f0553b866fd in read () at /lib64/libc.so.6
#1  0x00007f054d6cabf0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f054d68899c in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f054d688e5b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f054d688fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f0554307e3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007f05542d9931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00007f05542d9c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#8  0x00007f05541d7899 in QThread::exec() () at /lib64/libQtCore.so.4
#9  0x00007f05541d9fff in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#10 0x00007f054dc5a5bd in start_thread () at /lib64/libpthread.so.0
#11 0x00007f0553b9662d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0556621800 (LWP 21926)):
[KCrash Handler]
#5  0x00007f0553ad2547 in raise () at /lib64/libc.so.6
#6  0x00007f0553ad3cda in abort () at /lib64/libc.so.6
#7  0x00007f05541cfae4 in qt_message_output(QtMsgType, char const*) () at /lib64/libQtCore.so.4
#8  0x00007f05541cfc69 in qt_message(QtMsgType, char const*, __va_list_tag*) () at /lib64/libQtCore.so.4
#9  0x00007f05541d0474 in qFatal(char const*, ...) () at /lib64/libQtCore.so.4
#10 0x00007f04ec6a4cb7 in MailCommon::Kernel::self() () at /lib64/libmailcommon.so.4
#11 0x00007f04ec6ec390 in MailCommon::FolderCollection::writeConfig() const () at /lib64/libmailcommon.so.4
#12 0x00007f04ec6ecb82 in MailCommon::FolderCollection::~FolderCollection() () at /lib64/libmailcommon.so.4
#13 0x00007f04ec6ecc8f in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) [clone .isra.19] () at /lib64/libmailcommon.so.4
#14 0x00007f0553ad5232 in __run_exit_handlers () at /lib64/libc.so.6
#15 0x00007f0553ad5285 in  () at /lib64/libc.so.6
#16 0x00007f04ec6a3fae in MailCommon::Kernel::emergencyExit(QString const&) () at /lib64/libmailcommon.so.4
#17 0x00007f04ec6a43b7 in MailCommon::Kernel::createDefaultCollectionDone(KJob*) () at /lib64/libmailcommon.so.4
#18 0x00007f05542ee88a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#19 0x00007f0554775b52 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
#20 0x00007f0554775b90 in KJob::emitResult() () at /lib64/libkdecore.so.5
#21 0x00007f0552bad4c9 in Akonadi::SpecialCollectionsRequestJobPrivate::lockResult(KJob*) () at /lib64/libakonadi-kde.so.4
#22 0x00007f05542ee88a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#23 0x00007f0554775b52 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
#24 0x00007f0554775b90 in KJob::emitResult() () at /lib64/libkdecore.so.5
#25 0x00007f0552ba46f3 in Akonadi::GetLockJob::Private::timeout() () at /lib64/libakonadi-kde.so.4
#26 0x00007f05542ee88a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#27 0x00007f05542f2c2b in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#28 0x00007f0554ce579c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#29 0x00007f0554cebe40 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#30 0x00007f0555a1825a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#31 0x00007f05542dacad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#32 0x00007f055430a31b in QTimerInfoList::activateTimers() () at /lib64/libQtCore.so.4
#33 0x00007f05543074f9 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#34 0x00007f054d688c6d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#35 0x00007f054d688f18 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#36 0x00007f054d688fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#37 0x00007f0554307e1e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#38 0x00007f0554d834f6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#39 0x00007f05542d9931 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#40 0x00007f05542d9c45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#41 0x00007f05542dee59 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#42 0x00000000004033b0 in main ()

Possible duplicates by query: bug 378242, bug 366388, bug 364245, bug 363411, bug 362624.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 23:47:00 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based 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 opportunity 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-02-01 09:47:24 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 much more recent), please open a new one unless it already exists. Thank you for all your input.