Bug 412110 - kMail backend crashes
Summary: kMail backend crashes
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 5.12.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-09-20 08:33 UTC by merlin.chlosta+kdebugs
Modified: 2022-10-12 08:03 UTC (History)
1 user (show)

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


Attachments
Application entry that crashes KMail (12.53 KB, image/png)
2019-09-20 08:40 UTC, merlin.chlosta+kdebugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description merlin.chlosta+kdebugs 2019-09-20 08:33:05 UTC
Application: akonadi_imap_resource (5.12.1)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-29-generic x86_64
Distribution: KDE neon User Edition 5.16

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

1) open the quick-start command line with Alt + Space
2) type in "mail"
- Top application entry: 'Check Mail - KMail'
- Second: 'KMail'
3) take the top entry 'Check Mail - KMail'

KMail now opens and the backend crashes, see the crash report.

As a consequence, you can't read or write mail, and have to restart the computer if you don't know how to restart the component.

It might only appear when KMail is already open, not sure about that.

The crash can be reproduced every time.

-- Backtrace:
Application: RUB (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff93ea0ab80 (LWP 3055))]

Thread 8 (Thread 0x7ff8ee816700 (LWP 29230)):
#0  0x00007ff938b73bf9 in __GI___poll (fds=0x7ff8e0025ba0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff932eb75c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9396cedcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff9394974ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff93559b6db in start_thread (arg=0x7ff8ee816700) at pthread_create.c:463
#8  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff8ef017700 (LWP 3183)):
#0  0x00007ff938b73bf9 in __GI___poll (fds=0x7ff8e8004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff932eb75c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9396cedcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff9394974ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff93559b6db in start_thread (arg=0x7ff8ef017700) at pthread_create.c:463
#8  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff8f7fff700 (LWP 3160)):
#0  0x00007ff938b73bf9 in __GI___poll (fds=0x7ff8f0003ce0, nfds=1, timeout=9677) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff932eb75c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9396cedcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff9394974ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff93559b6db in start_thread (arg=0x7ff8f7fff700) at pthread_create.c:463
#8  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff905856700 (LWP 3118)):
#0  0x00007ff938b73bf9 in __GI___poll (fds=0x7ff8fc0049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff932eb75c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9396cedcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff9394974ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff93559b6db in start_thread (arg=0x7ff905856700) at pthread_create.c:463
#8  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff906057700 (LWP 3116)):
#0  0x00007ff938b6f0b4 in __GI___libc_read (fd=7, buf=0x7ff9060567e0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ff932efc2d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff932eb70b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff932eb7570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff9396cedcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff9394974ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff93b178015 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff93559b6db in start_thread (arg=0x7ff906057700) at pthread_create.c:463
#11 0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff9082a6700 (LWP 3112)):
#0  0x00007ff9355a19f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557859942f28) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff9355a19f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x557859942ed8, cond=0x557859942f00) at pthread_cond_wait.c:502
#2  0x00007ff9355a19f3 in __pthread_cond_wait (cond=0x557859942f00, mutex=0x557859942ed8) at pthread_cond_wait.c:655
#3  0x00007ff90958a0aa in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff909589dd7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff93559b6db in start_thread (arg=0x7ff9082a6700) at pthread_create.c:463
#6  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff91240c700 (LWP 3102)):
#0  0x00007ff938b73bf9 in __GI___poll (fds=0x7ff91240b928, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff934bed747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff934bef36a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff91455b578 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ff939498c72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff93559b6db in start_thread (arg=0x7ff91240c700) at pthread_create.c:463
#6  0x00007ff938b8088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff93ea0ab80 (LWP 3055)):
[KCrash Handler]
#6  0x00007ff93cd3f4f7 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#7  0x00007ff93cd3fbeb in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#8  0x00007ff93d3fda76 in bool Akonadi::Collection::hasAttribute<Akonadi::SpecialCollectionAttribute>() const () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#9  0x00007ff93d3f9133 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#10 0x00007ff93d3fd6c4 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#11 0x00007ff93d3f73d3 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#12 0x00007ff93d3f8a30 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#13 0x00007ff9396a1875 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ff93bbf975c in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#15 0x00007ff93bbfa291 in KJob::finishJob(bool) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#16 0x00007ff9396ae804 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ff9396a239b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ff93a81265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ff93a819b90 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ff939671d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ff9396ce219 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ff9396ce9e1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ff932eb7417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ff932eb7650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ff932eb76dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff9396cedaf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ff93967003a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ff939679170 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ff93d3f2a9d in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#30 0x00005578585e2e1f in  ()
#31 0x00007ff938a80b97 in __libc_start_main (main=0x5578585e2c70, argc=3, argv=0x7ffd03fc4838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd03fc4828) at ../csu/libc-start.c:310
#32 0x00005578585e2caa in  ()

Reported using DrKonqi
Comment 1 merlin.chlosta+kdebugs 2019-09-20 08:40:22 UTC
Created attachment 122753 [details]
Application entry that crashes KMail

Screenshot of the application launcher entry that crashes the KMail backend
Comment 2 Freek de Kruijf 2020-08-27 08:17:38 UTC
This one looks like a duplicate of bug report 403391
Comment 3 Justin Zobel 2022-10-12 03:49:49 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 4 Freek de Kruijf 2022-10-12 08:01:45 UTC
(In reply to Justin Zobel from comment #3)
> Thank you for reporting this crash in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the crash with a recent software version?
> 
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!

This looks like bug 425619, which was recently updated with a new backtrace.
Comment 5 Freek de Kruijf 2022-10-12 08:03:23 UTC
This one also looks like a duplicate of bug 403391