[Akonadi] [Bug 382425] New: akonadiserver crash at startup

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Jul 17 09:13:41 BST 2017


https://bugs.kde.org/show_bug.cgi?id=382425

            Bug ID: 382425
           Summary: akonadiserver crash at startup
           Product: Akonadi
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: andreas.sturmlechner at gmail.com
  Target Milestone: ---

Application: akonadiserver (5.5.3)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.36.0
Operating System: Linux 4.11.7-gentoo x86_64
Distribution: "NAME=Gentoo"

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

Akonadi is sometimes simply crashing at startup.

Also: On my system, most of the time kmail, on first raising from system tray
(starting Plasma with 'restore previous session'), reports that akonadiserver
is not yet startet. Despite showing unread mail in the background. I don't know
if this is a sympton that may be related to the crash.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_timedwait () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
[Current thread is 1 (Thread 0x7fb22c011740 (LWP 3847))]

Thread 3 (Thread 0x7fb228db2700 (LWP 3853)):
[KCrash Handler]
#6  0x00007fb234708228 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fb23470964a in __GI_abort () at abort.c:89
#8  0x00007fb234d390fd in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6
#9  0x00007fb234d36ea6 in ?? () from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6
#10 0x00007fb234d36ef1 in std::terminate() () from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6
#11 0x00007fb234d37109 in __cxa_throw () from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6
#12 0x00007fb2355d45a5 in Akonadi::Protocol::DataStream::operator<< <unsigned
char> (this=<optimized out>, val=<optimized out>) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/datastream_p_p.h:97
#13 0x00007fb2355d75c3 in Akonadi::Protocol::CommandPrivate::serialize
(stream=..., this=0x5577396e5150) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/protocol.cpp:264
#14 Akonadi::Protocol::ChangeNotificationPrivate::serialize (stream=...,
this=0x5577396e5150) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/protocol.cpp:7715
#15 Akonadi::Protocol::ItemChangeNotificationPrivate::serialize
(this=0x5577396e5150, stream=...) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/protocol.cpp:7871
#16 0x00007fb2355c3b60 in Akonadi::Protocol::operator<< (stream=...,
command=...) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/protocol.cpp:379
#17 0x00007fb2355c3c37 in Akonadi::Protocol::serialize (device=<optimized out>,
command=...) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/private/protocol.cpp:608
#18 0x000055773803fcee in Akonadi::Server::NotificationSubscriber::writeCommand
(this=0x7fb21c0aab20, tag=tag at entry=4, cmd=...) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/notificationsubscriber.cpp:678
#19 0x000055773803fd3b in
Akonadi::Server::NotificationSubscriber::writeNotification (this=<optimized
out>, notification=...) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/notificationsubscriber.cpp:669
#20 0x000055773805ebf8 in
Akonadi::Server::NotificationSubscriber::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fb200032a50) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3_build/src/server/libakonadiserver_automoc.dir/moc_notificationsu_A7THY7VNQHIEYZ.cpp:97
#21 0x00007fb2352c9ab2 in QMetaCallEvent::placeMetaCall (this=0x7fb2000329f0,
object=0x7fb21c0aab20) at kernel/qobject.cpp:502
#22 0x00007fb2352cba36 in QObject::event (this=0x7fb21c0aab20, e=<optimized
out>) at kernel/qobject.cpp:1263
#23 0x00007fb2352a78a8 in QCoreApplicationPrivate::notify_helper
(receiver=0x7fb21c0aab20, event=0x7fb2000329f0) at
kernel/qcoreapplication.cpp:1122
#24 0x00007fb2352a7934 in doNotify (receiver=<optimized out>, event=<optimized
out>) at kernel/qcoreapplication.cpp:1063
#25 0x00007fb2352a7a44 in QCoreApplication::notify (this=<optimized out>,
receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1049
#26 0x00007fb2352a79e2 in QCoreApplication::notifyInternal2
(receiver=receiver at entry=0x7fb21c0aab20, event=event at entry=0x7fb2000329f0) at
kernel/qcoreapplication.cpp:988
#27 0x00007fb2352a9ddc in QCoreApplication::sendEvent (event=0x7fb2000329f0,
receiver=0x7fb21c0aab20) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x5577395f0da0) at
kernel/qcoreapplication.cpp:1649
#29 0x00007fb2352aa260 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1503
#30 0x00007fb2352ef83a in postEventSourceDispatch (s=s at entry=0x7fb21c0012d0) at
kernel/qeventdispatcher_glib.cpp:276
#31 0x00007fb231b4b1c6 in g_main_dispatch (context=0x7fb21c000990) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3203
#32 g_main_context_dispatch (context=context at entry=0x7fb21c000990) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3856
#33 0x00007fb231b4b58d in g_main_context_iterate
(context=context at entry=0x7fb21c000990, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3929
#34 0x00007fb231b4b613 in g_main_context_iteration (context=0x7fb21c000990,
may_block=may_block at entry=1) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990
#35 0x00007fb2352ef8b3 in QEventDispatcherGlib::processEvents
(this=0x7fb21c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007fb2352a6656 in QEventLoop::processEvents
(this=this at entry=0x7fb228db1e80, flags=..., flags at entry=...) at
kernel/qeventloop.cpp:134
#37 0x00007fb2352a6a55 in QEventLoop::exec (this=this at entry=0x7fb228db1e80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#38 0x00007fb2351235c0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#39 0x00007fb235123669 in QThread::run (this=<optimized out>) at
thread/qthread.cpp:574
#40 0x00007fb2351275f9 in QThreadPrivate::start (arg=0x5577395f9ec0) at
thread/qthread_unix.cpp:368
#41 0x00007fb233abe3c4 in start_thread (arg=0x7fb228db2700) at
pthread_create.c:333
#42 0x00007fb2347bc70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb22bc67700 (LWP 3850)):
#0  0x00007ffde4d079e0 in clock_gettime ()
#1  0x00007fb2347c9206 in __GI___clock_gettime (clock_id=clock_id at entry=1,
tp=tp at entry=0x7fb22bc66ba0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fb2351b4f55 in qt_clock_gettime (ts=0x7fb22bc66ba0, clock=<optimized
out>) at tools/qelapsedtimer_unix.cpp:109
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
tools/qelapsedtimer_unix.cpp:164
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007fb2352ee03f in QTimerInfoList::updateCurrentTime
(this=this at entry=0x7fb2240030d0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fb2352ee3f5 in QTimerInfoList::timerWait (this=0x7fb2240030d0,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fb2352ef58d in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7fb22bc66c84) at kernel/qeventdispatcher_glib.cpp:132
#8  0x00007fb2352ef64a in timerSourcePrepare (source=<optimized out>,
timeout=timeout at entry=0x7fb22bc66c84) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007fb231b4abfd in g_main_context_prepare
(context=context at entry=0x7fb224000990, priority=priority at entry=0x7fb22bc66d10)
at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3501
#10 0x00007fb231b4b445 in g_main_context_iterate
(context=context at entry=0x7fb224000990, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3909
#11 0x00007fb231b4b613 in g_main_context_iteration (context=0x7fb224000990,
may_block=may_block at entry=1) at
/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990
#12 0x00007fb2352ef8d5 in QEventDispatcherGlib::processEvents
(this=0x7fb2240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007fb2352a6656 in QEventLoop::processEvents
(this=this at entry=0x7fb22bc66e60, flags=..., flags at entry=...) at
kernel/qeventloop.cpp:134
#14 0x00007fb2352a6a55 in QEventLoop::exec (this=this at entry=0x7fb22bc66e60,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#15 0x00007fb2351235c0 in QThread::exec (this=this at entry=0x7fb235594840
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#16 0x00007fb23552819c in QDBusConnectionManager::run (this=0x7fb235594840
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#17 0x00007fb2351275f9 in QThreadPrivate::start (arg=0x7fb235594840 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#18 0x00007fb233abe3c4 in start_thread (arg=0x7fb22bc67700) at
pthread_create.c:333
#19 0x00007fb2347bc70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb22c011740 (LWP 3847)):
#0  pthread_cond_timedwait () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fb235127bbe in QWaitConditionPrivate::wait_relative (time=10000,
this=0x5577395eb800) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=10000, this=0x5577395eb800) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this at entry=0x5577395fbbf0,
mutex=mutex at entry=0x5577395fbbd0, time=time at entry=10000) at
thread/qwaitcondition_unix.cpp:215
#4  0x00007fb235127238 in QThread::wait (this=<optimized out>,
time=time at entry=10000) at thread/qthread_unix.cpp:698
#5  0x00005577380638b7 in Akonadi::Server::AkThread::quitThread
(this=this at entry=0x5577395fa3b0) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/akthread.cpp:63
#6  0x000055773803df4b in
Akonadi::Server::NotificationManager::~NotificationManager
(this=0x5577395fa3b0, __in_chrg=<optimized out>) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/notificationmanager.cpp:49
#7  0x000055773803dfb3 in
Akonadi::Server::NotificationManager::~NotificationManager
(this=0x5577395fa3b0, __in_chrg=<optimized out>) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/notificationmanager.cpp:50
#8  0x0000557737f760fa in Akonadi::Server::AkonadiServer::quit
(this=0x5577395e54c0) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/akonadi.cpp:312
#9  0x0000557737f742e9 in main (argc=<optimized out>, argv=<optimized out>) at
/var/tmp/portage/kde-apps/akonadi-17.04.3/work/akonadi-17.04.3/src/server/main.cpp:81

Possible duplicates by query: bug 377656, bug 377273, bug 376976.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list