Bug 487466 - Plasmashell crashes when unlocking screen after resuming from sleep while external screen is connected over HDMI
Summary: Plasmashell crashes when unlocking screen after resuming from sleep while ext...
Status: RESOLVED DUPLICATE of bug 487230
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.5
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 09:46 UTC by postix
Modified: 2024-06-12 12:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Full Stack Trace (260.48 KB, text/vnd.kde.kcrash-report)
2024-05-24 09:48 UTC, postix
Details
Full Stack Trace (Plasma 6.0.5) (23.21 KB, text/x-log)
2024-05-27 17:16 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-05-24 09:46:37 UTC
SUMMARY

Plasmashell crashes when logging when an external screen connected over HDMI

STEPS TO REPRODUCE
1. Connect the laptop to some external TV over HDMI
2. Login (from boot? after resuming? need to check this out later again)

OBSERVED RESULT
Plasmashell crashes but recovers itself.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon Graphics
Comment 1 postix 2024-05-24 09:48:04 UTC
Created attachment 169763 [details]
Full Stack Trace

```
Thread 1 (Thread 0x7f35fd3bdb00 (LWP 2695)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f3601cab1b3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x00007f3601c5365e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f3601c3b902 in __GI_abort () at abort.c:79
#9  0x00007f3601ed9d50 in std::__glibcxx_assert_fail (file=file@entry=0x7f360542d3a8 "/usr/include/c++/14/bits/stl_algo.h", line=line@entry=3625, function=function@entry=0x7f360542d350 "constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]", condition=condition@entry=0x7f360542e151 "!(__hi < __lo)") at ../../../../../libstdc++-v3/src/c++11/assert_fail.cc:41
#10 0x00007f36053f001f in std::clamp<int> (__val=<optimized out>, __lo=<optimized out>, __hi=<optimized out>) at /usr/include/c++/14/bits/stl_algo.h:3623
#11 std::clamp<int> (__val=<optimized out>, __lo=<optimized out>, __hi=<optimized out>) at /usr/include/c++/14/bits/stl_algo.h:3623
#12 PlasmaQuick::AppletPopup::updateSize (this=0x55fe48da86f0) at /usr/src/debug/libplasma-6.0.4-2.fc40.x86_64/src/plasmaquick/appletpopup.cpp:264
#13 0x00007f36023fa3f4 in QtPrivate::QSlotObjectBase::call (this=0x55fe48df77b0, r=<optimized out>, a=0x7ffe803cd6c8) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#14 doActivate<false> (sender=0x55fe48df1750, signal_index=3, argv=0x7ffe803cd6c8) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4078
#15 0x00007f36023fa3f4 in QtPrivate::QSlotObjectBase::call (this=0x55fe48dc4a20, r=<optimized out>, a=0x7ffe803cd7a8) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#16 doActivate<false> (sender=0x55fe48dc1bc0, signal_index=29, argv=0x7ffe803cd7a8) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4078
#17 0x00007f36023f09a7 in QMetaObject::activate (sender=sender@entry=0x55fe48dc1bc0, m=m@entry=0x7f36044e8420, local_signal_index=local_signal_index@entry=26, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4138
#18 0x00007f3603feb267 in QQuickItem::implicitHeightChanged (this=this@entry=0x55fe48dc1bc0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:1491
#19 0x00007f3603ff6d9b in QQuickItemPrivate::implicitHeightChanged (this=0x55fe48dc1ce0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7535
#20 QQuickItem::setImplicitHeight (this=0x55fe48dc1bc0, h=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7561
#21 0x00007f36038ff1fa in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=0x7ffe803cd8b8, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlpropertydata_p.h:336
#22 GenericBinding<6>::doStore<double> (this=0x55fe48dc2040, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:275
#23 GenericBinding<6>::write (this=0x55fe48dc2040, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:248
#24 0x00007f36038f8321 in QQmlBinding::doUpdate (this=0x55fe48dc2040, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:701
#25 0x00007f36038fc038 in QQmlBinding::update (this=0x55fe48dc2040, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:164
#26 0x00007f36039951b5 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlnotifier.cpp:70
#27 0x00007f36023f9f5d in doActivate<false> (sender=0x55fe49f9b280, signal_index=6, argv=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:3970
#28 0x00007f36038ff1fa in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=0x7ffe803cf438, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlpropertydata_p.h:336
#29 GenericBinding<6>::doStore<double> (this=0x55fe49dedb50, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:275
#30 GenericBinding<6>::write (this=0x55fe49dedb50, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:248
#31 0x00007f36038f8321 in QQmlBinding::doUpdate (this=0x55fe49dedb50, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:701
#32 0x00007f36038fc038 in QQmlBinding::update (this=0x55fe49dedb50, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:164
#33 0x00007f36039951b5 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlnotifier.cpp:70
#34 0x00007f36023f9f5d in doActivate<false> (sender=0x55fe4a1a4ba0, signal_index=29, argv=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:3970
#35 0x00007f36023f09a7 in QMetaObject::activate (sender=sender@entry=0x55fe4a1a4ba0, m=m@entry=0x7f36044e8420, local_signal_index=local_signal_index@entry=26, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4138
#36 0x00007f3603feb267 in QQuickItem::implicitHeightChanged (this=this@entry=0x55fe4a1a4ba0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:1491
#37 0x00007f3603ff6d9b in QQuickItemPrivate::implicitHeightChanged (this=0x55fe49f75880) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7535
#38 QQuickItem::setImplicitHeight (this=0x55fe4a1a4ba0, h=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7561
#39 0x00007f36038ff1fa in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=0x7ffe803d1058, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlpropertydata_p.h:336
#40 GenericBinding<6>::doStore<double> (this=0x55fe4a397f30, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:275
#41 GenericBinding<6>::write (this=0x55fe4a397f30, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:248
#42 0x00007f36038f8321 in QQmlBinding::doUpdate (this=0x55fe4a397f30, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:701
#43 0x00007f36038fc038 in QQmlBinding::update (this=0x55fe4a397f30, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:164
#44 0x00007f36039951b5 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlnotifier.cpp:70
#45 0x00007f36023f9f5d in doActivate<false> (sender=0x55fe4a38b360, signal_index=29, argv=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:3970
#46 0x00007f3603ff710c in QQuickItem::setImplicitSize (this=this@entry=0x55fe4a38b360, w=w@entry=137, h=h@entry=182) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7609
#47 0x00007f35e4f3bfd2 in QQuickLayoutPrivate::applySizeHints (this=this@entry=0x55fe4a4af440) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicklayouts/qquicklayout.cpp:758
#48 0x00007f35e4f3c1e0 in QQuickLayout::ensureLayoutItemsUpdated (this=this@entry=0x55fe4a38b360, options=..., options@entry=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicklayouts/qquicklayout.cpp:899
#49 0x00007f35e4f4205c in QQuickGridLayoutBase::rearrange (this=0x55fe4a38b360, size=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicklayouts/qquicklinearlayout.cpp:462
#50 0x00007f35e4f3ed31 in QQuickLayout::geometryChange (this=0x55fe4a38b360, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicklayouts/qquicklayout.cpp:934
#51 QQuickLayout::geometryChange (this=0x55fe4a38b360, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicklayouts/qquicklayout.cpp:926
#52 0x00007f3603ff76ad in QQuickItem::setSize (this=0x55fe4a38b360, size=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7693
#53 0x00007f35ed58b312 in KSysGuard::SensorFace::geometryChange (this=0x55fe4a1a4ba0, newGeometry=..., oldGeometry=...) at /usr/src/debug/libksysguard-6.0.4-1.fc40.x86_64/faces/SensorFace.cpp:84
#54 0x00007f3603ff76ad in QQuickItem::setSize (this=this@entry=0x55fe4a1a4ba0, size=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7693
#55 0x00007f35eeaf0193 in QQuickControlPrivate::resizeContent (this=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicktemplates/qquickcontrol.cpp:364
#56 0x00007f35eeaf4439 in QQuickControl::geometryChange (this=0x55fe4a350dd0, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quicktemplates/qquickcontrol.cpp:2084
#57 0x00007f3603ff76ad in QQuickItem::setSize (this=0x55fe4a350dd0, size=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7693
#58 0x00007f3603fbfb7a in QQuickAnchorsPrivate::setItemSize (this=0x55fe4a3f70a0, v=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickanchors.cpp:391
#59 QQuickAnchorsPrivate::fillChanged (this=0x55fe4a3f70a0) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickanchors.cpp:167
#60 0x00007f3604000196 in operator() (listener=..., __closure=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:3881
#61 QQuickItemPrivate::notifyChangeListeners<QQuickItem::geometryChange(const QRectF&, const QRectF&)::<lambda(const QQuickItemPrivate::ChangeListener&)> > (this=0x55fe48dc1ce0, changeTypes=..., function=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem_p.h:359
#62 QQuickItem::geometryChange (this=0x55fe48dc1bc0, newGeometry=<optimized out>, oldGeometry=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:3879
#63 0x00007f3603ff76ad in QQuickItem::setSize (this=0x55fe48dc1bc0, size=...) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/quick/items/qquickitem.cpp:7693
#64 0x00007f360540cc11 in PlasmaQuick::PlasmaWindow::resizeEvent (this=0x55fe48da86f0, e=<optimized out>) at /usr/src/debug/libplasma-6.0.4-2.fc40.x86_64/src/plasmaquick/plasmawindow.cpp:159
#65 0x00007f3602c457b8 in QWindow::event (this=0x55fe48da86f0, ev=0x7ffe803d35f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qwindow.cpp:2609
#66 0x00007f360478b368 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fe48da86f0, e=0x7ffe803d35f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#67 0x00007f3602395ab8 in QCoreApplication::notifyInternal2 (receiver=0x55fe48da86f0, event=0x7ffe803d35f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#68 0x00007f3602395d2d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1589
#69 0x00007f3602be22d8 in QGuiApplicationPrivate::processGeometryChangeEvent (e=e@entry=0x7ffe803d3680) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:2711
#70 0x00007f3602c44c5a in operator() (__closure=0x55fe48db98a0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qwindow.cpp:242
#71 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, QWindowPrivate::init(QWindow*, QScreen*)::<lambda(QScreen*)> >::call (f=..., arg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:137
#72 QtPrivate::FunctorCallable<QWindowPrivate::init(QWindow*, QScreen*)::<lambda(QScreen*)>, QScreen*>::call<QtPrivate::List<QScreen*>, void> (f=..., arg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:345
#73 QtPrivate::QCallableObject<QWindowPrivate::init(QWindow*, QScreen*)::<lambda(QScreen*)>, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55fe48db9890, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:555
#74 0x00007f36023fa3f4 in QtPrivate::QSlotObjectBase::call (this=0x55fe48db9890, r=<optimized out>, a=0x7ffe803d37f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#75 doActivate<false> (sender=0x55fe48da86f0, signal_index=3, argv=0x7ffe803d37f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4078
#76 0x00007f36023f09a7 in QMetaObject::activate (sender=sender@entry=0x55fe48da86f0, m=m@entry=0x7f3603321d00, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe803d37f0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4138
#77 0x00007f3602c3d061 in QWindow::screenChanged (this=this@entry=0x55fe48da86f0, _t1=<optimized out>, _t1@entry=0x55fe48423b20) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/redhat-linux-build/src/gui/Gui_autogen/include/moc_qwindow.cpp:817
#78 0x00007f3602c3df98 in QWindowPrivate::emitScreenChangedRecursion (this=<optimized out>, newScreen=0x55fe48423b20) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qwindow.cpp:496
#79 0x00007f3602c4ca0c in QWindowSystemInterface::handleScreenRemoved (platformScreen=0x55fe47553880) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:770
#80 0x00007f3603d8394d in QtWaylandClient::QWaylandDisplay::registry_global_remove (this=0x55fe47543800, id=59) at /usr/src/debug/qt6-qtwayland-6.7.0-1.fc40.x86_64/src/client/qwaylanddisplay.cpp:784
#81 0x00007f3601a9b056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#82 0x00007f3601a976a0 in ffi_call_int (cif=cif@entry=0x7ffe803d3bc0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#83 0x00007f3601a9a4ee in ffi_call (cif=cif@entry=0x7ffe803d3bc0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe803d3c90) at ../src/x86/ffi64.c:710
#84 0x00007f3605132f2e in wl_closure_invoke (closure=closure@entry=0x7f35dc024df0, target=<optimized out>, target@entry=0x55fe47542110, opcode=opcode@entry=1, data=<optimized out>, flags=1) at ../src/connection.c:1025
#85 0x00007f36051337a3 in dispatch_event (display=display@entry=0x55fe47543a30, queue=0x55fe47543b20) at ../src/wayland-client.c:1631
#86 0x00007f3605133a4c in dispatch_queue (queue=0x55fe47543b20, display=0x55fe47543a30) at ../src/wayland-client.c:1777
#87 wl_display_dispatch_queue_pending (display=0x55fe47543a30, queue=0x55fe47543b20) at ../src/wayland-client.c:2019
#88 0x00007f3603d76be2 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.0-1.fc40.x86_64/src/client/qwaylanddisplay.cpp:227
#89 0x00007f36023fa768 in doActivate<false> (sender=0x55fe475579b0, signal_index=4, argv=0x7ffe803d3ee8) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4090
#90 0x00007f36023f09a7 in QMetaObject::activate (sender=sender@entry=0x55fe475579b0, m=m@entry=0x7f3602880a60 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4138
#91 0x00007f3602392167 in QAbstractEventDispatcher::awake (this=this@entry=0x55fe475579b0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp:158
#92 0x00007f360267bfbb in QEventDispatcherGlib::processEvents (this=0x55fe475579b0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:401
#93 0x00007f36023a26b3 in QEventLoop::exec (this=this@entry=0x7ffe803d4030, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/global/qflags.h:34
#94 0x00007f360239e63c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/global/qflags.h:74
#95 0x00007f3602bd518d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#96 0x00007f360478b2d9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#97 0x000055fe462faea5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.0.4-1.fc40.x86_64/shell/main.cpp:214
```
Comment 2 postix 2024-05-24 09:50:12 UTC
Looks like it's an assertion error actually "!(__hi < __lo)")

