[Akonadi] [Bug 468404] New: Akonadi Server Crashes When Screen Goes Inactive

MacrosV at Gmail.com MacrosV at Gmail.com
Tue Apr 11 22:01:18 BST 2023


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

            Bug ID: 468404
           Summary: Akonadi Server Crashes When Screen Goes Inactive
    Classification: Frameworks and Libraries
           Product: Akonadi
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: MacrosV at Gmail.com
  Target Milestone: ---

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

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


More information about the Kdepim-bugs mailing list