Bug 457120 - Reminder Daemon crashing when Dismissing after startup
Summary: Reminder Daemon crashing when Dismissing after startup
Status: RESOLVED FIXED
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-07-25 15:14 UTC by Derek Otto
Modified: 2022-09-05 18:41 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (2.83 KB, text/plain)
2022-09-05 17:18 UTC, Garry Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Otto 2022-07-25 15:14:56 UTC
Application: kalendarac (5.20.3)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.96.0
Operating System: Linux 5.18.14_custom x86_64
Windowing System: X11
Distribution: Slackware 15.0 x86_64
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
This has been a consistent issue when first loggin into my desktop session. Reminders for previous events pop-up and when I Dismiss the first one, the KDE Reminder daemon crashes. Reminders still seem to work afterwards, but the first Dismiss seems to cause a crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Reminders (kalendarac), signal: Segmentation fault

[KCrash Handler]
#4  0x00007b3b28f943b3 in _dbus_header_get_byte_order () at /usr/lib64/libdbus-1.so.3
#5  0x00007b3b28f945b9 in  () at /usr/lib64/libdbus-1.so.3
#6  0x00007b3b28f8f135 in dbus_connection_send_with_reply () at /usr/lib64/libdbus-1.so.3
#7  0x00007b3b2ab54fcd in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007b3b2a8b9bae in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007b3b2a88f157 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007b3b2a891f17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007b3b2a8e3603 in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007b3b26cc55fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#13 0x00007b3b26cc5868 in  () at /usr/lib64/libglib-2.0.so.0
#14 0x00007b3b26cc590f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#15 0x00007b3b2a8e2cd4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#16 0x00007b3b2a88dd0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007b3b2a6ae39e in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#18 0x00007b3b2ab48447 in  () at /usr/lib64/libQt5DBus.so.5
#19 0x00007b3b2a6af3eb in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007b3b295aae45 in start_thread () at /lib64/libpthread.so.0
#21 0x00007b3b2a18f4af in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7b3b246ae640 (LWP 4612) "QXcbEventQueue"):
#1  0x00007b3b290adcc2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007b3b290afd4a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007b3b247d34c0 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007b3b2a6af3eb in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007b3b295aae45 in start_thread () at /lib64/libpthread.so.0
#6  0x00007b3b2a18f4af in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7b3b249465c0 (LWP 4591) "kalendarac"):
#1  0x00007b3b2963b050 in  () at /usr/lib64/libKF5Crash.so.5
#2  0x00007b3b2963ba46 in KCrash::defaultCrashHandler(int) () at /usr/lib64/libKF5Crash.so.5
#3  0x00007b3b2a0bf8d0 in <signal handler called> () at /lib64/libc.so.6
#4  0x00007b3b2a8e5b88 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007b3b2a73eb7d in QString::toUtf8_helper(QString const&) () at /usr/lib64/libQt5Core.so.5
#6  0x00007b3b2bb2a39f in KConfigBase::isGroupImmutable(QString const&) const () at /usr/lib64/libKF5ConfigCore.so.5
#7  0x00007b3b2bb312d8 in KConfigGroup::KConfigGroup(KConfigBase*, QString const&) () at /usr/lib64/libKF5ConfigCore.so.5
#8  0x000000000040a3e2 in  ()
#9  0x000000000040a6da in  ()
#10 0x00007b3b2a8c344d in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007b3b2c583437 in KNotification::close() () at /usr/lib64/libKF5Notifications.so.5
#12 0x00007b3b2a8c344d in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007b3b2c57e68f in KNotificationPlugin::finished(KNotification*) () at /usr/lib64/libKF5Notifications.so.5
#14 0x00007b3b2c59bde4 in  () at /usr/lib64/libKF5Notifications.so.5
#15 0x00007b3b2a8c344d in  () at /usr/lib64/libQt5Core.so.5
#16 0x00007b3b2c5a90cf in  () at /usr/lib64/libKF5Notifications.so.5
#17 0x00007b3b2c5a977b in  () at /usr/lib64/libKF5Notifications.so.5
#18 0x00007b3b2ab53deb in  () at /usr/lib64/libQt5DBus.so.5
#19 0x00007b3b2a8b9bae in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007b3b2a88f18a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007b3b2a891f17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007b3b2a8e3603 in  () at /usr/lib64/libQt5Core.so.5
#23 0x00007b3b26cc55fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007b3b26cc5868 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007b3b26cc590f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007b3b2a8e2cd4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007b3b2a88dd0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007b3b2a89595c in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x0000000000408de9 in  ()
#30 0x00007b3b2a0a803d in __libc_start_main () at /lib64/libc.so.6
#31 0x0000000000408f5a in  ()
[Inferior 1 (process 4591) detached]

The reporter indicates this bug may be a duplicate of or related to bug 456883, bug 456157, bug 456130, bug 455902, bug 455800, bug 453395.

Reported using DrKonqi
Comment 1 Garry Williams 2022-09-05 17:18:49 UTC
Created attachment 151851 [details]
New crash information added by DrKonqi

kalendarac (5.20.3) using Qt 5.15.5

Dismiss reminder after login and crash.  Also, dismiss reminder after long idle and several reminders have accumulated, then sometimes crash.  This backtrace  is example of the latter.

-- Backtrace (Reduced):
#4  0x000055bf5a2711d1 in KalendarAlarmClient::dismiss(AlarmNotification*) ()
#5  0x00007feef89388b6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007feef97c9a67 in KNotification::close() () from /lib64/libKF5Notifications.so.5
#7  0x00007feef89388b6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007feef97c6c33 in KNotificationPlugin::finished(KNotification*) () from /lib64/libKF5Notifications.so.5
Comment 2 Carl Schwan 2022-09-05 17:21:45 UTC
Please update kalendar to the latest version. This bugs were fixed in kalendarac 5.21.1
Comment 3 Garry Williams 2022-09-05 18:41:10 UTC
(In reply to Carl Schwan from comment #2)
> Please update kalendar to the latest version. This bugs were fixed in
> kalendarac 5.21.1

Thank you for looking at this, Carl.  But my system doesn't have kalendar or kalendarac installed.  Here's what it looks like here:

$ rpm -qa|grep kalen
$ rpm -qa|grep calen
kf5-kcalendarcore-5.96.0-2.fc37.x86_64
kf5-kcalendarutils-22.04.3-2.fc37.x86_64
kf5-akonadi-calendar-22.04.3-2.fc37.x86_64
kf5-calendarsupport-22.04.3-2.fc37.x86_64
akonadi-calendar-tools-22.04.3-2.fc37.x86_64
$

I get no updates to any of these packages when I update; I am enabling the updates-testing repo.

Now it may be significant that I am running f37, which is not yet released.  Also, it may be that I identified the wrong bug to go with my crashes.

(I won't change the bug status until we get this sorted.  Please advise me how to proceed.)