Bug 434725 - Crashed when starting Kontact being started
Summary: Crashed when starting Kontact being started
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-21 16:14 UTC by Edward
Modified: 2022-01-02 10:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.00 KB, text/plain)
2021-03-29 15:19 UTC, Dexter
Details
New crash information added by DrKonqi (8.00 KB, text/plain)
2021-03-29 15:19 UTC, Dexter
Details
New crash information added by DrKonqi (15.06 KB, patch)
2022-01-02 10:35 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edward 2021-03-21 16:14:45 UTC
Application: akonadiserver (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.63-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
- What I was doing when the application crashed:
Had logged on, Kontact was being started, it raised the error on the crash.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
[KCrash Handler]
#4  0x00007f2aa06331ec in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#7  QtPrivate::RefCount::deref (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#8  QString::operator= (this=this@entry=0x7f2a2c8b8908, other=...) at tools/qstring.cpp:2417
#9  0x000055e576489855 in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x55e576bbc840, request=0x7f2a2c8b88f0, errorMsg=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/storage/itemretrievalmanager.cpp:176
#10 0x00007f2aa07b5f4f in QtPrivate::QSlotObjectBase::call (a=0x7f2a9527f710, r=0x55e576bbc840, this=0x7f2a80007430) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 QMetaObject::activate (sender=sender@entry=0x55e576b5b130, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f2a9527f710) at kernel/qobject.cpp:3784
#12 0x00007f2aa07b6547 in QMetaObject::activate (sender=sender@entry=0x55e576b5b130, m=m@entry=0x55e5767791c0 <Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f2a9527f710) at kernel/qobject.cpp:3657
#13 0x000055e5764da764 in Akonadi::Server::AbstractItemRetrievalJob::requestCompleted (this=this@entry=0x55e576b5b130, _t1=<optimized out>, _t2=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/build/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:135
#14 0x000055e57648d164 in Akonadi::Server::ItemRetrievalJob::callFinished (this=0x55e576b5b130, watcher=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/storage/itemretrievaljob.cpp:78
#15 0x00007f2aa07b5f4f in QtPrivate::QSlotObjectBase::call (a=0x7f2a9527f900, r=0x55e576b5b130, this=0x7f2a80006760) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#16 QMetaObject::activate (sender=0x7f2a80007b50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f2a9527f900) at kernel/qobject.cpp:3784
#17 0x00007f2aa07b6547 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2aa110f5c0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f2a9527f900) at kernel/qobject.cpp:3657
#18 0x00007f2aa0ef2d5f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:157
#19 0x00007f2aa07b69e2 in QObject::event (this=0x7f2a80007b50, e=<optimized out>) at kernel/qobject.cpp:1261
#20 0x00007f2aa0786311 in doNotify (event=0x7f2a900367f0, receiver=0x7f2a80007b50) at kernel/qcoreapplication.cpp:1178
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1164
#22 QCoreApplication::notifyInternal2 (receiver=0x7f2a80007b50, event=0x7f2a900367f0) at kernel/qcoreapplication.cpp:1088
#23 0x00007f2aa07864fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f2a900367f0) at kernel/qcoreapplication.cpp:1476
#24 0x00007f2aa0788ee7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55e576b8ada0) at kernel/qcoreapplication.cpp:1825
#25 0x00007f2aa0789488 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#26 0x00007f2aa07e3d93 in postEventSourceDispatch (s=0x7f2a80004fa0) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007f2a9c354624 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f2a9c3549c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f2a9c354a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f2aa07e33af in QEventDispatcherGlib::processEvents (this=0x7f2a80000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f2aa078457a in QEventLoop::exec (this=this@entry=0x7f2a9527fcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#32 0x00007f2aa05a990a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#33 0x00007f2aa05ab0b2 in QThreadPrivate::start (arg=0x55e576bb4e80) at thread/qthread_unix.cpp:361
#34 0x00007f2a9e9524f9 in start_thread () from /lib64/libpthread.so.0
#35 0x00007f2a9fc2aecf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2a95a81700 (LWP 3112) "CacheCleaner-Th"):
#1  0x00007f2a9c354939 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a9c354a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2aa07e33cb in QEventDispatcherGlib::processEvents (this=0x7f2a8c000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2aa078457a in QEventLoop::exec (this=this@entry=0x7f2a95a80cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f2aa05a990a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f2aa05ab0b2 in QThreadPrivate::start (arg=0x55e576bbe960) at thread/qthread_unix.cpp:361
#7  0x00007f2a9e9524f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f2a9fc2aecf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2a96282700 (LWP 3111) "NotificationMan"):
#1  0x00007f2a9c39c090 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a9c354458 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2a9c3548e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2a9c354a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2aa07e33cb in QEventDispatcherGlib::processEvents (this=0x7f2a88000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f2aa078457a in QEventLoop::exec (this=this@entry=0x7f2a96281cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f2aa05a990a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f2aa05ab0b2 in QThreadPrivate::start (arg=0x55e576b72aa0) at thread/qthread_unix.cpp:361
#9  0x00007f2a9e9524f9 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2a9fc2aecf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2a96f54700 (LWP 2894) "QDBusConnection"):
#1  0x00007f2a9c354939 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a9c354a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2aa07e33cb in QEventDispatcherGlib::processEvents (this=0x7f2a90000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2aa078457a in QEventLoop::exec (this=this@entry=0x7f2a96f53c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f2aa05a990a in QThread::exec (this=this@entry=0x7f2aa1111420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007f2aa0e98e65 in QDBusConnectionManager::run (this=0x7f2aa1111420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f2aa05ab0b2 in QThreadPrivate::start (arg=0x7f2aa1111420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007f2a9e9524f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2a9fc2aecf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2aa2021900 (LWP 2888) "akonadiserver"):
#1  0x00007f2aa05b2176 in QWaitConditionPrivate::wait_relative (this=0x55e576bab1f0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x55e576bab1f0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x55e576bab1b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2aa05b24d6 in QWaitCondition::wait (this=this@entry=0x55e576bab1d0, mutex=mutex@entry=0x55e576bab1b0, time=time@entry=10000) at thread/qwaitcondition_unix.cpp:209
#5  0x00007f2aa05aac8e in QThread::wait (this=<optimized out>, time=time@entry=10000) at thread/qthread_unix.cpp:783
#6  0x000055e5764e2062 in Akonadi::Server::AkThread::quitThread (this=0x55e576baaf60) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/akthread.cpp:69
#7  0x000055e5763598ac in Akonadi::Server::Connection::~Connection (this=0x55e576baaf60, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/connection.cpp:147
#8  0x000055e576359a49 in Akonadi::Server::Connection::~Connection (this=0x55e576baaf60, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/connection.cpp:152
#9  0x000055e576353a6f in std::default_delete<Akonadi::Server::Connection>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:78
#10 std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >::~unique_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:263
#11 std::_Destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__pointer=<optimized out>) at /usr/include/c++/7/bits/stl_construct.h:98
#12 std::_Destroy_aux<false>::__destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >*> (__last=<optimized out>, __first=0x55e576b96cd8) at /usr/include/c++/7/bits/stl_construct.h:108
#13 std::_Destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >*> (__last=<optimized out>, __first=<optimized out>) at /usr/include/c++/7/bits/stl_construct.h:137
#14 std::_Destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >*, std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__last=0x55e576b96d60, __first=0x55e576b96ca0) at /usr/include/c++/7/bits/stl_construct.h:206
#15 std::vector<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >, std::allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > >::_M_erase_at_end (this=0x7ffe46529718, __pos=0x55e576b96ca0) at /usr/include/c++/7/bits/stl_vector.h:1518
#16 std::vector<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >, std::allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > >::clear (this=0x7ffe46529718) at /usr/include/c++/7/bits/stl_vector.h:1248
#17 Akonadi::Server::AkonadiServer::quit (this=this@entry=0x7ffe46529690) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/akonadi.cpp:192
#18 0x000055e57634e74f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.6.1.x86_64/src/server/main.cpp:82
[Inferior 1 (process 2888) detached]

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

Possible duplicates by query: bug 434205, bug 434107, bug 433252, bug 431764, bug 430790.

Reported using DrKonqi
Comment 1 Dexter 2021-03-29 15:19:07 UTC
Created attachment 137159 [details]
New crash information added by DrKonqi

akonadiserver (5.14.2 (20.04.2)) using Qt 5.12.7

- What I was doing when the application crashed: Logging into destktop. Akonadi started in the background then crashed

-- Backtrace (Reduced):
#4  0x00007f4e477731ec in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x35) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x35) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
[...]
#8  QString::operator= (this=0x7f4dfc067a48, other=...) at tools/qstring.cpp:2417
[...]
#10 0x00007f4e478f5f4f in QtPrivate::QSlotObjectBase::call (a=0x7f4e37ffe710, r=0x55d807f07be0, this=0x7f4e180257e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
Comment 2 Dexter 2021-03-29 15:19:08 UTC
Created attachment 137160 [details]
New crash information added by DrKonqi

akonadiserver (5.14.2 (20.04.2)) using Qt 5.12.7

- What I was doing when the application crashed: Logging into destktop. Akonadi started in the background then crashed

-- Backtrace (Reduced):
#4  0x00007f4e477731ec in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x35) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x35) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
[...]
#8  QString::operator= (this=0x7f4dfc067a48, other=...) at tools/qstring.cpp:2417
[...]
#10 0x00007f4e478f5f4f in QtPrivate::QSlotObjectBase::call (a=0x7f4e37ffe710, r=0x55d807f07be0, this=0x7f4e180257e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
Comment 3 John 2022-01-02 10:35:13 UTC
Created attachment 145038 [details]
New crash information added by DrKonqi

akonadiserver (5.14.2 (20.04.2)) using Qt 5.12.7

- What I was doing when the application crashed:

This happened twice this morning:

1. I had just booted the machine and closed two windows (from a saved session) when I was informed that Akonadi server had crashed. I was busy with time-sensitive operations so could not report it then but I told it to restart the app. Things continued fine, until I noticed later that I could no longer access teh system menu (neither mouse to teh bottom of the screen nor pressing the Meta key). until then I had been able to, so something died some time after I successfully used the system menu.

I did have a look at the journal and there seemed to be some unusual Qt errors (versus the usual noise pretty much every time I change window focus). I cannot show the entries in question because (as I just discovered) the journal default is not to save its logs. Wish I could be mroe helpful here.

2. When I got home and started up, I was informed just after logging in that the Akonadi server had died yet again. Since I had time, I am submitting this, as I really need to be able to use my system: at the moment I cannot get to the system menu. Keyboard shortcuts such as changing desktops or starting Konsole windows thankfully work, but it's a real problem to work properly.

I really hope this will get sorted out quickly, as I need to use my laptop.

-- Backtrace (Reduced):
#4  0x00007fabb0f7026c in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x14) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x14) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
[...]
#8  QString::operator= (this=this@entry=0x7fab5c06cba8, other=...) at tools/qstring.cpp:2417
#9  0x000055abeb5a0875 in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x55abecd44a30, request=0x7fab5c06cb90, errorMsg=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/storage/itemretrievalmanager.cpp:176