Bug 404533

Summary: akonadi crashes during startup after non-clean closing of previous X session
Product: [Frameworks and Libraries] Akonadi Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: a.samirh78
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Erik Quaeghebeur 2019-02-18 20:26:29 UTC
Application: akonadi_control (5.9.3)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.14.83-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Starting up after a non-clean closing of the previous X session.

-- Backtrace:
Application: Akonadi Control (akonadi_control), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3aa3ff5d40 (LWP 332))]

Thread 3 (Thread 0x7f3a87958700 (LWP 340)):
#0  0x00007f3aa1b85d63 in poll () from /lib64/libc.so.6
#1  0x00007f3a9ed050b9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3a9ed051cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3aa2702f5b in QEventDispatcherGlib::processEvents (this=0x7f3a80000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3aa26aeffa in QEventLoop::exec (this=this@entry=0x7f3a87957cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3aa2512f5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f3aa36bbde5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f3aa251c9af in QThreadPrivate::start (arg=0x7f3aa3933d60) at thread/qthread_unix.cpp:367
#8  0x00007f3aa187496a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3aa1b9192f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3a95b48700 (LWP 334)):
#0  0x00007f3aa1b85d63 in poll () from /lib64/libc.so.6
#1  0x00007f3a9e2457f7 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f3a9e24742a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f3a980bb779 in QXcbEventReader::run (this=0x55c601db6480) at qxcbconnection.cpp:1391
#4  0x00007f3aa251c9af in QThreadPrivate::start (arg=0x55c601db6480) at thread/qthread_unix.cpp:367
#5  0x00007f3aa187496a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3aa1b9192f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3aa3ff5d40 (LWP 332)):
[KCrash Handler]
#6  0x00007f3aa1ac383b in raise () from /lib64/libc.so.6
#7  0x00007f3aa1ac5081 in abort () from /lib64/libc.so.6
#8  0x000055c6005b5d1e in akMessageHandler (type=<optimized out>, context=..., msg=...) at /var/tmp/portage/kde-apps/akonadi-18.08.3-r1/work/akonadi-18.08.3/src/shared/akdebug.cpp:177
#9  0x000055c6005b80fc in (anonymous namespace)::RemoteLogger::dbusLogger (type=QtFatalMsg, ctx=..., msg=...) at /var/tmp/portage/kde-apps/akonadi-18.08.3-r1/work/akonadi-18.08.3/src/shared/akremotelog.cpp:183
#10 0x00007f3aa2509107 in qt_message_print (msgType=msgType@entry=QtFatalMsg, context=..., message=...) at global/qlogging.cpp:1791
#11 0x00007f3aa25091e8 in qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x55c6005b9d98 "akonadiserver already running!", ap=ap@entry=0x7ffc3c2f9670) at global/qlogging.cpp:365
#12 0x00007f3aa24f66f8 in QMessageLogger::fatal (this=this@entry=0x7ffc3c2f9800, msg=msg@entry=0x55c6005b9d98 "akonadiserver already running!") at global/qlogging.cpp:877
#13 0x000055c6005a3272 in AgentManager::AgentManager (this=0x7f3a80012ec0, verbose=<optimized out>, parent=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-18.08.3-r1/work/akonadi-18.08.3/src/akonadicontrol/agentmanager.cpp:70
#14 0x000055c6005954a5 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-18.08.3-r1/work/akonadi-18.08.3/src/akonadicontrol/main.cpp:88

Possible duplicates by query: bug 403058.

Reported using DrKonqi
Comment 1 Ahmad Samir 2020-09-10 15:30:38 UTC
Is this still an issue?
Comment 2 Erik Quaeghebeur 2020-09-10 15:33:47 UTC
(In reply to Ahmad Samir from comment #1)
> Is this still an issue?
No. I haven't had such a crash recently.
Comment 3 Ahmad Samir 2020-09-10 15:35:45 UTC
Thanks for the feedback.