<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>453990</bug_id>
          
          <creation_ts>2022-05-18 15:08:10 +0000</creation_ts>
          <short_desc>Crash when restarting the akonadi server</short_desc>
          <delta_ts>2023-04-10 16:07:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>server</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>450217</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Erik Quaeghebeur">bugs.kde.org</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>postix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2124416</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Quaeghebeur">bugs.kde.org</who>
    <bug_when>2022-05-18 15:08:10 +0000</bug_when>
    <thetext>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&lt;Akonadi::Server::Connection&gt;::operator() (__ptr=0x110, this=&lt;optimized out&gt;) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/unique_ptr.h:79
#5  std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt;::~unique_ptr (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) 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&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt;::destroy&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt; (__p=&lt;optimized out&gt;, 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&lt;std::allocator&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt; &gt;::destroy&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt; (__p=&lt;optimized out&gt;, __a=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/alloc_traits.h:535
#8  std::vector&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt;, std::allocator&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt; &gt;::_M_erase (__position=std::unique_ptr&lt;Akonadi::Server::Connection&gt; = {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&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt;, std::allocator&lt;std::unique_ptr&lt;Akonadi::Server::Connection, std::default_delete&lt;Akonadi::Server::Connection&gt; &gt; &gt; &gt;::erase (__position=std::unique_ptr&lt;Akonadi::Server::Connection&gt; = {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=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2221770</commentid>
    <comment_count>1</comment_count>
    <who name="postix">postix</who>
    <bug_when>2023-04-10 16:07:34 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 450217 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>