Bug 456130 - Kalendar notification crashed when dismiss the event in notification
Summary: Kalendar notification crashed when dismiss the event in notification
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-06-29 13:54 UTC by Robby Engelmann
Modified: 2022-08-11 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.68 KB, text/plain)
2022-08-11 14:04 UTC, Dipta Biswas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2022-06-29 13:54:27 UTC
Application: kalendarac (5.20.43)
 (Compiled from sources)
Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.6-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.80 [KCrashBackend]

-- Information about the crash:
Kalendar notification crashes each time when clicking  "dismiss"  in notification pop-up using current master git snapshots

The crash can be reproduced every time.

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

[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=<optimized out>, this=<optimized out>, this=<optimized out>, __m=<optimized out>) at /usr/include/c++/12/bits/atomic_base.h:486
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=..., _q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x559d3ef2e) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#7  QWeakPointer<QObject>::internalData (this=0x559d3ef2ab80) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:698
#8  QPointer<KNotification>::data (this=0x559d3ef2ab80) at /usr/include/qt5/QtCore/qpointer.h:77
#9  QPointer<KNotification>::operator KNotification* (this=0x559d3ef2ab80) at /usr/include/qt5/QtCore/qpointer.h:83
#10 operator() (action=<optimized out>, __closure=0x559d3ef1fbb0) at /usr/src/debug/akonadi-calendar-22.07.70git.20220627T135555~64e894c-ku.23.2.x86_64/reminder-daemon/alarmnotification.cpp:60
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<unsigned int>, void, AlarmNotification::send(KalendarAlarmClient*, const KCalendarCore::Incidence::Ptr&)::<lambda(unsigned int)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<AlarmNotification::send(KalendarAlarmClient*, const KCalendarCore::Incidence::Ptr&)::<lambda(unsigned int)>, 1>::call<QtPrivate::List<unsigned int>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<AlarmNotification::send(KalendarAlarmClient*, const KCalendarCore::Incidence::Ptr&)::<lambda(unsigned int)>, 1, QtPrivate::List<unsigned int>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x559d3ef1fba0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007f489ec94e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffd1fa0bef0, r=0x7ffd1fa0c9c0, this=0x559d3ef1fba0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x559d3ff2d2e0, signal_index=5, argv=0x7ffd1fa0bef0) at kernel/qobject.cpp:3886
#16 0x00007f489fbe1871 in KNotification::activated(unsigned int) () from /lib64/libKF5Notifications.so.5
#17 0x00007f489fbe8858 in ?? () from /lib64/libKF5Notifications.so.5
#18 0x00007f489ec94e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffd1fa0c090, r=0x7f489fc1b060, this=0x559d3fcebec0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x559d3fceb590, signal_index=4, argv=0x7ffd1fa0c090) at kernel/qobject.cpp:3886
#20 0x00007f489fbe1b68 in KNotificationPlugin::actionInvoked(int, int) () from /lib64/libKF5Notifications.so.5
#21 0x00007f489fbf996d in ?? () from /lib64/libKF5Notifications.so.5
#22 0x00007f489ec94e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffd1fa0c280, r=0x559d3fceb590, this=0x559d408efe00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x559d3fceb5c8, signal_index=3, argv=0x7ffd1fa0c280) at kernel/qobject.cpp:3886
#24 0x00007f489fc044e5 in ?? () from /lib64/libKF5Notifications.so.5
#25 0x00007f489fc04f83 in ?? () from /lib64/libKF5Notifications.so.5
#26 0x00007f489ef6956b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#27 0x00007f489ec89760 in QObject::event (this=0x559d3fceb5c8, e=0x7f488c017510) at kernel/qobject.cpp:1314
#28 0x00007f489ec5dfb8 in QCoreApplication::notifyInternal2 (receiver=0x559d3fceb5c8, event=0x7f488c017510) at kernel/qcoreapplication.cpp:1064
#29 0x00007f489ec60f51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559d3edf8d50) at kernel/qcoreapplication.cpp:1821
#30 0x00007f489ecb5c53 in postEventSourceDispatch (s=0x559d3ee202b0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f489c68fea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007f489c690258 in ?? () from /lib64/libglib-2.0.so.0
#33 0x00007f489c6902ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007f489ecb5456 in QEventDispatcherGlib::processEvents (this=0x559d3ee295b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f489ec5ca2b in QEventLoop::exec (this=this@entry=0x7ffd1fa0c7e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007f489ec64b96 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00007f489f145e0c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#38 0x0000559d3e32d625 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-calendar-22.07.70git.20220627T135555~64e894c-ku.23.2.x86_64/reminder-daemon/kalendaracmain.cpp:54
[Inferior 1 (process 2318) detached]

Reported using DrKonqi
Comment 1 Carl Schwan 2022-06-29 14:02:23 UTC
should be fixed with https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/28, merged 30 min ago
Comment 2 Dipta Biswas 2022-08-11 14:04:09 UTC
Created attachment 151249 [details]
New crash information added by DrKonqi

kalendarac (5.20.3) using Qt 5.15.5

Reproduced on
Operating System: EndeavourOS
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.16-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 2 × AMD E2-9000e RADEON R2, 4 COMPUTE CORES 2C+2G
Memory: 3.7 GiB of RAM
Graphics Processor: AMD STONEY
Manufacturer: HP
Product Name: HP Laptop 14-bw0xx

-- Backtrace (Reduced):
#4  std::__atomic_base<int>::load (__m=<optimized out>, this=<optimized out>, this=<optimized out>, __m=<optimized out>) at /usr/include/c++/12.1.0/bits/atomic_base.h:486
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=..., _q_value=...) at /usr/include/qt/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qbasicatomic.h:107
#7  QWeakPointer<QObject>::internalData (this=0x55b4020a3330) at /usr/include/qt/QtCore/qsharedpointer_impl.h:698
#8  QPointer<KNotification>::data (this=0x55b4020a3330) at /usr/include/qt/QtCore/qpointer.h:77