Bug 463222 - kalendarac crashes when restarting Akonadi
Summary: kalendarac crashes when restarting Akonadi
Status: REPORTED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-19 07:22 UTC by Erik Quaeghebeur
Modified: 2023-02-27 16:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.02 KB, text/plain)
2023-02-27 16:30 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2022-12-19 07:22:11 UTC
Application: kalendarac (5.21.3)
 (Compiled from sources)
Qt Version: 5.15.7
Frameworks Version: 5.99.0
Operating System: Linux 5.15.80-gentoo-a x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
Akonadi sometimes needs to be restarted (e.g., due to some resource being stuck). I do this using the menu option in akonadiconsole. Often when I do so, kalendarac crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Herinneringen (kalendarac), signal: Aborted

[KCrash Handler]
#4  0x00007c35d037ff9c in ?? () from /lib64/libc.so.6
#5  0x00007c35d0332b62 in raise () from /lib64/libc.so.6
#6  0x00007c35d031d471 in abort () from /lib64/libc.so.6
#7  0x00007c35d078dcf7 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7fff55921100, msg=msg@entry=0x7c35cf897198 "QWidget: Cannot create a QWidget without QApplication") at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/global/qlogging.cpp:893
#9  0x00007c35cf4c0d32 in QWidgetPrivate::init (this=0x7c35c105a970, parentWidget=0x0, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.7/work/qtbase-everywhere-src-5.15.7/src/widgets/kernel/qwidget.cpp:983
#10 0x00007c35cf6e05af in QDialog::QDialog (this=0x5d2c4a3c77f0, parent=0x0, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.7/work/qtbase-everywhere-src-5.15.7/src/widgets/dialogs/qdialog.cpp:400
#11 0x00007c35cfb630be in KMessageBox::sorry(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libKF5WidgetsAddons.so.5
#12 0x00007c35d190ea1c in Akonadi::IncidenceChangerPrivate::handleDeleteJobResult (this=0x5d2c46f20ec0, job=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-calendar-22.08.3/work/akonadi-calendar-22.08.3/src/incidencechanger.cpp:330
#13 0x00007c35d09a9f46 in QObject::event (this=0x5d2c46f20ec0, e=0x5d2c4bd612d0) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qobject.cpp:1347
#14 0x00007c35d097e318 in QCoreApplication::notifyInternal2 (receiver=0x5d2c46f20ec0, event=0x5d2c4bd612d0) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qcoreapplication.cpp:1064
#15 0x00007c35d09819a5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5d2c46dc33e0) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qcoreapplication.cpp:1821
#16 0x00007c35d09d1013 in postEventSourceDispatch (s=0x5d2c46f082d0) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#17 0x00007c35ce31e15b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007c35ce31e418 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007c35ce31e4cf in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007c35d09d0aa4 in QEventDispatcherGlib::processEvents (this=0x5d2c46f079e0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#21 0x00007c35d097ccfb in QEventLoop::exec (this=this@entry=0x7fff55921640, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007c35d098535d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.7/work/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00007c35d0dff19c in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.7/work/qtbase-everywhere-src-5.15.7/src/gui/kernel/qguiapplication.cpp:1870
#24 0x00005d2c45285178 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-calendar-22.08.3/work/akonadi-calendar-22.08.3/reminder-daemon/kalendaracmain.cpp:54
[Inferior 1 (process 1263492) detached]

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

Reported using DrKonqi
Comment 1 Erik Quaeghebeur 2023-02-27 16:30:38 UTC
Created attachment 156794 [details]
New crash information added by DrKonqi

kalendarac (5.21.3) using Qt 5.15.8

I restarted Akonadi and then the reminder app crashed

-- Backtrace (Reduced):
#7  0x0000718694e91d6b in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7ffff6840ed0, msg=msg@entry=0x718693f2f258 "QWidget: Cannot create a QWidget without QApplication") at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/global/qlogging.cpp:893
#9  0x0000718693b57cad in QWidgetPrivate::init (this=0x5b1fb3876d30, parentWidget=0x0, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:983
#10 0x0000718693d78c90 in QDialog::QDialog (this=0x5b1fad64b9d0, parent=0x0, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:679
#11 0x00007186942c49df in KMessageBox::sorry(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libKF5WidgetsAddons.so.5