Bug 453676 - Meeting reminder flood and sometimes kalendarac crashes after login
Summary: Meeting reminder flood and sometimes kalendarac crashes after login
Status: REPORTED
Alias: None
Product: Reminder Daemon
Classification: Frameworks and Libraries
Component: general (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-11 20:48 UTC by Amit Ugol
Modified: 2022-09-22 11:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.78 KB, text/plain)
2022-09-22 11:48 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Ugol 2022-05-11 20:48:00 UTC
Application: kalendarac (5.20.0)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.17.6-gentoo x86_64
Windowing System: X11
Distribution: "Gentoo Base System release 2.8"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
Setup:
I use KDE’s PIM applications for work and I have a lot of meetings. For work we’re using Google's mail and calendar services. Since there are lacking features in the KDE apps, I need to create or edit meetings via the browser and I allow the changes to trickle down, which they do after a while.

Issue:
The issue always happens after I reboot, but not always results in a crash. After I log back in, my desktop is bombarded with reminders for all the meetings whose reminders I did not dismiss before they started. Any reminder that I missed because I was AFK or did not notice will be shown as soon as I log in back after a reboot, all at once, and the sound for the reminder will be played, all at once, per reminder. There can be hundreds of missed reminders in a month.

Reproducibility:
100% of the time.
Crashes about 10%

The crash can be reproduced sometimes.

-- Backtrace:
Application: Reminders (kalendarac), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007fcbc5890edf in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007fcbc58456a2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007fcbc5830469 in __GI_abort () at abort.c:79
#10 0x00007fcbc5cb7d79 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/global/qlogging.cpp:1914
#11 QMessageLogger::fatal (this=this@entry=0x7ffce84cf010, msg=msg@entry=0x7fcbc4cfe1f8 "QWidget: Cannot create a QWidget without QApplication") at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/global/qlogging.cpp:893
#12 0x00007fcbc48d7c6b in QWidgetPrivate::init (this=0x5620e879ff90, parentWidget=0x0, f=...) at /usr/src/debug/dev-qt/qtwidgets-5.15.3/qtbase-everywhere-src-5.15.3/src/widgets/kernel/qwidget.cpp:981
#13 0x00007fcbc4b1c4d4 in QDialog::QDialog (this=this@entry=0x5620e87996e0, parent=parent@entry=0x0, f=..., f@entry=...) at /usr/src/debug/dev-qt/qtwidgets-5.15.3/qtbase-everywhere-src-5.15.3/src/widgets/dialogs/qdialog.cpp:400
#14 0x00007fcbc4fd847e in KMessageBox::sorry (parent=0x0, text=..., caption=..., options=options@entry=...) at /usr/include/qt5/QtCore/qflags.h:120
#15 0x00007fcbc70102d5 in Akonadi::IncidenceChangerPrivate::handleDeleteJobResult (this=0x5620e074fab0, job=<optimized out>) at /usr/src/debug/kde-apps/akonadi-calendar-22.04.0/akonadi-calendar-22.04.0/src/incidencechanger.cpp:329
#16 0x00007fcbc5f0d43e in QObject::event (this=0x5620e074fab0, e=0x5620e3851a30) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qobject.cpp:1314
#17 0x00007fcbc5edfb38 in QCoreApplication::notifyInternal2 (receiver=0x5620e074fab0, event=0x5620e3851a30) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1064
#18 0x00007fcbc5ee2db2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5620e0685180) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1821
#19 0x00007fcbc5f3ab13 in postEventSourceDispatch (s=0x5620e068c9a0) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#20 0x00007fcbc3658fab in g_main_dispatch (context=0x7fcbb8005010) at ../glib-2.72.1/glib/gmain.c:3417
#21 g_main_context_dispatch (context=0x7fcbb8005010) at ../glib-2.72.1/glib/gmain.c:4135
#22 0x00007fcbc3659258 in g_main_context_iterate (context=context@entry=0x7fcbb8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.72.1/glib/gmain.c:4211
#23 0x00007fcbc365930f in g_main_context_iteration (context=0x7fcbb8005010, may_block=1) at ../glib-2.72.1/glib/gmain.c:4276
#24 0x00007fcbc5f3a198 in QEventDispatcherGlib::processEvents (this=0x5620e074ca10, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fcbc5ede523 in QEventLoop::exec (this=this@entry=0x7ffce84cf580, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x00007fcbc5ee6b00 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtcore-5.15.3/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00007fcbc639047c in QGuiApplication::exec () at /usr/src/debug/dev-qt/qtgui-5.15.3/qtbase-everywhere-src-5.15.3/src/gui/kernel/qguiapplication.cpp:1867
#28 0x00005620de967f3e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-apps/akonadi-calendar-22.04.0/akonadi-calendar-22.04.0/reminder-daemon/kalendaracmain.cpp:53
[Inferior 1 (process 1099) detached]

Possible duplicates by query: bug 419428, bug 347564.

