Bug 453990 - Crash when restarting the akonadi server
Summary: Crash when restarting the akonadi server
Status: RESOLVED DUPLICATE of bug 450217
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-18 15:08 UTC by Erik Quaeghebeur
Modified: 2023-04-10 16:07 UTC (History)
1 user (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 Erik Quaeghebeur 2022-05-18 15:08:10 UTC
Application: akonadiserver (5.19.3 (21.12.3))
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.32-gentoo-r1-a x86_64
Windowing System: X11
Distribution: Gentoo/Linux
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Akonadi seemed stalled (KMail did not refresh when requesting one). So I restarted it using akonadiconsole. That caused this crash.

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=0x110, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/unique_ptr.h:79
#5  std::unique_ptr<Akonadi::Server::Connection, std::default_delete<Akonadi::Server::Connection> >::~unique_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/unique_ptr.h:361
#6  __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=0x7fffdec49b18) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/ext/new_allocator.h:168
#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/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/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=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x5ec11bfabce0}, this=0x7fffdec49b18) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/vector.tcc:177
#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=std::unique_ptr<Akonadi::Server::Connection> = {get() = 0x5ec11bfabce0}, this=0x7fffdec49b18) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/stl_vector.h:1431
#10 Akonadi::Server::AkonadiServer::connectionDisconnected (this=0x7fffdec49a90) at /var/tmp/portage/kde-apps/akonadi-21.12.3/work/akonadi-21.12.3/src/server/akonadi.cpp:234
#11 0x0000729492fdfa16 in QObject::event (this=0x7fffdec49a90, e=0x5ec11bfb20d0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qobject.cpp:1314
#12 0x0000729492fb4105 in doNotify (event=0x5ec11bfb20d0, receiver=0x7fffdec49a90) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1154
#13 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1140
#14 QCoreApplication::notifyInternal2 (receiver=0x7fffdec49a90, event=0x5ec11bfb20d0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1064
#15 0x0000729492fb77a5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5ec11bfa5da0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1821
#16 0x0000729493006853 in postEventSourceDispatch (s=0x5ec11bfab2a0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#17 0x000072949157616b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x0000729491576428 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007294915764df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007294930062e4 in QEventDispatcherGlib::processEvents (this=0x5ec11bfa8710, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#21 0x0000729492fb2b2b in QEventLoop::exec (this=this@entry=0x7fffdec49970, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x0000729492fbb15d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00005ec11affbf85 in AkApplicationBase::exec (this=this@entry=0x7fffdec49a60) at /var/tmp/portage/kde-apps/akonadi-21.12.3/work/akonadi-21.12.3/src/shared/akapplication.cpp:109
#24 0x00005ec11ae8696e in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-21.12.3/work/akonadi-21.12.3/src/server/main.cpp:65
[Inferior 1 (process 12435) detached]

Possible duplicates by query: bug 453753, bug 453457, bug 453442, bug 453371, bug 453237.

Reported using DrKonqi
Comment 1 postix 2023-04-10 16:07:34 UTC

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