Bug 384983

Summary: Akonadiserver crash and Kmail does not open
Product: [Frameworks and Libraries] Akonadi Reporter: Mauro D'Aloisio <mauro.daloisio>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: freekdekruijf, simonandric5
Priority: NOR Keywords: drkonqi
Version: 5.6.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Mauro D'Aloisio 2017-09-23 03:55:42 UTC
Application: akonadi_control (5.6.1)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.10.0-33-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
nothing special: Kontact autostart when I boot my pc; when kontact window opened I saw the error window regarding akonadiserver

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Control (akonadi_control), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fac05faa8c0 (LWP 3888))]

Thread 3 (Thread 0x7fabed93e700 (LWP 3890)):
#0  0x00007fac01aa4a94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fac01a5f910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fac01a602bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac01a6049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fac04daf94b in QEventDispatcherGlib::processEvents (this=0x7fabe80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fac04d587ca in QEventLoop::exec (this=this@entry=0x7fabed93dcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fac04b81cd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fac06062b75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fac04b86989 in QThreadPrivate::start (arg=0x7fac060d8da0) at thread/qthread_unix.cpp:368
#9  0x00007fac03f606ba in start_thread (arg=0x7fabed93e700) at pthread_create.c:333
#10 0x00007fac0427d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fabf989f700 (LWP 3889)):
#0  0x00007fac0427170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fac011a0c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fac011a28d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fabfbdf7329 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fac04b86989 in QThreadPrivate::start (arg=0xd174f0) at thread/qthread_unix.cpp:368
#5  0x00007fac03f606ba in start_thread (arg=0x7fabf989f700) at pthread_create.c:333
#6  0x00007fac0427d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fac05faa8c0 (LWP 3888)):
[KCrash Handler]
#6  0x00007fac041ab428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fac041ad02a in __GI_abort () at abort.c:89
#8  0x000000000042e0a3 in akMessageHandler (type=<optimized out>, context=..., msg=...) at /workspace/build/src/shared/akdebug.cpp:167
#9  0x00007fac04b6d4bf in qt_message_print (message=..., context=..., msgType=QtFatalMsg) at global/qlogging.cpp:1656
#10 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x430758 "akonadiserver already running!", ap=ap@entry=0x7fff9fbf9b60) at global/qlogging.cpp:281
#11 0x00007fac04b6efe9 in QMessageLogger::fatal (this=this@entry=0x7fff9fbf9d70, msg=msg@entry=0x430758 "akonadiserver already running!") at global/qlogging.cpp:793
#12 0x0000000000419793 in AgentManager::AgentManager (this=0xd4e910, verbose=<optimized out>, parent=<optimized out>) at /workspace/build/src/akonadicontrol/agentmanager.cpp:71
#13 0x000000000040a368 in main (argc=1, argv=<optimized out>) at /workspace/build/src/akonadicontrol/main.cpp:88

The reporter indicates this bug may be a duplicate of or related to bug 382788.

Possible duplicates by query: bug 382788.

Reported using DrKonqi
Comment 1 Freek de Kruijf 2018-04-06 09:24:07 UTC
Created attachment 111869 [details]
New crash information added by DrKonqi

akonadi_control (5.7.3) using Qt 5.10.0

- What I was doing when the application crashed:
Nothing special Akonadi was started with the start of the session.
- Custom settings of the application:
I moved a message from the local account folder .local/share/akonadi_maildir_resource_0/outbox/new/ to another location using another version of the distribution.

-- Backtrace (Reduced):
#8  0x000055b1d9e8479e in akMessageHandler (type=<optimized out>, context=..., msg=...) at /usr/src/debug/akonadi-server-17.12.3-1.1.x86_64/src/shared/akdebug.cpp:167
#9  0x00007fe04101b01f in qt_message_print (message=..., context=..., msgType=QtFatalMsg) at global/qlogging.cpp:1676
[...]
#11 0x00007fe04101cbf9 in QMessageLogger::fatal (this=this@entry=0x7fff285132f0, msg=msg@entry=0x55b1d9e86d08 "akonadiserver already running!") at global/qlogging.cpp:813
#12 0x000055b1d9e7108a in AgentManager::AgentManager (this=0x7fe02000e9a0, verbose=<optimized out>, parent=<optimized out>) at /usr/src/debug/akonadi-server-17.12.3-1.1.x86_64/src/akonadicontrol/agentmanager.cpp:71
#13 0x000055b1d9e632c5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-17.12.3-1.1.x86_64/src/akonadicontrol/main.cpp:88
Comment 2 Justin Zobel 2020-12-17 05:38:39 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2021-01-01 04:37:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-16 04:36:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!