Bug 468404 - Akonadi Server Crashes When Screen Goes Inactive
Summary: Akonadi Server Crashes When Screen Goes Inactive
Status: RESOLVED DUPLICATE of bug 450217
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-11 21:01 UTC by MacrosV@Gmail.com
Modified: 2023-04-13 21:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MacrosV@Gmail.com 2023-04-11 21:01:18 UTC
Application: akonadiserver (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.9-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 37 (Thirty Seven)"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Every time my screens go into sleep mode Akonadi Server crashes. All I have to do is let my system sit for a while and when I come back Akonadi server will have crashed and taken all running programs with it. I suspect that one of my monitors may have a bad capacitor which causes the screen to turn off when entering low power mode, causing the system to detect the screen as being disconnected, which, in turn, causes the display configuration to change and, consequently, reactivates the monitor, turning it back on. It is only possible to submit a bug report after the first crash, as it appears as though not every service properly reloads after the Akonadi Server crash. I previously attempted to file a bug report but it appears as though DrKonqi appended it to an unrelated bug so I am attempting to do so again, this time referencing a bug that appears to be similar to what I am experiencing.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault

[KCrash Handler]
#4  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x110, this=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:89
#5  std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:396
#6  std::__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=0x7ffe1596a6d8) at /usr/include/c++/12/bits/new_allocator.h:181
#7  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++/12/bits/alloc_traits.h:535
#8  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=..., this=0x7ffe1596a6d8) at /usr/include/c++/12/bits/vector.tcc:181
#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> > > >::erase (__position=..., this=0x7ffe1596a6d8) at /usr/include/c++/12/bits/stl_vector.h:1530
#10 Akonadi::Server::AkonadiServer::connectionDisconnected (this=0x7ffe1596a650) at /usr/src/debug/kf5-akonadi-server-22.12.3-1.fc37.x86_64/src/server/akonadi.cpp:234
#11 0x00007f14044c8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007f140449d4cb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f14044a0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#14 0x00007f14044eeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007f140265fc7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007f14026b6118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#17 0x00007f140265cf00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007f14044ee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007f140449bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007f14044a4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x0000555dcc8a4058 in AkApplicationBase::exec (this=0x7ffe1596a620) at /usr/src/debug/kf5-akonadi-server-22.12.3-1.fc37.x86_64/src/shared/akapplication.cpp:107
#22 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kf5-akonadi-server-22.12.3-1.fc37.x86_64/src/server/main.cpp:65
[Inferior 1 (process 10666) detached]

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

Reported using DrKonqi
Comment 1 MacrosV@Gmail.com 2023-04-13 21:12:29 UTC
It appears as though this is a duplicate of bug 450217 https://bugs.kde.org/show_bug.cgi?id=450217

*** This bug has been marked as a duplicate of bug 450217 ***