Bug 341216 - crash when deleting multiple imap folders concurrently
Summary: crash when deleting multiple imap folders concurrently
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.14.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-24 10:30 UTC by konold
Modified: 2018-01-31 16:52 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 konold 2014-11-24 10:30:23 UTC
Application: kontact (4.14.3)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.17.1-52.g5c4d099-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

I deleted multiple folders on an imap resource without waiting for completion of the previous deletion.
I was online at the time of crash.

This crash might be related to bko#336868

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
gobject.py: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f4134fdf880 (LWP 1569))]

Thread 9 (Thread 0x7f4117ecf700 (LWP 1576)):
#0  0x00007f412c59a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f412fd3e846 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f412fd3e879 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f40d75b4700 (LWP 1616)):
#0  0x00007f412c59a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f412fab0dfd in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f412fd663a6 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f40c7d7b700 (LWP 1726)):
#0  0x00007f412bfcb684 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f412bfcbf23 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f412bfcc10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4132ca5ace in QEventDispatcherGlib::processEvents (this=0x3318630, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f4132c7779f in QEventLoop::processEvents (this=this@entry=0x7f40c7d7ad60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4132c77a95 in QEventLoop::exec (this=this@entry=0x7f40c7d7ad60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4132b742ff in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f4132b769cf in QThreadPrivate::start (arg=0x29822c0) at thread/qthread_unix.cpp:349
#8  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#9  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f40c2159700 (LWP 2563)):
#0  0x00007f412c5983e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f412c00d9d1 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f412bfcb0c0 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f412bfcbec5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f412bfcc32a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f40bd581726 in ?? () from /usr/lib64/libgio-2.0.so.0
#6  0x00007f412bff0f95 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#8  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f40c6ec4700 (LWP 2564)):
#0  0x00007f413251961d in read () from /lib64/libc.so.6
#1  0x00007f412c00ccd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f412bfcbb24 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f412bfcbf9b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f412bfcc10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f412bfcc149 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f412bff0f95 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#8  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f40b9908700 (LWP 2568)):
#0  0x00007f412c59a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f40b9928a4b in ?? () from /usr/lib64/IcedTeaPlugin.so
#2  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#3  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f40b9107700 (LWP 2569)):
#0  0x00007f412c59a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f40b9928a4b in ?? () from /usr/lib64/IcedTeaPlugin.so
#2  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#3  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f40b8906700 (LWP 2570)):
#0  0x00007f412c59a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f40b9928a4b in ?? () from /usr/lib64/IcedTeaPlugin.so
#2  0x00007f412c5960db in start_thread () from /lib64/libpthread.so.0
#3  0x00007f413252658d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4134fdf880 (LWP 1569)):
[KCrash Handler]
#5  QSharedDataPointer (o=..., this=0x7fffc9d06440) at /usr/include/QtCore/qshareddata.h:93
#6  assignEntityPrivate (one=..., other=...) at /usr/src/debug/kdepimlibs-4.14.40/akonadi/entity.cpp:49
#7  0x00007f4131440685 in Akonadi::Entity::Entity (this=0x7fffc9d06760, other=...) at /usr/src/debug/kdepimlibs-4.14.40/akonadi/entity.cpp:55
#8  0x00007f40d16a447d in MailCommon::FolderCollection::collection() const () from /usr/lib64/libmailcommon.so.4
#9  0x00007f40d1a48564 in KMMainWidget::slotDelayedRemoveFolder (this=0x2be8c90, job=<optimized out>) at /usr/src/debug/kdepim/kmail/kmmainwidget.cpp:1659
#10 0x00007f40d1b2d6b1 in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim/build/kmail/moc_kmmainwidget.cpp:422
#11 0x00007f4132c8cb38 in QMetaObject::activate (sender=0x42a6a10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9d06a00) at kernel/qobject.cpp:3576
#12 0x00007f413310ca72 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#13 0x00007f413310cab0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#14 0x00007f4132c90eee in QObject::event (this=0x42a6a10, e=<optimized out>) at kernel/qobject.cpp:1231
#15 0x00007f41336889ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f413368ef6d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f41343a444a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007f4132c78bcd in QCoreApplication::notifyInternal (this=0x7fffc9d08130, receiver=receiver@entry=0x42a6a10, event=event@entry=0x2b8ad40) at kernel/qcoreapplication.cpp:953
#19 0x00007f4132c7bedf in sendEvent (event=0x2b8ad40, receiver=0x42a6a10) at kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24a9520) at kernel/qcoreapplication.cpp:1577
#21 0x00007f4132c7c383 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#22 0x00007f4132ca62ee in sendPostedEvents () at kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0x24f2750) at kernel/qeventdispatcher_glib.cpp:300
#24 0x00007f412bfcbe24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f412bfcc068 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f412bfcc10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f4132ca5aae in QEventDispatcherGlib::processEvents (this=0x24af430, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#28 0x00007f4133725ab6 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007f4132c7779f in QEventLoop::processEvents (this=this@entry=0x7fffc9d07040, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f4132c77a95 in QEventLoop::exec (this=0x7fffc9d07040, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f4133b2c67c in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#32 0x00007f4134317992 in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib64/libkdeui.so.5
#33 0x00007f4134317bd1 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib64/libkdeui.so.5
#34 0x00007f413431b46a in KMessageBox::warningContinueCancelListWId(unsigned long, QString const&, QStringList const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#35 0x00007f413431b660 in KMessageBox::warningContinueCancelList(QWidget*, QString const&, QStringList const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#36 0x00007f413431b6b8 in KMessageBox::warningContinueCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#37 0x00007f40d1a47fbf in KMMainWidget::slotDelayedRemoveFolder (this=0x2be8c90, job=<optimized out>) at /usr/src/debug/kdepim/kmail/kmmainwidget.cpp:1654
#38 0x00007f40d1b2d6b1 in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim/build/kmail/moc_kmmainwidget.cpp:422
#39 0x00007f4132c8cb38 in QMetaObject::activate (sender=0x4cd8dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9d07a00) at kernel/qobject.cpp:3576
#40 0x00007f413310ca72 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#41 0x00007f413310cab0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#42 0x00007f4132c90eee in QObject::event (this=0x4cd8dc0, e=<optimized out>) at kernel/qobject.cpp:1231
#43 0x00007f41336889ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f413368ef6d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f41343a444a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#46 0x00007f4132c78bcd in QCoreApplication::notifyInternal (this=0x7fffc9d08130, receiver=receiver@entry=0x4cd8dc0, event=event@entry=0x42de6c0) at kernel/qcoreapplication.cpp:953
#47 0x00007f4132c7bedf in sendEvent (event=0x42de6c0, receiver=0x4cd8dc0) at kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24a9520) at kernel/qcoreapplication.cpp:1577
#49 0x00007f4132c7c383 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#50 0x00007f4132ca62ee in sendPostedEvents () at kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x24f2750) at kernel/qeventdispatcher_glib.cpp:300
#52 0x00007f412bfcbe24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f412bfcc068 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f412bfcc10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f4132ca5aae in QEventDispatcherGlib::processEvents (this=0x24af430, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#56 0x00007f4133725ab6 in ?? () from /usr/lib64/libQtGui.so.4
#57 0x00007f4132c7779f in QEventLoop::processEvents (this=this@entry=0x7fffc9d08030, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f4132c77a95 in QEventLoop::exec (this=this@entry=0x7fffc9d08030, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f4132c7cf1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#60 0x0000000000403960 in ?? ()
#61 0x00007f4132460be5 in __libc_start_main () from /lib64/libc.so.6
#62 0x0000000000403e29 in _start ()

Possible duplicates by query: bug 340592, bug 336868, bug 336571, bug 334779, bug 331678.


Reproducible: Always
Comment 1 Denis Kurz 2017-06-23 20:04:33 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:52:57 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.