Bug 402310 - akonadi_maildir_resource crashes on bulk delete
Summary: akonadi_maildir_resource crashes on bulk delete
Status: RESOLVED DUPLICATE of bug 401692
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-18 15:34 UTC by Piotr Keplicz
Modified: 2019-01-17 02:18 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 Piotr Keplicz 2018-12-18 15:34:36 UTC
SUMMARY

akonadi_maildir_resource crashes sometimes after trying to delete multiple mails from a local folder.

STEPS TO REPRODUCE
1. Select all the emails in a local folder
2. Press Delete
3. Some emails get deleted, some are visible in the folder (disappearing on akonadi restart)
3. Sometimes akonadi_maildir_resource crashes too.

OBSERVED RESULT

Application: akonadi_maildir_resource (akonadi_maildir_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2e9c93d200 (LWP 23730))]

Thread 4 (Thread 0x7f2e7f987700 (LWP 23774)):
[KCrash Handler]
#6  0x00007f2e981bce97 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f2e981be801 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f2e988138b7 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f2e98819a06 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f2e98819a41 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f2e98b8fd7b in qTerminate () at global/qglobal.cpp:3193
#12 0x00007f2e98bbfc6b in QThreadPrivate::start (arg=0x55e986009ca0) at thread/qthread_unix.cpp:379
#13 0x00007f2e9475e6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007f2e9829f88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f2e80188700 (LWP 23772)):
#0  0x00007f2e98292bf9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2e929e3539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e929e364c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e98de504b in QEventDispatcherGlib::processEvents (this=0x7f2e78000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2e98d8930a in QEventLoop::exec (this=this@entry=0x7f2e80187d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f2e98bb4bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f2e9a227e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f2e98bbfadb in QThreadPrivate::start (arg=0x7f2e9a49fd60) at thread/qthread_unix.cpp:367
#8  0x00007f2e9475e6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f2e9829f88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f2e894f9700 (LWP 23736)):
#0  0x00007f2e98292bf9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2e953f9747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f2e953fb36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2e8c4b9ed9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f2e98bbfadb in QThreadPrivate::start (arg=0x55e985f9f090) at thread/qthread_unix.cpp:367
#5  0x00007f2e9475e6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f2e9829f88f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f2e9c93d200 (LWP 23730)):
#0  0x00007f2e98292bf9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2e929e3539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e929e364c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e98de504b in QEventDispatcherGlib::processEvents (this=0x55e985feb9d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2e8c545761 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007f2e98d8930a in QEventLoop::exec (this=this@entry=0x7ffdad010490, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f2e98d924d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#7  0x00007f2e9b92870d in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#8  0x000055e984307c51 in Akonadi::ResourceBase::init<MaildirResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:199
#9  0x00007f2e9819fb97 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x000055e984307ada in _start ()



EXPECTED RESULT

Emails get deleted without akonadi crashing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 18.04
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53
Qt Version: 5.11.2
KDE PIM Version: 5.10 (KDE Applications 18.12)

ADDITIONAL INFORMATION

Similar crashes were observed in previous version of KDE PIM.
Comment 1 Christoph Feck 2019-01-17 02:18:17 UTC

*** This bug has been marked as a duplicate of bug 401692 ***