Bug 483364 - akonadiconsole crashes after trying to restart server
Summary: akonadiconsole crashes after trying to restart server
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-03-12 18:03 UTC by Erik Quaeghebeur
Modified: 2024-03-19 17:05 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 Erik Quaeghebeur 2024-03-12 18:03:04 UTC
Application: akonadiconsole (5.24.5 (23.08.5))
 (Compiled from sources)
Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.6.21-gentoo-a x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
I tried to restart the akonadi server from within akonadiconsole, but then it crashed.

Perhaps related: I had run akonadictl fsck before this.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Akonadi-console (akonadiconsole), signal: Segmentation fault

[KCrash Handler]
#4  0x000072871414c181 in AgentConfigModel::~AgentConfigModel (this=0x7286f4007c20, this=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5/src/agentconfigmodel.cpp:20
#5  0x000072871414c259 in AgentConfigModel::~AgentConfigModel (this=0x7286f4007c20, this=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5/src/agentconfigmodel.cpp:21
#6  0x0000728712ebe682 in QObjectPrivate::deleteChildren (this=this@entry=0x5fec46907340) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:2137
#7  0x00007287139a27d6 in QWidget::~QWidget (this=this@entry=0x5fec468f6ed0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidget.cpp:1524
#8  0x0000728713b7878a in QDialog::~QDialog (this=this@entry=0x5fec468f6ed0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/dialogs/qdialog.cpp:426
#9  0x000072871413e1ea in AgentConfigDialog::~AgentConfigDialog (this=0x5fec468f6ed0, this=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5_build/src/libakonadiconsole_autogen/EWIEGA46WW/../../../../akonadiconsole-23.08.5/src/agentconfigdialog.h:15
#10 AgentConfigDialog::~AgentConfigDialog (this=0x5fec468f6ed0, this=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5_build/src/libakonadiconsole_autogen/EWIEGA46WW/../../../../akonadiconsole-23.08.5/src/agentconfigdialog.h:15
#11 0x0000728714141076 in AgentWidget::configureAgentRemote (this=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5/src/agentwidget.cpp:230
#12 0x0000728712ec6b64 in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b11270, r=0x5fec45c7b4f0, this=0x5fec46039cb0) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x5fec46039980, signal_index=4, argv=0x7ffc74b11270) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3925
#14 0x0000728712ec0897 in QMetaObject::activate (sender=sender@entry=0x5fec46039980, m=m@entry=0x728713e90c80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc74b11270) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3985
#15 0x000072871395c642 in QAction::triggered (this=this@entry=0x5fec46039980, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#16 0x000072871395f41f in QAction::activate (this=0x5fec46039980, event=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qaction.cpp:1161
#17 0x0000728713aee8aa in QMenuPrivate::activateCausedStack (this=this@entry=0x5fec46066b70, causedStack=..., action=action@entry=0x5fec46039980, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qmenu.cpp:1384
#18 0x0000728713af68d0 in QMenuPrivate::activateAction (this=0x5fec46066b70, action=0x5fec46039980, action_e=<optimized out>, self=true) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qmenu.cpp:1461
#19 0x00007287139a6fa8 in QWidget::event (this=0x5fec45ec6e20, event=0x7ffc74b11880) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidget.cpp:9045
#20 0x00007287139631ee in QApplicationPrivate::notify_helper (this=this@entry=0x5fec4584bfe0, receiver=receiver@entry=0x5fec45ec6e20, e=e@entry=0x7ffc74b11880) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#21 0x000072871396b8f2 in QApplication::notify (this=<optimized out>, receiver=0x5fec45ec6e20, e=0x7ffc74b11880) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3084
#22 0x0000728712e93a08 in QCoreApplication::notifyInternal2 (receiver=0x5fec45ec6e20, event=0x7ffc74b11880) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#23 0x0000728712e93c0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1474
#24 0x0000728713969bf4 in QApplicationPrivate::sendMouseEvent (receiver=0x5fec45ec6e20, event=event@entry=0x7ffc74b11880, alienWidget=<optimized out>, nativeWidget=0x5fec45ec6e20, buttonDown=buttonDown@entry=0x728713ebf9d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:2622
#25 0x00007287139c1075 in QWidgetWindow::handleMouseEvent (this=this@entry=0x5fec464ee9d0, event=event@entry=0x7ffc74b11b50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:580
#26 0x00007287139c396f in QWidgetWindow::event (this=0x5fec464ee9d0, event=0x7ffc74b11b50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:300
#27 0x00007287139631ee in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5fec464ee9d0, e=0x7ffc74b11b50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#28 0x0000728712e93a08 in QCoreApplication::notifyInternal2 (receiver=0x5fec464ee9d0, event=0x7ffc74b11b50) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#29 0x0000728712e93c0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1474
#30 0x00007287133273ab in QGuiApplicationPrivate::processMouseEvent (e=0x7286fc02d7a0) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qguiapplication.cpp:2285
#31 0x0000728713305c0b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qwindowsysteminterface.cpp:1169
#32 0x0000728702516faa in xcbSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#33 0x00007287113bad22 in ??? () at /usr/lib64/libglib-2.0.so.0
#34 0x00007287113bded7 in ??? () at /usr/lib64/libglib-2.0.so.0
#35 0x00007287113be4fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#36 0x0000728712ee55c6 in QEventDispatcherGlib::processEvents (this=0x5fec45926290, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#37 0x0000728712e9242b in QEventLoop::exec (this=this@entry=0x7ffc74b11eb0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x0000728713af4191 in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x5fec458fa5a0, p=..., action=action@entry=0x0, positionFunction=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x0000728713af42b0 in QMenu::exec (this=this@entry=0x7ffc74b120f0, p=..., action=action@entry=0x0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/widgets/qmenu.cpp:2687
#40 0x00007287141463fb in AgentWidget::showContextMenu (this=0x5fec45c7b4f0, pos=...) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5/src/agentwidget.cpp:453
#41 0x0000728712ec6b64 in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b12240, r=0x5fec45c7b4f0, this=0x5fec4603ed10) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#42 doActivate<false> (sender=0x5fec45c91130, signal_index=6, argv=0x7ffc74b12240) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3925
#43 0x0000728712ec0897 in QMetaObject::activate (sender=sender@entry=0x5fec45c91130, m=m@entry=0x728713e92280 <QWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc74b12240) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qobject.cpp:3985
#44 0x000072871398b675 in QWidget::customContextMenuRequested (this=this@entry=0x5fec45c91130, _t1=...) at .moc/moc_qwidget.cpp:653
#45 0x00007287139a7ce7 in QWidget::event (this=0x5fec45c91130, event=0x7ffc74b123d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidget.cpp:8852
#46 0x00007287139631ee in QApplicationPrivate::notify_helper (this=this@entry=0x5fec4584bfe0, receiver=receiver@entry=0x5fec45c91130, e=e@entry=0x7ffc74b123d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#47 0x000072871396bdcf in QApplication::notify (this=<optimized out>, receiver=0x5fec46025120, e=0x7ffc74b12620) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3246
#48 0x0000728712e93a08 in QCoreApplication::notifyInternal2 (receiver=0x5fec46025120, event=0x7ffc74b12620) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#49 0x0000728712e93a52 in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1079
#50 0x00007287139c0cd6 in QWidgetWindow::handleMouseEvent (this=this@entry=0x5fec463b2460, event=event@entry=0x7ffc74b12930) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:692
#51 0x00007287139c396f in QWidgetWindow::event (this=0x5fec463b2460, event=0x7ffc74b12930) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qwidgetwindow.cpp:300
#52 0x00007287139631ee in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5fec463b2460, e=0x7ffc74b12930) at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:3640
#53 0x0000728712e93a08 in QCoreApplication::notifyInternal2 (receiver=0x5fec463b2460, event=0x7ffc74b12930) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1064
#54 0x0000728712e93c0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qcoreapplication.cpp:1474
#55 0x00007287133273ab in QGuiApplicationPrivate::processMouseEvent (e=0x7286fc023140) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qguiapplication.cpp:2285
#56 0x0000728713305c0b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qwindowsysteminterface.cpp:1169
#57 0x0000728702516faa in xcbSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#58 0x00007287113bad22 in ??? () at /usr/lib64/libglib-2.0.so.0
#59 0x00007287113bded7 in ??? () at /usr/lib64/libglib-2.0.so.0
#60 0x00007287113be4fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#61 0x0000728712ee55c6 in QEventDispatcherGlib::processEvents (this=0x5fec45926290, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#62 0x0000728712e9242b in QEventLoop::exec (this=this@entry=0x7ffc74b12c90, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:69
#63 0x0000728712e9a72d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/include/QtCore/../../src/corelib/global/qflags.h:121
#64 0x000072871331bbbc in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.12-r2/work/qtbase-everywhere-src-5.15.12/src/gui/kernel/qguiapplication.cpp:1870
#65 0x0000728713963165 in QApplication::exec () at /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/kernel/qapplication.cpp:2832
#66 0x00005fec44538e44 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/akonadiconsole-23.08.5/work/akonadiconsole-23.08.5/src/main.cpp:80
[Inferior 1 (process 2606) detached]

Reported using DrKonqi
Comment 1 Nick 2024-03-19 16:52:57 UTC
Hi - thanks for raising this. Can you please provide a full list of commands you issued to cause this, plus any apps installed relating to this? I will then try to duplicate it. Thanks, Nick.
Comment 2 Erik Quaeghebeur 2024-03-19 17:02:43 UTC
(In reply to Nick from comment #1)
> Hi - thanks for raising this. Can you please provide a full list of commands
> you issued to cause this, plus any apps installed relating to this? I will
> then try to duplicate it. Thanks, Nick.

I cannot provide more info than what is in the original report. If the backtrace doesn't point to a specific code path, I guess this report cannot be followed up.
Comment 3 Nick 2024-03-19 17:05:49 UTC
OK - understood. It would be helpful if someone can duplicate this to allow the devs to reliably reproduce the issue at will. I'll leave this here for now in case anyone with more expertise than me can take a look. Thanks.