```
#9  0x00007f3601ed9d50 in std::__glibcxx_assert_fail (file=file@entry=0x7f360542d3a8 "/usr/include/c++/14/bits/stl_algo.h", line=line@entry=3625, function=function@entry=0x7f360542d350 "constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]", condition=condition@entry=0x7f360542e151 "!(__hi < __lo)") at ../../../../../libstdc++-v3/src/c++11/assert_fail.cc:41
#10 0x00007f36053f001f in std::clamp<int> (__val=<optimized out>, __lo=<optimized out>, __hi=<optimized out>) at /usr/include/c++/14/bits/stl_algo.h:3623
#11 std::clamp<int> (__val=<optimized out>, __lo=<optimized out>, __hi=<optimized out>) at /usr/include/c++/14/bits/stl_algo.h:3623
#12 PlasmaQuick::AppletPopup::updateSize (this=0x55fe48da86f0) at /usr/src/debug/libplasma-6.0.4-2.fc40.x86_64/src/plasmaquick/appletpopup.cpp:264
```
Comment 3 Nate Graham 2024-05-24 23:09:52 UTC
Blowing up in std::clamp; pretty sure this is Bug 487230 which is fixed in 6.0.5.

*** This bug has been marked as a duplicate of bug 487230 ***
Comment 4 postix 2024-05-27 17:11:26 UTC
> Blowing up in std::clamp; pretty sure this is Bug 487230 which is fixed in 6.0.5.
My bug isn't fixed in 6.0.5. Will post new stacktrace later.
Comment 5 postix 2024-05-27 17:13:31 UTC
```
Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;                                                                                                                                                     
[Current thread is 1 (Thread 0x7f5dcb791b00 (LWP 5193))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f5dd00ab1b3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78
#2  0x00007f5dd005365e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f5dd34746a5 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kf6-kcrash-6.2.0-1.fc40.x86_64/src/kcrash.cpp:593
#4  0x00007f5dd0053710 in <signal handler called> () at /lib64/libc.so.6
#5  Plasma::Containment::lastScreen (this=this@entry=0x4e36c8ebd9f23aef) at /usr/src/debug/libplasma-6.0.5-1.fc40.x86_64/src/plasma/containment.cpp:492
#6  0x00005649e94389cd in ShellCorona::createWaitingPanels (this=<optimized out>) at /usr/src/debug/plasma-workspace-6.0.5-1.fc40.x86_64/shell/shellcorona.cpp:1496
#7  0x00007f5dd07fa3f4 in QtPrivate::QSlotObjectBase::call (this=0x5649ea267a50, r=<optimized out>, a=0x7ffd3c174e20) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#8  doActivate<false> (sender=0x5649ea03f940, signal_index=3, argv=0x7ffd3c174e20) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4078
#9  0x00007f5dd07f09a7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5dd0c83100, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd3c174e20)
    at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:4138
#10 0x00007f5dd08094bd in QTimer::timeout (this=<optimized out>, _t1=...) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qtimer.cpp:224
#11 0x00007f5dd07ebccf in QObject::event (this=0x5649ea03f940, e=0x7ffd3c174fd0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qobject.cpp:1476
#12 0x00007f5dd2b8b368 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5649ea03f940, e=0x7ffd3c174fd0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#13 0x00007f5dd0795ab8 in QCoreApplication::notifyInternal2 (receiver=0x5649ea03f940, event=0x7ffd3c174fd0) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#14 0x00007f5dd0795d1d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#15 0x00007f5dd094d797 in QTimerInfoList::activateTimers (this=0x5649e9d65730) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:436
#16 0x00007f5dd0a7bdb9 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#17 0x00007f5dcf3616ac in g_main_dispatch (context=0x7f5db8000f00) at ../glib/gmain.c:3344
#18 g_main_context_dispatch_unlocked (context=0x7f5db8000f00) at ../glib/gmain.c:4152
#19 0x00007f5dcf3c2708 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f5db8000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#20 0x00007f5dcf362b23 in g_main_context_iteration (context=0x7f5db8000f00, may_block=1) at ../glib/gmain.c:4282
#21 0x00007f5dd0a7bf83 in QEventDispatcherGlib::processEvents (this=0x5649e9d4fa40, flags=...) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#22 0x00007f5dd07a26b3 in QEventLoop::exec (this=this@entry=0x7ffd3c1752a0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/global/qflags.h:34
#23 0x00007f5dd079e63c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/corelib/global/qflags.h:74
#24 0x00007f5dd0fd518d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#25 0x00007f5dd2b8b2d9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-5.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#26 0x00005649e93f9ea5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.0.5-1.fc40.x86_64/shell/main.cpp:214
```
Comment 6 postix 2024-05-27 17:16:41 UTC
Created attachment 169881 [details]
Full Stack Trace (Plasma 6.0.5)
Comment 7 David Edmundson 2024-05-28 09:11:42 UTC
Fixed by 5deb0a7491eefbe91f36ee7015eaefeb78f5a1e6
Comment 8 postix 2024-05-28 09:15:05 UTC
(In reply to David Edmundson from comment #7)
> Fixed by 5deb0a7491eefbe91f36ee7015eaefeb78f5a1e6

So you say it's a different issue in the 2nd stacktrace as the latter happened with the same steps to reproduce in 6.0.5.
Then I will open another bug for it. ;)
Comment 9 postix 2024-05-28 11:22:04 UTC

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