Bug 493033 - plasmashell will crash in Plasma::Corona::editModeChanged() when resizing the weather widget in edit mode
Summary: plasmashell will crash in Plasma::Corona::editModeChanged() when resizing the...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Edit Mode (other bugs)
Version First Reported In: 6.1.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-09-12 20:00 UTC by pollux/ned
Modified: 2025-02-28 03:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/5877/events/aa8733f5638b4a618b158de64ccbf27f/


Attachments
New crash information added by DrKonqi (208.97 KB, text/plain)
2024-09-12 20:00 UTC, pollux/ned
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pollux/ned 2024-09-12 20:00:40 UTC
Application: plasmashell (6.1.90)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.5.0
Operating System: Linux 6.10.9-zen1-2-zen x86_64
Windowing System: Wayland
Distribution: EndeavourOS
DrKonqi: 6.1.90 [CoredumpBackend]

-- Information about the crash:
at first what happend was adding the weather widget on the desktop would look not look correct, requiring the user to resize it which made plasmashell crash

but it shows correctly now on the desktop but resizing it will crash the shell still

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x0000763f801a4b28 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6589
#6  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c4077d640, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#7  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c49cb7030, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#8  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c525c4dc0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#9  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c50bafc70, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609


Reported using DrKonqi
Comment 1 pollux/ned 2024-09-12 20:00:44 UTC
Created attachment 173594 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-09-16 23:40:31 UTC
Thread 1 (Thread 0x763f78b0ba00 (LWP 4858)):
[KCrash Handler]
#5  0x0000763f801a4b28 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6589
#6  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c4077d640, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#7  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c49cb7030, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#8  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c525c4dc0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#9  0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c50bafc70, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#10 0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c529278a0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#11 0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x626c457db9a0, newEffectiveVisible=newEffectiveVisible@entry=false) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#12 0x0000763f801a4c07 in QQuickItemPrivate::setEffectiveVisibleRecur (this=this@entry=0x626c5290a6a0, newEffectiveVisible=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6609
#13 0x0000763f801a4da1 in QQuickItemPrivate::setVisible (this=0x626c5290a6a0, visible=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:6506
#14 0x0000763f7fc63103 in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:336
#15 0x0000763f7fc80438 in GenericBinding<1>::doStore<bool> (this=<optimized out>, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/include/qt6/QtCore/qtaggedpointer.h:120
#16 GenericBinding<1>::write (this=<optimized out>, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:236
#17 0x0000763f7fc7c6ed in QQmlBinding::doUpdate (this=0x626c4784ffc0, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:704
#18 0x0000763f7fc7e42e in QQmlBinding::update (this=0x626c4784ffc0, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:164
#19 0x0000763f7fcfc6dc in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70
#20 0x0000763f7e9b1e6a in doActivate<false> (sender=0x626c53072c50, signal_index=37, argv=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4010
#21 0x0000763f7fd9d5a7 in QQmlVMEMetaObject::metaCall (this=0x626c48cf0c80, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1027
#22 0x0000763f7fc63149 in QQmlPropertyData::doMetacall<(QMetaObject::Call)2> (this=<optimized out>, object=<optimized out>, idx=<optimized out>, argv=0x7fffdc5ac8a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:367
#23 QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:387
#24 0x0000763f7fc80438 in GenericBinding<1>::doStore<bool> (this=<optimized out>, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/include/qt6/QtCore/qtaggedpointer.h:120
#25 GenericBinding<1>::write (this=<optimized out>, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:236
#26 0x0000763f7fc7c6ed in QQmlBinding::doUpdate (this=0x626c535b5140, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:704
#27 0x0000763f7fc7e42e in QQmlBinding::update (this=0x626c535b5140, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:164
#28 0x0000763f7fcfc6dc in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7fffdc5ae4a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70
#29 0x0000763f7e9b1e6a in doActivate<false> (sender=0x626c38ce8730, signal_index=13, argv=0x7fffdc5ae4a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4010
#30 0x0000763f814f8aa5 in Plasma::Corona::editModeChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/libplasma/build/src/plasma/Plasma_autogen/include/moc_corona.cpp:531
#31 0x0000763f7e9b2169 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:487
#32 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4120
#33 0x0000763f8117aa42 in KWindowSystem::showingDesktopChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwindowsystem/build/src/KF6WindowSystem_autogen/include/moc_kwindowsystem.cpp:223
#34 0x0000763f7f8e7596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#35 0x0000763f7f8e400e in ffi_call_int (cif=cif@entry=0x7fffdc5ae790, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#36 0x0000763f7f8e6bd3 in ffi_call (cif=cif@entry=0x7fffdc5ae790, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffdc5ae860) at ../src/x86/ffi64.c:710
#37 0x0000763f818dc8b0 in wl_closure_invoke (closure=closure@entry=0x763f6800c510, target=<optimized out>, target@entry=0x626c3d809bb0, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.23.1/src/connection.c:1228
#38 0x0000763f818dd139 in dispatch_event (display=display@entry=0x626c38b6ca00, queue=queue@entry=0x626c38b6caf8) at ../wayland-1.23.1/src/wayland-client.c:1674
#39 0x0000763f818dd553 in dispatch_queue (display=0x626c38b6ca00, queue=0x626c38b6caf8) at ../wayland-1.23.1/src/wayland-client.c:1820
#40 wl_display_dispatch_queue_pending (display=0x626c38b6ca00, queue=0x626c38b6caf8) at ../wayland-1.23.1/src/wayland-client.c:2062
#41 0x0000763f7f971326 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:227
#42 0x0000763f7e9a33da in QObject::event (this=0x626c38b6c7e0, e=0x763f6800ab30) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1419
#43 0x0000763f80afd55a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x626c38b6c7e0, e=0x763f6800ab30) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3294
#44 0x0000763f7e9587e8 in QCoreApplication::notifyInternal2 (receiver=0x626c38b6c7e0, event=event@entry=0x763f6800ab30) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172
#45 0x0000763f7e959275 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1616
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x626c38b64b20) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1972
#47 0x0000763f7ebbcbfc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1804
#48 postEventSourceDispatch (s=0x626c38c20c00) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#49 0x0000763f7d97f299 in g_main_dispatch (context=0x763f70000f30) at ../glib/glib/gmain.c:3344
#50 0x0000763f7d9e1ec7 in g_main_context_dispatch_unlocked (context=0x763f70000f30) at ../glib/glib/gmain.c:4152
#51 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x763f70000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#52 0x0000763f7d97e795 in g_main_context_iteration (context=0x763f70000f30, may_block=1) at ../glib/glib/gmain.c:4282
#53 0x0000763f7ebbaabd in QEventDispatcherGlib::processEvents (this=0x626c38b6a5e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#54 0x0000763f7e9625a6 in QEventLoop::processEvents (this=0x7fffdc5aef20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#55 QEventLoop::exec (this=0x7fffdc5aef20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#56 0x0000763f7e959c6f in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#57 0x0000763f80af998a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2562
#58 0x0000626c2a32d14f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.1.90/shell/main.cpp:188
Comment 3 Nate Graham 2024-09-16 23:41:29 UTC
Just this widget? Or does it happen when you resize any other widgets too?
Comment 4 pollux/ned 2024-09-17 10:18:18 UTC
(In reply to Nate Graham from comment #3)
> Just this widget? Or does it happen when you resize any other widgets too?

well i dont know because i cant replicate the issue anymore..damn it :/
Comment 5 Nate Graham 2024-09-17 20:01:09 UTC
With current git master (same as you), I cannot reproduce this issue when resizing a Weather Report widget on the desktop, either in Edit Mode or out of it.
Comment 6 TraceyC 2024-09-18 19:53:39 UTC
I am also not able to reproduce

1. Enter Edit mode
2. Add Weather Report widget to the desktop
3. Resize while still in edit mode - OK
4. Exit edit mode, resize widget - OK
Comment 7 pollux/ned 2025-02-28 03:38:24 UTC
Yeah i cant reproduce this issue anymore :) 

So ill mark this as resolved for now as its been a while since it has happened and trying it right now i cant reproduce it