Bug 493826

Summary: plasmashell crashes after update when grouping containment has widget added
Product: [Plasma] kdeplasma-addons Reporter: valerijs.gusjkovs
Component: GroupingAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 6.1.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description valerijs.gusjkovs 2024-09-29 11:42:36 UTC
Application: plasmashell (6.1.5)

Qt Version: 6.7.3
Frameworks Version: 6.6.0
Operating System: Linux 6.11.0-5-cachyos x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.5 [KCrashBackend]

-- Information about the crash:
Crash on start of plasmashell.
Grouping plasmoid needs to be added to cause crash.
Grouping plasmoid has to have one child added to cause crash.

The crash can be reproduced every time.

-- Backtrace:
Application: plasmashell (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#4  QObjectCompatProperty<QQuickItemPrivate, double, &QQuickItemPrivate::_qt_property_y_offset, &QQuickItemPrivate::setY, &QQuickItemPrivate::yChanged, decltype(nullptr)>::value (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:928
#5  QObjectCompatProperty<QQuickItemPrivate, double, &QQuickItemPrivate::_qt_property_y_offset, &QQuickItemPrivate::setY, &QQuickItemPrivate::yChanged, decltype(nullptr)>::operator double (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/6.7.3/QtCore/private/qproperty_p.h:594
#6  QQuickItem::y (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7157
#7  QQuickListViewPrivate::repositionPackageItemAt (this=0x6235d6b6a490, item=0x6235d6f4eeb0, index=0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:929
#8  0x00007d4a9fa540ac in QQuickItemViewPrivate::updateUnrequestedPositions (this=0x6235d6b6a490) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:2575
#9  0x00007d4a9fa5559d in QQuickItemViewPrivate::refill (this=0x6235d6b6a490, from=-0, to=436) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1809
#10 0x00007d4a9fa57e8b in QQuickItemViewPrivate::layout (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1919
#11 0x00007d4a9f84954f in QQuickWindowPrivate::polishItems (this=0x6235d5f6c3b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:348
#12 0x00007d4a9f8e4e44 in QSGGuiThreadRenderLoop::renderWindow (this=0x6235d6634800, window=0x6235d65fe600) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp:616
#13 0x00007d4a9e7e083c in QWindow::event (this=0x6235d65fe600, ev=0x7ffff60e2ae0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2608
#14 0x00007d4aa00fd9cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6235d65fe600, e=0x7ffff60e2ae0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#15 0x00007d4a9e145be8 in QCoreApplication::notifyInternal2 (receiver=0x6235d65fe600, event=0x7ffff60e2ae0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1152
#16 0x00007d4a9e145c3d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1607
#17 0x00007d4a9e787574 in QGuiApplicationPrivate::processExposeEvent (e=0x6235d60913f0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:3362
#18 0x00007d4a9e7e7d24 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#19 0x00007d4a9ec05734 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#20 0x00007d4a9cbeb559 in g_main_dispatch (context=0x7d4a8c000f20) at ../glib/glib/gmain.c:3357
#21 0x00007d4a9cc4e157 in g_main_context_dispatch_unlocked (context=0x7d4a8c000f20) at ../glib/glib/gmain.c:4208
#22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7d4a8c000f20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#23 0x00007d4a9cbeaa55 in g_main_context_iteration (context=0x7d4a8c000f20, may_block=1) at ../glib/glib/gmain.c:4338
#24 0x00007d4a9e3a985d in QEventDispatcherGlib::processEvents (this=0x6235d53a9510, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#25 0x00007d4a9e150106 in QEventLoop::processEvents (this=0x7ffff60e2e50, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#26 QEventLoop::exec (this=0x7ffff60e2e50, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#27 0x00007d4a9e14a27d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#28 0x00007d4aa00f97aa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#29 0x00006235ac5ead86 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.1.5/shell/main.cpp:188
[Inferior 1 (process 56128) detached]

Reported using DrKonqi
Comment 1 valerijs.gusjkovs 2024-09-29 15:14:26 UTC
(In reply to valerijs.gusjkovs from comment #0)
> Application: plasmashell (6.1.5)
> 
> Qt Version: 6.7.3
> Frameworks Version: 6.6.0
> Operating System: Linux 6.11.0-5-cachyos x86_64
> Windowing System: Wayland
> Distribution: "Arch Linux"
> DrKonqi: 6.1.5 [KCrashBackend]
> 
> -- Information about the crash:
> Crash on start of plasmashell.
> Grouping plasmoid needs to be added to cause crash.
> Grouping plasmoid has to have one child added to cause crash.
> 
> The crash can be reproduced every time.
> 
> -- Backtrace:
> Application: plasmashell (plasmashell), signal: Segmentation fault
> Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() =
> <optimized out>}
> [KCrash Handler]
> #4  QObjectCompatProperty<QQuickItemPrivate, double,
> &QQuickItemPrivate::_qt_property_y_offset, &QQuickItemPrivate::setY,
> &QQuickItemPrivate::yChanged, decltype(nullptr)>::value (this=<optimized
> out>) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.
> cpp:928
> #5  QObjectCompatProperty<QQuickItemPrivate, double,
> &QQuickItemPrivate::_qt_property_y_offset, &QQuickItemPrivate::setY,
> &QQuickItemPrivate::yChanged, decltype(nullptr)>::operator double
> (this=<optimized out>, this=<optimized out>) at
> /usr/include/qt6/QtCore/6.7.3/QtCore/private/qproperty_p.h:594
> #6  QQuickItem::y (this=<optimized out>) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:
> 7157
> #7  QQuickListViewPrivate::repositionPackageItemAt (this=0x6235d6b6a490,
> item=0x6235d6f4eeb0, index=0) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.
> cpp:929
> #8  0x00007d4a9fa540ac in QQuickItemViewPrivate::updateUnrequestedPositions
> (this=0x6235d6b6a490) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.
> cpp:2575
> #9  0x00007d4a9fa5559d in QQuickItemViewPrivate::refill
> (this=0x6235d6b6a490, from=-0, to=436) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.
> cpp:1809
> #10 0x00007d4a9fa57e8b in QQuickItemViewPrivate::layout (this=<optimized
> out>) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.
> cpp:1919
> #11 0x00007d4a9f84954f in QQuickWindowPrivate::polishItems
> (this=0x6235d5f6c3b0) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.
> cpp:348
> #12 0x00007d4a9f8e4e44 in QSGGuiThreadRenderLoop::renderWindow
> (this=0x6235d6634800, window=0x6235d65fe600) at
> /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/
> qsgrenderloop.cpp:616
> #13 0x00007d4a9e7e083c in QWindow::event (this=0x6235d65fe600,
> ev=0x7ffff60e2ae0) at
> /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2608
> #14 0x00007d4aa00fd9cc in QApplicationPrivate::notify_helper
> (this=<optimized out>, receiver=0x6235d65fe600, e=0x7ffff60e2ae0) at
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
> #15 0x00007d4a9e145be8 in QCoreApplication::notifyInternal2
> (receiver=0x6235d65fe600, event=0x7ffff60e2ae0) at
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1152
> #16 0x00007d4a9e145c3d in QCoreApplication::sendSpontaneousEvent
> (receiver=<optimized out>, event=<optimized out>) at
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1607
> #17 0x00007d4a9e787574 in QGuiApplicationPrivate::processExposeEvent
> (e=0x6235d60913f0) at
> /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:3362
> #18 0x00007d4a9e7e7d24 in QWindowSystemInterface::sendWindowSystemEvents
> (flags=...) at
> /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
> #19 0x00007d4a9ec05734 in userEventSourceDispatch (source=<optimized out>)
> at
> /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.
> cpp:38
> #20 0x00007d4a9cbeb559 in g_main_dispatch (context=0x7d4a8c000f20) at
> ../glib/glib/gmain.c:3357
> #21 0x00007d4a9cc4e157 in g_main_context_dispatch_unlocked
> (context=0x7d4a8c000f20) at ../glib/glib/gmain.c:4208
> #22 g_main_context_iterate_unlocked.isra.0
> (context=context@entry=0x7d4a8c000f20, block=block@entry=1,
> dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
> #23 0x00007d4a9cbeaa55 in g_main_context_iteration (context=0x7d4a8c000f20,
> may_block=1) at ../glib/glib/gmain.c:4338
> #24 0x00007d4a9e3a985d in QEventDispatcherGlib::processEvents
> (this=0x6235d53a9510, flags=...) at
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:
> 394
> #25 0x00007d4a9e150106 in QEventLoop::processEvents (this=0x7ffff60e2e50,
> flags=...) at
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
> #26 QEventLoop::exec (this=0x7ffff60e2e50, flags=...) at
> /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
> #27 0x00007d4a9e14a27d in QCoreApplication::exec () at
> /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
> #28 0x00007d4aa00f97aa in QApplication::exec () at
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
> #29 0x00006235ac5ead86 in main (argc=<optimized out>, argv=<optimized out>)
> at /usr/src/debug/plasma-workspace/plasma-workspace-6.1.5/shell/main.cpp:188
> [Inferior 1 (process 56128) detached]
> 
> Reported using DrKonqi

