Bug 467883 - Akonadi crashes when the laptop disables screen
Summary: Akonadi crashes when the laptop disables screen
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-03-28 12:49 UTC by avemilia
Modified: 2023-04-10 16:06 UTC (History)
2 users (show)

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 avemilia 2023-03-28 12:49:12 UTC
Application: akonadiserver (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.7-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
Probably related to display power management. It crashed either when the laptop turned off the screen, or after I touched it to "wake up".

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  std::default_delete<Akonadi::Server::Connection>::operator() (__ptr=0x111, 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=0x7ffc81719648) 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=0x7ffc81719648) 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=0x7ffc81719648) at /usr/include/c++/12/bits/stl_vector.h:1530
#10 Akonadi::Server::AkonadiServer::connectionDisconnected (this=0x7ffc817195c0) at /usr/src/debug/kf5-akonadi-server-22.12.3-1.fc37.x86_64/src/server/akonadi.cpp:234
#11 0x00007f91f24c8134 in QObject::event (this=0x7ffc817195c0, e=0x7f91b0083f00) at kernel/qobject.cpp:1347
#12 0x00007f91f249d4cb in doNotify (event=0x7f91b0083f00, receiver=0x7ffc817195c0) at kernel/qcoreapplication.cpp:1154
#13 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140
#14 QCoreApplication::notifyInternal2 (receiver=0x7ffc817195c0, event=0x7f91b0083f00) at kernel/qcoreapplication.cpp:1064
#15 0x00007f91f249d6d2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#16 0x00007f91f24a0854 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55f88adb5040) at kernel/qcoreapplication.cpp:1821
#17 0x00007f91f24a0aec in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#18 0x00007f91f24eeb07 in postEventSourceDispatch (s=0x55f88adba730) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007f91f0718c7f in g_main_dispatch (context=0x55f88adb84a0) at ../glib/gmain.c:3454
#20 g_main_context_dispatch (context=0x55f88adb84a0) at ../glib/gmain.c:4172
#21 0x00007f91f076f118 in g_main_context_iterate.constprop.0 (context=0x55f88adb84a0, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4248
#22 0x00007f91f0715f00 in g_main_context_iteration (context=0x55f88adb84a0, may_block=1) at ../glib/gmain.c:4313
#23 0x00007f91f24ee5fa in QEventDispatcherGlib::processEvents (this=0x55f88adb7bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007f91f249bf3a in QEventLoop::exec (this=this@entry=0x7ffc81719430, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007f91f24a4002 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x000055f88a808058 in AkApplicationBase::exec (this=0x7ffc81719590) at /usr/src/debug/kf5-akonadi-server-22.12.3-1.fc37.x86_64/src/shared/akapplication.cpp:107
#27 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 2545) detached]

Reported using DrKonqi
Comment 1 kinghat 2023-04-02 04:48:04 UTC
Application: akonadiserver (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.8-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
ive had this happen twice now where ive caught the moment my laptop screen was turning off and tried to move the mouse with the touchpad. the first time it just froze and i had to restart and this time it said akonadi server crashed when it recovered from a short freeze.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x0000557842ead29b in Akonadi::Server::AkonadiServer::connectionDisconnected() ()
#5  0x00007fba4aac8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#6  0x00007fba4aa9d4cb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#7  0x00007fba4aaa0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#8  0x00007fba4aaeeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#9  0x00007fba48d18c7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#10 0x00007fba48d6f118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#11 0x00007fba48d15f00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007fba4aaee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#13 0x00007fba4aa9bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#14 0x00007fba4aaa4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#15 0x0000557842ea3058 in main ()
[Inferior 1 (process 3357) detached]

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

Reported using DrKonqi
Comment 2 postix 2023-04-10 16:06:54 UTC

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