Bug 500924

Summary: Plasmashell crashes in CalendarEvents::EventData::type() while switching windows
Product: [Plasma] plasmashell Reporter: Magne Djupvik <magnedj>
Component: Calendar widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kdedev, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/140740/events/ecbd2613c4da4c25baba2da2b1edba6c/
Attachments: New crash information added by DrKonqi

Description Magne Djupvik 2025-03-01 21:16:44 UTC
Application: plasmashell (6.3.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.4-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.3.2 [CoredumpBackend]

-- Information about the crash:
I kept changing windows while trying to test calendar syncing in Kontact, and got a Plasmashell crash while doing so. Not sure if relevant or not, but I submit this and hope it's somewhat useful.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  0x00007f2ac09894b3 in CalendarEvents::EventData::type (this=this@entry=0x55a52a3e9498) at /usr/include/qt6/QtCore/qshareddata.h:44
#6  0x00007f2ac09b0963 in operator() (__closure=<synthetic pointer>, a=..., b=...) at /usr/src/debug/plasma-workspace-6.3.2/components/calendar/daysmodel.cpp:343
#13 DaysModel::eventsForDate (this=<optimized out>, date=<optimized out>) at /usr/src/debug/plasma-workspace-6.3.2/components/calendar/daysmodel.cpp:343
#14 DaysModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-workspace-6.3.2/build/components/calendar/calendarplugin_autogen/include/moc_daysmodel.cpp:175
#15 0x00007f2ac09b1573 in DaysModel::qt_metacall (this=0x55a526b166c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff9b05d668) at /usr/src/debug/plasma-workspace-6.3.2/build/components/calendar/calendarplugin_autogen/include/moc_daysmodel.cpp:224


Reported using DrKonqi
Comment 1 Magne Djupvik 2025-03-01 21:16:45 UTC
Created attachment 179025 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-03-05 16:08:17 UTC
Full backtrace:


Thread 1 (Thread 0x7f2b7dd78b00 (LWP 2632)):
[KCrash Handler]
#5  0x00007f2ac09894b3 in CalendarEvents::EventData::type (this=this@entry=0x55a52a3e9498) at /usr/include/qt6/QtCore/qshareddata.h:44
#6  0x00007f2ac09b0963 in operator() (__closure=<synthetic pointer>, a=..., b=...) at /usr/src/debug/plasma-workspace-6.3.2/components/calendar/daysmodel.cpp:343
#7  __gnu_cxx::__ops::_Val_comp_iter<DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> >::operator()<CalendarEvents::EventData, QList<CalendarEvents::EventData>::iterator> (this=<synthetic pointer>, __val=..., __it=...) at /usr/include/c++/14/bits/predefined_ops.h:240
#8  std::__unguarded_linear_insert<QList<CalendarEvents::EventData>::iterator, __gnu_cxx::__ops::_Val_comp_iter<DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> > > (__last=..., __comp=...) at /usr/include/c++/14/bits/stl_algo.h:1757
#9  std::__unguarded_insertion_sort<QList<CalendarEvents::EventData>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> > > (__first=..., __last=..., __comp=...) at /usr/include/c++/14/bits/stl_algo.h:1798
#10 std::__final_insertion_sort<QList<CalendarEvents::EventData>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> > > (__first=..., __last=..., __comp=...) at /usr/include/c++/14/bits/stl_algo.h:1818
#11 std::__sort<QList<CalendarEvents::EventData>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> > > (__first=..., __last=..., __comp=...) at /usr/include/c++/14/bits/stl_algo.h:1908
#12 std::sort<QList<CalendarEvents::EventData>::iterator, DaysModel::eventsForDate(const QDate&)::<lambda(const CalendarEvents::EventData&, const CalendarEvents::EventData&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/14/bits/stl_algo.h:4804
#13 DaysModel::eventsForDate (this=<optimized out>, date=<optimized out>) at /usr/src/debug/plasma-workspace-6.3.2/components/calendar/daysmodel.cpp:343
#14 DaysModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-workspace-6.3.2/build/components/calendar/calendarplugin_autogen/include/moc_daysmodel.cpp:175
#15 0x00007f2ac09b1573 in DaysModel::qt_metacall (this=0x55a526b166c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff9b05d668) at /usr/src/debug/plasma-workspace-6.3.2/build/components/calendar/calendarplugin_autogen/include/moc_daysmodel.cpp:224
#16 0x00007f2b83b62933 in QQmlObjectOrGadget::metacall (this=0x7fff9b05d940, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/qml/qqmlobjectorgadget.cpp:14
#17 0x00007f2b83a371fc in QV4::CallMethod (object=<optimized out>, index=<optimized out>, returnType=..., argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:85
#18 QV4::QObjectMethod::callPrecise (object=<optimized out>, data=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2067
#19 0x00007f2b83a40021 in operator() (__closure=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3065
#20 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (__closure=<synthetic pointer>, call=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3042
#21 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=0x7f2b5c1d9608, argc=1) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3065
#22 0x00007f2b83a5b57f in QV4::FunctionObject::call (this=0x7fff9b05d9f8, thisObject=0x7f2b5c1d95f0, argv=0x7f2b5c1d9608, argc=1) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4functionobject_p.h:187
#23 QV4::Runtime::CallPropertyLookup::call (engine=0x55a521a492d0, base=..., index=<optimized out>, argv=0x7f2b5c1d9608, argc=1) at /usr/src/debug/qtdeclarative-everywhere-src-6.8.2/src/qml/jsruntime/qv4runtime.cpp:1562
#24 0x00007f2b3cebbad4 in ??? ()
#25 0x0000000000000000 in ??? ()
Comment 3 TraceyC 2025-09-22 17:24:53 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet. I don't see any other reports in Bugzilla or Sentry with this backtrace.

Can you please re-test on your system with Plasma 6.4.5 or later and let us know if you can still reproduce the problem? If you can, please set this report back to REPORTED. Thanks!
Comment 4 Bug Janitor Service 2025-10-07 03:46:55 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-10-22 03:47:09 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.