Reported using DrKonqi
This report was filed against 'kde' because the product 'kalendarac' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Amit Ugol 2022-09-21 04:30:33 UTC
This is still happening in latest version(s).
Correcting the initial report, even with no reminders, it will crash with the exact error so not sure anymore that it is related to how many reminders I have.

Application: Reminders (kalendarac), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f84892926ff in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f8489243eb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f848922e46a in __GI_abort () at abort.c:79
#10 0x00007f8489890e85 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/global/qlogging.cpp:1914
#11 QMessageLogger::fatal (this=this@entry=0x7ffc06259660, msg=msg@entry=0x7f848877f2b8 "QWidget: Cannot create a QWidget without QApplication") at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/global/qlogging.cpp:893
#12 0x00007f8488357cf7 in QWidgetPrivate::init (this=0x55d40458ac90, parentWidget=0x0, f=...) at /usr/src/debug/dev-qt/qtwidgets-5.15.5-r1/qtbase-everywhere-src-5.15.5/src/widgets/kernel/qwidget.cpp:981
#13 0x00007f848859ca70 in QDialog::QDialog (this=this@entry=0x55d40b538f40, parent=parent@entry=0x0, f=..., f@entry=...) at /usr/src/debug/dev-qt/qtwidgets-5.15.5-r1/qtbase-everywhere-src-5.15.5/src/widgets/dialogs/qdialog.cpp:400
#14 0x00007f8488bd344f in KMessageBox::sorry (parent=0x0, text=..., title=..., options=options@entry=...) at /usr/include/qt5/QtCore/qflags.h:120
#15 0x00007f848aca69fb in Akonadi::IncidenceChangerPrivate::handleDeleteJobResult (this=0x55d4043cb3f0, job=<optimized out>) at /usr/src/debug/kde-apps/akonadi-calendar-22.08.1/akonadi-calendar-22.08.1/src/incidencechanger.cpp:330
#16 0x00007f8489ae82b5 in QObject::event (this=0x55d4043cb3f0, e=0x55d409ac8130) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:1314
#17 0x00007f8489abb258 in QCoreApplication::notifyInternal2 (receiver=0x55d4043cb3f0, event=0x55d409ac8130) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1064
#18 0x00007f8489abe43d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d404307310) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1821
#19 0x00007f8489b16e13 in postEventSourceDispatch (s=0x55d40430eb50) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f848747c258 in g_main_dispatch (context=0x7f847c005010) at ../glib-2.74.0/glib/gmain.c:3444
#21 g_main_context_dispatch (context=context@entry=0x7f847c005010) at ../glib-2.74.0/glib/gmain.c:4162
#22 0x00007f848747c4e8 in g_main_context_iterate (context=context@entry=0x7f847c005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.74.0/glib/gmain.c:4238
#23 0x00007f848747c57c in g_main_context_iteration (context=0x7f847c005010, may_block=1) at ../glib-2.74.0/glib/gmain.c:4303
#24 0x00007f8489b164f6 in QEventDispatcherGlib::processEvents (this=0x55d4043cd850, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f8489ab9c7b in QEventLoop::exec (this=this@entry=0x7ffc06259bd0, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x00007f8489ac20f6 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtcore-5.15.5-r3/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00007f8489f1bbcc in QGuiApplication::exec () at /usr/src/debug/dev-qt/qtgui-5.15.5-r2/qtbase-everywhere-src-5.15.5/src/gui/kernel/qguiapplication.cpp:1867
#28 0x000055d4038a234d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-apps/akonadi-calendar-22.08.1/akonadi-calendar-22.08.1/reminder-daemon/kalendaracmain.cpp:54
[Inferior 1 (process 38713) detached]
Comment 2 Erik Quaeghebeur 2022-09-22 11:48:58 UTC
Created attachment 152330 [details]
New crash information added by DrKonqi

kalendarac (5.20.3) using Qt 5.15.5

- What I was doing when the application crashed:
I was restaring the akonadi server via akonadiconsole

-- Backtrace (Reduced):
#7  0x0000795014e07cd7 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r3/work/qtbase-everywhere-src-5.15.5/src/corelib/global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7fffb4012a00, msg=msg@entry=0x795013ef8198 "QWidget: Cannot create a QWidget without QApplication") at /var/tmp/portage/dev-qt/qtcore-5.15.5-r3/work/qtbase-everywhere-src-5.15.5/src/corelib/global/qlogging.cpp:893
#9  0x0000795013b21d42 in QWidgetPrivate::init (this=<optimized out>, parentWidget=<optimized out>, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/widgets/kernel/qwidget.cpp:981
#10 0x0000795013d413bf in QDialog::QDialog (this=0x639898de1050, parent=0x0, f=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/widgets/dialogs/qdialog.cpp:400
#11 0x00007950141c0ece in KMessageBox::sorry(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libKF5WidgetsAddons.so.5