Bug 450217 - (SEGV) Crash in Akonadi::Server::AkonadiServer::connectionDisconnected
Summary: (SEGV) Crash in Akonadi::Server::AkonadiServer::connectionDisconnected
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: wayland
: 442147 445249 447035 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-14 13:55 UTC by postix
Modified: 2022-05-20 06:48 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
bt full (25.32 KB, text/plain)
2022-04-07 08:55 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-02-14 13:55:35 UTC
SUMMARY

```
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fe2969f62d3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fe2969a6356 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fe297792d36 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash-5.90.0-1.1.x86_64/src/kcrash.cpp:624
#4  <signal handler called>
#5  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x111, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:79
#6  std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#7  __gnu_cxx::new_allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > >::destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__p=<optimized out>, this=<optimized out>) at /usr/include/c++/11/ext/new_allocator.h:168
#8  std::allocator_traits<std::allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > >::destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__p=<optimized out>, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:535
#9  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 (__position=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x559e2e5a0bc0}, this=<optimized out>) at /usr/include/c++/11/bits/vector.tcc:177
#10 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> > > >::erase (__position=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x559e2e5a0bc0}, this=<optimized out>) at /usr/include/c++/11/bits/stl_vector.h:1431
#11 Akonadi::Server::AkonadiServer::connectionDisconnected (this=<optimized out>) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/akonadi.cpp:234
#12 0x00007fe2970b949e in QObject::event (this=0x7ffc2a007220, e=0x559e2e599520) at kernel/qobject.cpp:1314
#13 0x00007fe29708cdff in doNotify (event=0x559e2e599520, receiver=0x7ffc2a007220) at kernel/qcoreapplication.cpp:1154
#14 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140
#15 QCoreApplication::notifyInternal2 (receiver=0x7ffc2a007220, event=0x559e2e599520) at kernel/qcoreapplication.cpp:1064
#16 0x00007fe29708fe67 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559e2e546e10) at kernel/qcoreapplication.cpp:1821
#17 0x00007fe2970e4ce3 in postEventSourceDispatch (s=s@entry=0x559e2e54ef50) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007fe2952c8d5f in g_main_dispatch (context=0x559e2e54ccc0) at ../glib/gmain.c:3381
#19 g_main_context_dispatch (context=0x559e2e54ccc0) at ../glib/gmain.c:4099
#20 0x00007fe2952c90e8 in g_main_context_iterate (context=context@entry=0x559e2e54ccc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#21 0x00007fe2952c919f in g_main_context_iteration (context=0x559e2e54ccc0, may_block=1) at ../glib/gmain.c:4240
#22 0x00007fe2970e4364 in QEventDispatcherGlib::processEvents (this=0x559e2e54c3e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fe29708b82b in QEventLoop::exec (this=this@entry=0x7ffc2a007080, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fe297093b00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x0000559e2d25f6b6 in AkApplicationBase::exec (this=0x7ffc2a0071f0) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/shared/akapplication.cpp:107
#26 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/main.cpp:65
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220210
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2022-04-07 08:55:35 UTC
Created attachment 148014 [details]
bt full

Right after KWin Wayland crashed due to #452044, Akonadi crashed too.

BACKTRACE

```
#4  <signal handler called>
#5  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x111, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:79
#6  std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#7  __gnu_cxx::new_allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > >::destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__p=<optimized out>, this=<optimized out>) at /usr/include/c++/11/ext/new_allocator.h:168
#8  std::allocator_traits<std::allocator<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > >::destroy<std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> > > (__p=<optimized out>, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:535
#9  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 (__position=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x55766233e450}, this=<optimized out>) at /usr/include/c++/11/bits/vector.tcc:177
#10 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> > > >::erase (__position=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x55766233e450}, this=<optimized out>) at /usr/include/c++/11/bits/stl_vector.h:1431
#11 Akonadi::Server::AkonadiServer::connectionDisconnected (this=<optimized out>) at /usr/src/debug/akonadi-server-21.12.3-2.2.x86_64/src/server/akonadi.cpp:234
#12 0x00007f185f1d84ae in QObject::event (this=0x7fffce646fe0, e=0x7f17fc005a00) at kernel/qobject.cpp:1314
#13 0x00007f185f1abe0f in doNotify (event=0x7f17fc005a00, receiver=0x7fffce646fe0) at kernel/qcoreapplication.cpp:1154
#14 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140
#15 QCoreApplication::notifyInternal2 (receiver=0x7fffce646fe0, event=0x7f17fc005a00) at kernel/qcoreapplication.cpp:1064
#16 0x00007f185f1aee77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5576622eeb80) at kernel/qcoreapplication.cpp:1821
#17 0x00007f185f203d03 in postEventSourceDispatch (s=s@entry=0x55766232cca0) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f185d3ca122 in g_main_dispatch (context=0x55766232aa10) at ../glib/gmain.c:3417
#19 g_main_context_dispatch (context=0x55766232aa10) at ../glib/gmain.c:4135
#20 0x00007f185d3ca4b8 in g_main_context_iterate (context=context@entry=0x55766232aa10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#21 0x00007f185d3ca56f in g_main_context_iteration (context=0x55766232aa10, may_block=1) at ../glib/gmain.c:4276
#22 0x00007f185f203384 in QEventDispatcherGlib::processEvents (this=0x55766232a130, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f185f1aa83b in QEventLoop::exec (this=this@entry=0x7fffce646e40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007f185f1b2b10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00005576607826b6 in AkApplicationBase::exec (this=0x7fffce646fb0) at /usr/src/debug/akonadi-server-21.12.3-2.2.x86_64/src/shared/akapplication.cpp:107
#26 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-21.12.3-2.2.x86_64/src/server/main.cpp:65
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220404
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.17.1-1-default (64-bit)
Graphics Platform: Wayland
Comment 2 postix 2022-04-07 09:00:53 UTC
*** Bug 442147 has been marked as a duplicate of this bug. ***
Comment 3 postix 2022-04-07 09:04:08 UTC
*** Bug 445249 has been marked as a duplicate of this bug. ***
Comment 4 postix 2022-04-07 09:05:14 UTC
*** Bug 447035 has been marked as a duplicate of this bug. ***