Bug 455886 - Reminder crashes when an event is confirmed
Summary: Reminder crashes when an event is confirmed
Status: RESOLVED FIXED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-24 12:45 UTC by ilirius
Modified: 2022-08-25 13:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.47 KB, text/plain)
2022-07-13 07:40 UTC, Dennis Schridde
Details
New crash information added by DrKonqi (3.45 KB, text/plain)
2022-08-24 08:28 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilirius 2022-06-24 12:45:30 UTC
Application: kalendarac (5.20.2)

Qt Version: 5.15.5
Frameworks Version: 5.95.0
Operating System: Linux 5.15.49-1-lts x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.25.1 [KCrashBackend]

-- Information about the crash:
The first time notifications are displayed, the application crashes when it shows you confirming the reading of the event. When you click on the cross, it behaves normally.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fb9db40d010 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fb9db2926c4 in QString::toUtf8_helper(QString const&) () from /usr/lib/libQt5Core.so.5
#6  0x00007fb9dbd5f280 in KConfigBase::isGroupImmutable(QString const&) const () from /usr/lib/libKF5ConfigCore.so.5
#7  0x00007fb9dbd699e4 in KConfigGroup::KConfigGroup(KConfigBase*, QString const&) () from /usr/lib/libKF5ConfigCore.so.5
#8  0x00005648c9b830b9 in ?? ()
#9  0x00007fb9db3ef621 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007fb9dc226bf8 in KNotification::close() () from /usr/lib/libKF5Notifications.so.5
#11 0x00007fb9db3ef621 in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007fb9dc223d04 in KNotificationPlugin::finished(KNotification*) () from /usr/lib/libKF5Notifications.so.5
#13 0x00007fb9dc23bb4a in ?? () from /usr/lib/libKF5Notifications.so.5
#14 0x00007fb9db3ef621 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007fb9dc2482aa in ?? () from /usr/lib/libKF5Notifications.so.5
#16 0x00007fb9dc248ce3 in ?? () from /usr/lib/libKF5Notifications.so.5
#17 0x00007fb9db6b6ecf in ?? () from /usr/lib/libQt5DBus.so.5
#18 0x00007fb9db3e2830 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#19 0x00007fb9db3bef38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007fb9db3bfa33 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#21 0x00007fb9db405818 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x00007fb9d8d99c6b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007fb9d8df0001 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007fb9d8d97392 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007fb9db40964c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#26 0x00007fb9db3b76ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#27 0x00007fb9db3c21e9 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#28 0x00005648c9b8055a in ?? ()
#29 0x00007fb9dacf8290 in ?? () from /usr/lib/libc.so.6
#30 0x00007fb9dacf834a in __libc_start_main () from /usr/lib/libc.so.6
#31 0x00005648c9b80f15 in ?? ()
[Inferior 1 (process 65823) detached]

Reported using DrKonqi
Comment 1 Bug Janitor Service 2022-06-30 14:40:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/30
Comment 2 David Faure 2022-06-30 14:55:36 UTC
Git commit 26694e8c82562eac2fdbdb6fa85f56b27fca82a0 by David Faure.
Committed on 30/06/2022 at 14:32.
Pushed by dfaure into branch 'release/22.04'.

Fix crash when clicking on dismiss, sometimes.

client->dismiss(this) ends up setting client to nullptr, so
the disconnect() warns about null receiver and doesn't actually
disconnect.

(This is similar to 24f3853f14ec in master)
Related: bug 455472, bug 455369, bug 455258, bug 455583

M  +1    -1    reminder-daemon/alarmnotification.cpp

https://invent.kde.org/pim/akonadi-calendar/commit/26694e8c82562eac2fdbdb6fa85f56b27fca82a0
Comment 3 Dennis Schridde 2022-07-13 07:40:35 UTC
Created attachment 150577 [details]
New crash information added by DrKonqi

kalendarac (5.20.3) using Qt 5.15.5

After login I receive a bunch of calendar event notifications. When I click "dismiss" on them, kalendarac crashes. When I restart kalendarac through drkonqi, the notifications appear again. When I click "dismiss" again, kalendarac does not appear to crash again.

-- Backtrace (Reduced):
#4  0x00007feacc46c910 in QUtf8::convertFromUnicode(QChar const*, int) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feacc2e39d6 in QString::toUtf8_helper(QString const&) () from /usr/lib64/libQt5Core.so.5
#6  0x00007feaccda3e8b in KConfigBase::isGroupImmutable(QString const&) const () from /usr/lib64/libKF5ConfigCore.so.5
#7  0x00007feaccdab976 in KConfigGroup::KConfigGroup(KConfigBase*, QString const&) () from /usr/lib64/libKF5ConfigCore.so.5
#8  0x0000559cbe84d860 in KalendarAlarmClient::removeNotification(AlarmNotification*) ()
Comment 4 Dennis Schridde 2022-07-21 08:58:31 UTC
The problem has vanished for me.

Operating System: Gentoo Linux 2.8
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.12-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD Radeon Vega 11 Graphics
Comment 5 Dennis Schridde 2022-08-24 08:28:34 UTC
Created attachment 151540 [details]
New crash information added by DrKonqi

kalendarac (5.20.3) using Qt 5.15.5

After login I received a bunch of event notifications. After clicking "dismiss" on the first or second, I saw the crash report symbol in the systray.

-- Backtrace (Reduced):
#4  0x00007f54345bc850 in QUtf8::convertFromUnicode(QChar const*, int) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f5434433135 in QString::toUtf8_helper(QString const&) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f5434eefe8b in KConfigBase::isGroupImmutable(QString const&) const () from /usr/lib64/libKF5ConfigCore.so.5
#7  0x00007f5434ef7976 in KConfigGroup::KConfigGroup(KConfigBase*, QString const&) () from /usr/lib64/libKF5ConfigCore.so.5
#8  0x000056092d4f4860 in KalendarAlarmClient::removeNotification(AlarmNotification*) ()
Comment 6 Dennis Schridde 2022-08-25 13:25:06 UTC
For two reboots in a row I did not see the crash anymore, after I updated to:
Operating System: Gentoo Linux 2.8
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.3-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD Radeon Vega 11 Graphics

KDE Apps is not shown here, but was updated to 22.08.0.