Fixing the crash requires downgrades. This was what I downgraded to fix it for the momend

0: downgraded qt6-imageformats ["6.7.3-1", "6.7.2-1"]
1: downgraded qt6-5compat ["6.7.3-1", "6.7.2-1"]
2: downgraded qt6-sensors ["6.7.3-1", "6.7.2-1"]
3: downgraded qt6-tools ["6.7.3-1", "6.7.2-2"]
4: downgraded qt6-wayland ["6.7.3-1", "6.7.2-4"]
5: downgraded qt6-3d ["6.7.3-1", "6.7.2-1"]
6: downgraded qt6-charts ["6.7.3-1", "6.7.2-1"]
7: downgraded qt6-connectivity ["6.7.3-1", "6.7.2-1"]
8: downgraded qt6-networkauth ["6.7.3-1", "6.7.2-1"]
9: downgraded qt6-quick3d ["6.7.3-1", "6.7.2-1"]
10: downgraded qt6-shadertools ["6.7.3-1", "6.7.2-1"]
11: downgraded qt6-quicktimeline ["6.7.3-1", "6.7.2-1"]
12: downgraded qt6-serialport ["6.7.3-1", "6.7.2-1"]
13: downgraded qt6-speech ["6.7.3-1", "6.7.2-1"]
14: downgraded qt6-multimedia ["6.7.3-1", "6.7.2-1"]
15: downgraded qt6-multimedia-ffmpeg ["6.7.3-1", "6.7.2-1"]
16: downgraded qt6-multimedia-gstreamer ["6.7.3-1", "6.7.2-1"]
17: downgraded qt6-virtualkeyboard ["6.7.3-1", "6.7.2-1"]
18: downgraded qt6-svg ["6.7.3-1", "6.7.2-1"]
19: downgraded qt6-websockets ["6.7.3-1", "6.7.2-1"]
20: downgraded qt6-webview ["6.7.3-1", "6.7.2-1"]
21: downgraded qt6-webengine ["6.7.3-1", "6.7.2-3"]
22: downgraded qt6-webchannel ["6.7.3-1", "6.7.2-1"]
23: downgraded qt6-positioning ["6.7.3-1", "6.7.2-1"]
24: downgraded qt6-declarative ["6.7.3-2", "6.7.2-1"]
25: downgraded qt6-base ["6.7.3-1", "6.7.2-2"]
26: downgraded qt6-translations ["6.7.3-1", "6.7.2-1"]
Comment 2 Nicolas Fella 2024-10-01 11:05:42 UTC

*** This bug has been marked as a duplicate of bug 493854 ***