Bug 455258 - Reminders crashed while suspended
Summary: Reminders crashed while suspended
Status: RESOLVED FIXED
Alias: None
Product: Reminder Daemon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.20.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-14 15:16 UTC by fq3mqr6i
Modified: 2022-06-30 14:55 UTC (History)
0 users

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 fq3mqr6i 2022-06-14 15:16:18 UTC
Application: kalendarac (5.20.2)

Qt Version: 5.15.2
Frameworks Version: 5.94.0
Operating System: Linux 5.18.2-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Reminders was working when the computer automatically suspended, and had crashed when it resumed. Calibre and Sylpheed were the only other programs open.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  _mm_packus_epi16(long long __vector(2), long long __vector(2)) (__B=<error reading variable: Cannot access memory at address 0x5620c89cb13f>, __A=<error reading variable: Cannot access memory at address 0x5620c89cb12f>) at /usr/lib64/gcc/x86_64-suse-linux/12/include/emmintrin.h:1000
#5  simdEncodeAscii (end=<optimized out>, src=<optimized out>, nextAscii=<optimized out>, dst=<optimized out>) at codecs/qutfcodec.cpp:90
#6  QUtf8::convertFromUnicode (uc=<optimized out>, len=32559) at codecs/qutfcodec.cpp:383
#7  0x00007f2fedbd6785 in qt_convert_to_utf8 (str=...) at text/qstring.cpp:5376
#8  QString::toUtf8_helper (str=...) at text/qstring.cpp:5368
#9  0x00007f2fee7f549b in QString::toUtf8() const & (this=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:684
#10 KConfigBase::isGroupImmutable (this=0x7ffed35a0d30, aGroup=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfigbase.cpp:83
#11 0x00007f2fee7ff76f in KConfigGroup::KConfigGroup (this=<optimized out>, master=<optimized out>, _group=..., this=<optimized out>, master=<optimized out>, _group=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:471
#12 0x000055bb59b10af5 in KalendarAlarmClient::removeNotification (this=0x7ffed35a1860, notification=0x55bb5ce52b50) at /usr/src/debug/akonadi-calendar-22.04.2-1.1.x86_64/reminder-daemon/kalendaralarmclient.cpp:181
#13 KalendarAlarmClient::dismiss (this=0x7ffed35a1860, notification=0x55bb5ce52b50) at /usr/src/debug/akonadi-calendar-22.04.2-1.1.x86_64/reminder-daemon/kalendaralarmclient.cpp:118
#14 0x00007f2fedd6ddef in QtPrivate::QSlotObjectBase::call (a=0x7ffed35a0e20, r=0x7ffed35a1860, this=0x55bb5cef3f50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x55bb5ce71600, signal_index=9, argv=0x7ffed35a0e20) at kernel/qobject.cpp:3886
#16 0x00007f2fedd670cf in QMetaObject::activate (sender=sender@entry=0x55bb5ce71600, m=m@entry=0x7f2feecee6a0, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#17 0x00007f2feecb6903 in KNotification::closed (this=this@entry=0x55bb5ce71600) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/build/src/KF5Notifications_autogen/EWIEGA46WW/moc_knotification.cpp:582
#18 0x00007f2feecb9817 in KNotification::textChanged (this=0x55bb5ce71600) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/src/knotification.cpp:358
#19 0x00007f2fedd6ddef in QtPrivate::QSlotObjectBase::call (a=0x7ffed35a0f50, r=0x7f2feecf0060 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, this=0x55bb5cfb2fe0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x55bb5cf84d70, signal_index=3, argv=0x7ffed35a0f50) at kernel/qobject.cpp:3886
#21 0x00007f2fedd670cf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2feecee620 <KNotificationPlugin::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffed35a0f50) at kernel/qobject.cpp:3946
#22 0x00007f2feecb6aef in KNotificationPlugin::finished (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/build/src/KF5Notifications_autogen/EWIEGA46WW/moc_knotificationplugin.cpp:173
#23 0x00007f2feeccd8c1 in NotifyByPopup::onNotificationClosed (this=0x55bb5cf84d70, dbus_id=<optimized out>, reason=2) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/src/notifybypopup.cpp:150
#24 0x00007f2fedd6ddef in QtPrivate::QSlotObjectBase::call (a=0x7ffed35a1120, r=0x55bb5cf84d70, this=0x55bb5cee4540) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false> (sender=0x55bb5cf84da8, signal_index=5, argv=0x7ffed35a1120) at kernel/qobject.cpp:3886
#26 0x00007f2fedd670cf in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffed35a1120) at kernel/qobject.cpp:3946
#27 0x00007f2feecd95f9 in OrgFreedesktopNotificationsInterface::NotificationClosed (_t2=<optimized out>, _t1=<optimized out>, this=<optimized out>) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/build/src/notifications_interface.moc:287
#28 OrgFreedesktopNotificationsInterface::qt_static_metacall (_o=_o@entry=0x55bb5cf84da8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=_a@entry=0x7ffed35a1270) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/build/src/notifications_interface.moc:148
#29 0x00007f2feecd9fe3 in OrgFreedesktopNotificationsInterface::qt_metacall (this=0x55bb5cf84da8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffed35a1270) at /usr/src/debug/knotifications-5.94.0-1.1.x86_64/build/src/notifications_interface.moc:242
#30 0x00007f2fee03e66b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#31 0x00007f2fedd62660 in QObject::event (this=0x55bb5cf84da8, e=0x7f2fd801b280) at kernel/qobject.cpp:1314
#32 0x00007f2fedd36988 in QCoreApplication::notifyInternal2 (receiver=0x55bb5cf84da8, event=0x7f2fd801b280) at kernel/qcoreapplication.cpp:1064
#33 0x00007f2fedd39921 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55bb5b2cda90) at kernel/qcoreapplication.cpp:1821
#34 0x00007f2fedd8eec3 in postEventSourceDispatch (s=0x55bb5b483070) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f2feb76dea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f2feb76e258 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00007f2feb76e2ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f2fedd8e5a6 in QEventDispatcherGlib::processEvents (this=0x55bb5b486400, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f2fedd353fb in QEventLoop::exec (this=this@entry=0x7ffed35a1680, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f2fedd3d566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x000055bb59b0e4d5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-calendar-22.04.2-1.1.x86_64/reminder-daemon/kalendaracmain.cpp:54
[Inferior 1 (process 2350) detached]

Reported using DrKonqi
Comment 1 Bug Janitor Service 2022-06-30 14:40:11 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:28 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 455886, bug 455583

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

https://invent.kde.org/pim/akonadi-calendar/commit/26694e8c82562eac2fdbdb6fa85f56b27fca82a0