Bug 398918 - Akonadi server crashes after enabling Notification Monitor
Summary: Akonadi server crashes after enabling Notification Monitor
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.8.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 12:26 UTC by Erik Quaeghebeur
Modified: 2020-12-17 10:24 UTC (History)
1 user (show)

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


Attachments
backtrace (too long to be sent with DrKonqi) (93.25 KB, text/plain)
2018-09-21 12:26 UTC, Erik Quaeghebeur
Details
New crash information added by DrKonqi (74.87 KB, text/plain)
2018-11-16 07:21 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2018-09-21 12:26:57 UTC
Created attachment 115141 [details]
backtrace (too long to be sent with DrKonqi)

Qt Version: 5.9.6
Frameworks Version: 5.46.0
Operating System: Linux 4.14.65-gentoo x86_64

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

I checked the checkbox "Enable notification monitor" on the "Notification Monitor" tab of Akonadi Console.
Comment 1 Christoph Feck 2018-10-11 00:08:49 UTC
Pasting relevant part of backtrace from comment #0:

Thread 3 (Thread 0x7fcbed5f5700 (LWP 27402)):
[KCrash Handler]
#6  std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/atomic_base.h:713
#7  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/atomic:452
#8  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::load<QtSharedPointer::ExternalRefCountData*> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#9  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:238
#10 QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x0) at tools/qsharedpointer.cpp:1445
#11 0x00005626c27c9fd1 in QWeakPointer<QObject>::QWeakPointer<Akonadi::Server::NotificationSubscriber> (ptr=0x0, this=<synthetic pointer>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:684
#12 QPointer<Akonadi::Server::NotificationSubscriber>::QPointer (p=0x0, this=<synthetic pointer>) at /usr/include/qt5/QtCore/qpointer.h:71
#13 Akonadi::Server::NotificationSubscriber::notify (this=this@entry=0x0, notification=...) at /var/tmp/portage/kde-apps/akonadi-18.04.3/work/akonadi-18.04.3/src/server/notificationsubscriber.cpp:646
#14 0x00005626c27c2ca6 in Akonadi::Server::NotificationManager::emitPendingNotifications (this=0x5626c2b76230) at /var/tmp/portage/kde-apps/akonadi-18.04.3/work/akonadi-18.04.3/src/server/notificationmanager.cpp:226
#15 0x00007fcbf99890a7 in QtPrivate::QSlotObjectBase::call (a=0x7fcbed5f4500, r=0x5626c2b76230, this=0x7fcbe0005120) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#16 QMetaObject::activate (sender=sender@entry=0x7fcbe0004f00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fcbed5f4500) at kernel/qobject.cpp:3750
#17 0x00007fcbf9989607 in QMetaObject::activate (sender=sender@entry=0x7fcbe0004f00, m=m@entry=0x7fcbf9da8ec0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fcbed5f4500) at kernel/qobject.cpp:3629
#18 0x00007fcbf9995427 in QTimer::timeout (this=this@entry=0x7fcbe0004f00, _t1=...) at .moc/moc_qtimer.cpp:200
#19 0x00007fcbf9995738 in QTimer::timerEvent (this=0x7fcbe0004f00, e=<optimized out>) at kernel/qtimer.cpp:255
#20 0x00007fcbf9989c8b in QObject::event (this=0x7fcbe0004f00, e=<optimized out>) at kernel/qobject.cpp:1269
#21 0x00007fcbf996025a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1099
#22 0x00007fcbf9960347 in QCoreApplication::notifyInternal2 (receiver=0x7fcbe0004f00, event=event@entry=0x7fcbed5f4680) at kernel/qcoreapplication.cpp:1024
#23 0x00007fcbf99b0c8b in QCoreApplication::sendEvent (event=0x7fcbed5f4680, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#24 QTimerInfoList::activateTimers (this=0x7fcbe0004cf0) at kernel/qtimerinfo_unix.cpp:643
#25 0x00007fcbf99b1581 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#26 0x00007fcbf5a4a5a7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fcbf5a4a810 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fcbf5a4a8bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fcbf99b19bf in QEventDispatcherGlib::processEvents (this=0x7fcbe0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fcbf995f0ba in QEventLoop::exec (this=this@entry=0x7fcbed5f4910, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#31 0x00005626c27c3963 in Akonadi::Server::NotificationManager::waitForSocketData (this=0x5626c2b76230) at /var/tmp/portage/kde-apps/akonadi-18.04.3/work/akonadi-18.04.3/src/server/notificationmanager.cpp:129
#32 0x00007fcbf99954d4 in QtPrivate::QSlotObjectBase::call (a=0x7fcbed5f49c0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#33 QSingleShotTimer::timerEvent (this=0x7fcbe00142e0) at kernel/qtimer.cpp:318
#34 0x00007fcbf9989c8b in QObject::event (this=0x7fcbe00142e0, e=<optimized out>) at kernel/qobject.cpp:1269
#35 0x00007fcbf996025a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1099
#36 0x00007fcbf9960347 in QCoreApplication::notifyInternal2 (receiver=0x7fcbe00142e0, event=event@entry=0x7fcbed5f4b10) at kernel/qcoreapplication.cpp:1024
#37 0x00007fcbf99b0c8b in QCoreApplication::sendEvent (event=0x7fcbed5f4b10, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#38 QTimerInfoList::activateTimers (this=0x7fcbe0004cf0) at kernel/qtimerinfo_unix.cpp:643
#39 0x00007fcbf99b1581 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#40 0x00007fcbf5a4a5a7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fcbf5a4a810 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fcbf5a4a8bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fcbf99b19bf in QEventDispatcherGlib::processEvents (this=0x7fcbe0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fcbf995f0ba in QEventLoop::exec (this=this@entry=0x7fcbed5f4d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#45 0x00007fcbf97b7afa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#46 0x00007fcbf97bbfe5 in QThreadPrivate::start (arg=0x5626c2b488a0) at thread/qthread_unix.cpp:368
#47 0x00007fcbf7cda92a in start_thread () from /lib64/libpthread.so.0
#48 0x00007fcbf8e36a3f in clone () from /lib64/libc.so.6
Comment 2 Erik Quaeghebeur 2018-11-16 07:21:07 UTC
Created attachment 116333 [details]
New crash information added by DrKonqi

akonadiserver (5.8.3) using Qt 5.11.1

- What I was doing when the application crashed:

Activating the Notification Monitor.

(I need to add more information to satisfy DrKonqi...)

-- Backtrace (Reduced):
#6  std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/atomic_base.h:713
#7  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/atomic:452
#8  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::load<QtSharedPointer::ExternalRefCountData*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#9  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:239
#10 QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x0) at tools/qsharedpointer.cpp:1458
Comment 3 Justin Zobel 2020-12-17 05:38:49 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.