Bug 486243 - Crash when shift+deleting an event
Summary: Crash when shift+deleting an event
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-28 11:11 UTC by Albert Astals Cid
Modified: 2024-05-06 19:57 UTC (History)
2 users (show)

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 Albert Astals Cid 2024-04-28 11:11:17 UTC
Create an event
Select it with the mouse
Press Shift+delete
korganizer crashes

(gdb) bt
#0  QObject::deleteLater (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2456
#1  0x00007ffff52b9ecc in Akonadi::IncidenceChangerPrivate::handleInvitationsAfterChange (this=this@entry=0x5555558ad240, change=...) at /usr/src/debug/akonadi-calendar/akonadi-calendar-24.02.2/src/incidencechanger.cpp:658
#2  0x00007ffff52bb23b in Akonadi::IncidenceChangerPrivate::handleDeleteJobResult (this=0x5555558ad240, job=<optimized out>) at /usr/src/debug/akonadi-calendar/akonadi-calendar-24.02.2/src/incidencechanger.cpp:358
#3  0x00007ffff5b88454 in QObject::event (this=0x5555558ad240, e=0x555556c9e2a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1446
#4  0x00007ffff6afbfcb in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5555558ad240, e=0x555556c9e2a0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#5  0x00007ffff5b3db38 in QCoreApplication::notifyInternal2 (receiver=0x5555558ad240, event=event@entry=0x555556c9e2a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
#6  0x00007ffff5b3dec4 in QCoreApplication::sendEvent (event=0x555556c9e2a0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1575
#7  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5555555bdc40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1932
#8  0x00007ffff5d86154 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1789
#9  postEventSourceDispatch (s=0x555555664090) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#10 0x00007ffff40aa199 in g_main_dispatch (context=0x7fffcc000f00) at ../glib/glib/gmain.c:3344
#11 0x00007ffff41093bf in g_main_context_dispatch_unlocked (context=0x7fffcc000f00) at ../glib/glib/gmain.c:4152
#12 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffcc000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#13 0x00007ffff40a9712 in g_main_context_iteration (context=0x7fffcc000f00, may_block=1) at ../glib/glib/gmain.c:4282
#14 0x00007ffff5d83e64 in QEventDispatcherGlib::processEvents (this=0x55555568a090, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#15 0x00007ffff5b45cce in QEventLoop::processEvents (flags=..., this=0x7fffffffe000) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#16 QEventLoop::exec (this=0x7fffffffe000, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#17 0x00007ffff5b41738 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#18 0x00007ffff6af851a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#19 0x000055555555defc in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer/korganizer-24.02.2/src/main.cpp:62
Comment 1 Daniel Vrátil 2024-05-06 19:57:20 UTC
Fixed by David in current git master: https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/87