Bug 483849

Summary: System Settings crashes when hovering on Window Decorations
Product: [Applications] systemsettings Reporter: Aditya <bluenerd>
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bluenerd, nicolas.fella, plasma-bugs
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: log file
coredumpctl backtrace

Description Aditya 2024-03-17 17:33:27 UTC
STEPS TO REPRODUCE
1.  Open System Settings
2. Navigate to Colors & Themes
3. Go to Window Decorations

OBSERVED RESULT
System Settings crashes.

EXPECTED RESULT
System Settings does not crash.

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.05
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.21 (64-bit)
Graphics Platform: Wayland
Processors: 4 × 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
Memory: 11.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Aditya 2024-03-17 17:36:44 UTC
Created attachment 167377 [details]
log file
Comment 2 Aditya 2024-03-17 18:15:48 UTC
Created attachment 167385 [details]
coredumpctl backtrace
Comment 3 Nicolas Fella 2024-03-22 12:00:26 UTC
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f6e6c2a40e3 in __pthread_kill_internal (signo=11, threadid=<optimized out>)
    at pthread_kill.c:78
#2  0x00007f6e6c254e06 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f6e6fb2ba67 in KCrash::defaultCrashHandler (sig=11) at /build/kcrash-6.0.0/src/kcrash.cpp:586
#4  <signal handler called>
#5  std::__shared_ptr<KDecoration2::DecorationShadow, (__gnu_cxx::_Lock_policy)2>::__shared_ptr (
    this=0x7ffc4fb1b230, this@entry=0x7ffc4fb1b120)
    at /nix/store/7vc88ixc6yca2hwgszjk51dh23j3g2nr-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr_base.h:1522
#6  std::shared_ptr<KDecoration2::DecorationShadow>::shared_ptr (this=0x7ffc4fb1b230, 
    this@entry=0x7ffc4fb1b120)
    at /nix/store/7vc88ixc6yca2hwgszjk51dh23j3g2nr-gcc-13.2.0/include/c++/13.2.0/bits/shared_ptr.h:204
#7  KDecoration2::Decoration::shadow (this=0x0) at /build/kdecoration-6.0.2/src/decoration.cpp:238
#8  0x00007f6e096bd826 in KDecoration2::Preview::PreviewItem::proxyPassEvent<QHoverEvent> (
    event=0x7ffc4fb1b490, this=0x295f030)
    at /build/kwin-6.0.2/src/kcms/decoration/declarative-plugin/previewitem.cpp:294
#9  KDecoration2::Preview::PreviewItem::hoverEnterEvent (this=0x295f030, event=0x7ffc4fb1b490)
    at /build/kwin-6.0.2/src/kcms/decoration/declarative-plugin/previewitem.cpp:327
#10 0x00007f6e6e3ff468 in QQuickItem::event(QEvent*) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#11 0x00007f6e6eb92b71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#12 0x00007f6e6c97cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#13 0x00007f6e6e58120f in QQuickDeliveryAgentPrivate::sendHoverEvent(QEvent::Type, QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#14 0x00007f6e6e581a2b in QQuickDeliveryAgentPrivate::deliverHoverEventToItem(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long, bool) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#15 0x00007f6e6e5825b5 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#16 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#17 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#18 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#19 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#20 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF cons--Type <RET> for more, q to quit, c to continue without paging--c
t&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#21 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#22 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#23 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#24 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#25 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#26 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#27 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#28 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#29 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#30 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#31 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#32 0x00007f6e6e582505 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(QQuickItem*, QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#33 0x00007f6e6e5829b9 in QQuickDeliveryAgentPrivate::deliverHoverEvent(QPointF const&, QPointF const&, QFlags<Qt::KeyboardModifier>, unsigned long) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#34 0x00007f6e6e588819 in QQuickDeliveryAgent::event(QEvent*) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#35 0x00007f6e6e4a46c4 in QQuickWindow::event(QEvent*) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6Quick.so.6
#36 0x00007f6e6eb92b71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#37 0x00007f6e6c97cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#38 0x00007f6e6f6c04cb in QQuickWidget::event(QEvent*) ()
   from /nix/store/pjrzj2pkzgaghw7id8wi54i41gazh1gi-qtdeclarative-6.6.2/lib/libQt6QuickWidgets.so.6
#39 0x00007f6e6eb92b71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#40 0x00007f6e6c97cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#41 0x00007f6e6eb9a831 in QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*, QPointF const&) [clone .part.0] () from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#42 0x00007f6e6eb9b50d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#43 0x00007f6e6ebfd727 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#44 0x00007f6e6ec002b0 in QWidgetWindow::event(QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#45 0x00007f6e6eb92b71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Widgets.so.6
#46 0x00007f6e6c97cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#47 0x00007f6e6d1d74cb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Gui.so.6
#48 0x00007f6e6d233b5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Gui.so.6
#49 0x00007f6e6d6ccdb0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Gui.so.6
#50 0x00007f6e6b712744 in g_main_dispatch (context=context@entry=0x7f6e60000ef0) at ../glib/gmain.c:3476
#51 0x00007f6e6b715797 in g_main_context_dispatch_unlocked (context=0x7f6e60000ef0)
    at ../glib/gmain.c:4284
#52 g_main_context_iterate_unlocked (context=context@entry=0x7f6e60000ef0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#53 0x00007f6e6b715d8c in g_main_context_iteration (context=0x7f6e60000ef0, may_block=1)
    at ../glib/gmain.c:4414
#54 0x00007f6e6cc3a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#55 0x00007f6e6c989be3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#56 0x00007f6e6c985d66 in QCoreApplication::exec() ()
   from /nix/store/vcg2izx98281pckvs280h5hhhy61kf6n-qtbase-6.6.2/lib/libQt6Core.so.6
#57 0x00000000004148e8 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/systemsettings-6.0.2/app/main.cpp:175
Comment 4 Nicolas Fella 2024-03-22 12:00:59 UTC

*** This bug has been marked as a duplicate of bug 483792 ***
Comment 5 Nicolas Fella 2024-03-22 12:35:44 UTC

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