Bug 461719 - The Akonadi server broke down after exiting the "Monitor Power Saving" mode
Summary: The Akonadi server broke down after exiting the "Monitor Power Saving" mode
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-12 09:21 UTC by ilirius
Modified: 2023-01-07 05:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.47 KB, text/plain)
2022-12-08 08:39 UTC, Andrew Rembrandt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilirius 2022-11-12 09:21:46 UTC
Application: akonadiserver (5.21.3 (22.08.3))

Qt Version: 5.15.7
Frameworks Version: 5.99.0
Operating System: Linux 6.0.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.26.3 [KCrashBackend]

-- Information about the crash:
After the time expired, KDE Plasma switched to the "Monitor Power Saving" mode. After an indefinite time passed and I tried to wake up the system (in this case, monitors) by clicking on the keyboard. Previously running programs were closed and there was an invitation to enter a password in the kwallet application.

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x211, this=<optimized out>) at /usr/include/c++/12.2.0/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.2.0/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=0x7ffd8ca88cf8) at /usr/include/c++/12.2.0/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.2.0/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=0x7ffd8ca88cf8) at /usr/include/c++/12.2.0/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=0x7ffd8ca88cf8) at /usr/include/c++/12.2.0/bits/stl_vector.h:1530
#10 Akonadi::Server::AkonadiServer::connectionDisconnected (this=0x7ffd8ca88c70) at /usr/src/debug/akonadi/akonadi-22.08.3/src/server/akonadi.cpp:234
#11 0x00007f115a4b0be0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f115a48cf7c in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f115a48daa3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f115a4d3e68 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007f115886d87b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007f11588c4279 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f115886c132 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007f115a4d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007f115a48573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007f115a490269 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#21 0x0000559923f40f4d in AkApplicationBase::exec (this=0x7ffd8ca88c40) at /usr/src/debug/akonadi/akonadi-22.08.3/src/shared/akapplication.cpp:107
#22 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi/akonadi-22.08.3/src/server/main.cpp:65
[Inferior 1 (process 2259) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-11-12 13:49:25 UTC
This is caused by kwin_wayland crashing and is not directly related to Akonadi. Please follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl to get a backtrace for kwin_wayland and paste that here

Thanks!
Comment 2 Bug Janitor Service 2022-11-27 05:12:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Rembrandt 2022-12-08 08:39:10 UTC
Created attachment 154418 [details]
New crash information added by DrKonqi

akonadiserver (5.21.3 (22.08.3)) using Qt 5.15.7

When I plug in my Dell TB16 dock (with a second external monitor connected, and usb mouse + keyboard), this often occurs, along with what seems a crash or exit of all applications (I get a black / blank desktop with no plasmashell)

Happy to provide more details & will hopefully find some time to get the other crashes reported in system journal:

Dec 08 09:21:16 keaton systemd-coredump[23979]: [🡕] Process 1085 (kwin_wayland) of user 1000 dumped core.

Stack trace of thread 1085:
#0  0x00007f109f347358 n/a (libkwin.so.5 + 0x347358)
#1  0x00007f109f192f4e n/a (libkwin.so.5 + 0x192f4e)
#2  0x00007f109f4489c6 n/a (libkwin.so.5 + 0x4489c6)
#3  0x00007f109f1ab2a9 _ZN4KWin6OutputD2Ev (libkwin.so.5 + 0x1ab2a9)
#4  0x00007f109f34bc6e _ZN4KWin9DrmOutputD0Ev (libkwin.so.5 + 0x34bc6e)
#5  0x00007f109f2e9e31 _ZN4KWin9Workspace13updateOutputsEv (libkwin.so.5 + 0x2e9e31)
#6  0x00007f109d8bda51 n/a (libQt5Core.so.5 + 0x2bda51)
#7  0x00007f109f3323b2 _ZN4KWin10DrmBackend13updateOutputsEv (libkwin.so.5 + 0x3323b2)
#8  0x00007f109f32c0bd _ZN4KWin10DrmBackend15handleUdevEventEv (libkwin.so.5 + 0x32c0bd)
#9  0x00007f109d8bda51 n/a (libQt5Core.so.5 + 0x2bda51)
#10 0x00007f109d8bf904 _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2bf904)
#11 0x00007f109d8bfa48 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2bfa48)
#12 0x00007f109cf78b1c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b1c)
#13 0x00007f109d88cf98 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cf98)
#14 0x00007f109d8d690c _ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt5Core.so.5 + 0x2d690c)
#15 0x00007f109d8d7a01 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d7a01)
#16 0x0000556ba264db52 n/a (kwin_wayland + 0x12cb52)
#17 0x00007f109d88573c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28573c)
#18 0x00007f109d890269 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x290269)
#19 0x0000556ba256e611 n/a (kwin_wayland + 0x4d611)
#20 0x00007f109c83c290 n/a (libc.so.6 + 0x23290)
#21 0x00007f109c83c34a __libc_start_main (libc.so.6 + 0x2334a)
#22 0x0000556ba256fc95 n/a (kwin_wayland + 0x4ec95)

Stack trace of thread 1141:
#0  0x00007f109c89c4b6 n/a (libc.so.6 + 0x834b6)
#1  0x00007f109c89ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2  0x00007f109510799e n/a (iris_dri.so + 0x10799e)
#3  0x00007f10950baf8c n/a (iris_dri.so + 0xbaf8c)
#4  0x00007f10951078cc n/a (iris_dri.so + 0x1078cc)
#5  0x00007f109c89f8fd n/a (libc.so.6 + 0x868fd)
#6  0x00007f109c921a60 n/a (libc.so.6 + 0x108a60)

Stack trace of thread 1144:
#0  0x00007f109c9140bf __poll (libc.so.6 + 0xfb0bf)
#1  0x00007f109b56d1ff n/a (libglib-2.0.so.0 + 0xac1ff)
#2  0x00007f109b515132 g_main_context_iteration (libglib-2.0.so.0 + 0x54132)
#3  0x00007f109d8d7c4c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d7c4c)
#4  0x00007f109d88573c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28573c)
#5  0x00007f109d6e721f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe721f)
#6  0x00007f109e6c0370 n/a (libQt5Qml.so.5 + 0x2c0370)
#7  0x00007f109d6e42ea n/a (libQt5Core.so.5 + 0xe42ea)
#8  0x00007f109c89f8fd n/a (libc.so.6 + 0x868fd)
#9  0x00007f109c921a60 n/a (libc.so.6 + 0x108a60)

-- Backtrace (Reduced):
#6  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x111, this=<optimized out>) at /usr/include/c++/12.2.0/bits/unique_ptr.h:89
#7  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.2.0/bits/unique_ptr.h:396
#8  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=0x7ffdad9bb178) at /usr/include/c++/12.2.0/bits/new_allocator.h:181
#9  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.2.0/bits/alloc_traits.h:535
#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> > > >::_M_erase (__position=..., this=0x7ffdad9bb178) at /usr/include/c++/12.2.0/bits/vector.tcc:181
Comment 4 Bug Janitor Service 2022-12-23 05:23:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-01-07 05:26:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!