Bug 494455 - Every time I manually turn off the monitor, Plasmashell crashes.
Summary: Every time I manually turn off the monitor, Plasmashell crashes.
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.2.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-10-10 15:03 UTC by jcfun
Modified: 2025-05-08 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (238.40 KB, text/plain)
2024-10-10 15:03 UTC, jcfun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jcfun 2024-10-10 15:03:23 UTC
Application: plasmashell (6.2.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.3
Frameworks Version: 6.6.0
Operating System: Linux 6.11.2-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.2.0 [CoredumpBackend]

-- Information about the crash:
Every time I manually turn off the monitor and turn it on again, plasmashell crashes. The monitor zoom I manually set changed from 140% to 150%, and the monitor brightness changed to 100%.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x000077fccf7b2ba7 in std::__atomic_base<int>::load (this=<optimized out>, __m=<optimized out>, this=<optimized out>, __m=<optimized out>) at /usr/include/c++/14.2.1/bits/atomic_base.h:501
#6  QAtomicOps<int>::loadRelaxed<int> (_q_value=..., _q_value=...) at /usr/include/qt6/QtCore/qatomic_cxx11.h:202
#7  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qbasicatomic.h:36
#8  QArrayData::needsDetach (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qarraydata.h:78
#9  QArrayDataPointer<QQuickItem*>::needsDetach (this=0x5c49c60e82f8) at /usr/include/qt6/QtCore/qarraydatapointer.h:443


Reported using DrKonqi
Comment 1 jcfun 2024-10-10 15:03:27 UTC
Created attachment 174633 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-10-10 20:07:25 UTC
Thread 1 (Thread 0x77fcc7d5fa00 (LWP 13563)):
[KCrash Handler]
#5  0x000077fccf7b2ba7 in std::__atomic_base<int>::load (this=<optimized out>, __m=<optimized out>, this=<optimized out>, __m=<optimized out>) at /usr/include/c++/14.2.1/bits/atomic_base.h:501
#6  QAtomicOps<int>::loadRelaxed<int> (_q_value=..., _q_value=...) at /usr/include/qt6/QtCore/qatomic_cxx11.h:202
#7  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qbasicatomic.h:36
#8  QArrayData::needsDetach (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qarraydata.h:78
#9  QArrayDataPointer<QQuickItem*>::needsDetach (this=0x5c49c60e82f8) at /usr/include/qt6/QtCore/qarraydatapointer.h:443
#10 QtPrivate::QPodArrayOps<QQuickItem*>::emplace<QQuickItem*&> (this=0x5c49c60e82f8, i=-1) at /usr/include/qt6/QtCore/qarraydataops.h:157
#11 0x000077fccf7917cb in QList<QQuickItem*>::emplaceBack<QQuickItem*&> (this=0x5c49c60e82f8) at /usr/include/qt6/QtCore/qlist.h:864
#12 QList<QQuickItem*>::append (this=0x5c49c60e82f8, t=<optimized out>) at /usr/include/qt6/QtCore/qlist.h:444
#13 QQuickItem::polish (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:4598
#14 0x000077fccf84dd88 in forcePolishHelper (item=0x5c49c87d16f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:425
#15 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#16 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#17 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#18 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#19 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#20 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#21 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#22 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#23 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#24 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#25 0x000077fccf84dd30 in forcePolishHelper (item=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:430
#26 0x000077fccf84dec8 in QQuickWindowPrivate::forcePolish (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:448
#27 0x000077fccf8508df in QQuickWindow::event (this=this@entry=0x5c49c2921120, event=event@entry=0x7ffc7cf4aa00) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:1613
#28 0x00005c49b909f0cc in PanelView::event (this=0x5c49c2921120, e=0x7ffc7cf4aa00) at /usr/src/debug/plasma-workspace/plasma-workspace-6.2.0/shell/panelview.cpp:1308
#29 0x000077fcd00fd9cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5c49c2921120, e=0x7ffc7cf4aa00) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#30 0x000077fcce145be8 in QCoreApplication::notifyInternal2 (receiver=0x5c49c2921120, event=0x7ffc7cf4aa00) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1152
#31 0x000077fcce145c2d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1593
#32 0x000077fcce7d40e6 in QWindowPrivate::updateDevicePixelRatio (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:1423
#33 0x000077fcce7e7d24 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#34 0x000077fcce7e7f17 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1083
#35 0x000077fcce18d93f in QObject::event (this=0x5c49c233b5b0, e=0x5c49c76bd5c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1452
#36 0x000077fcd00fd9cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5c49c233b5b0, e=0x5c49c76bd5c0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#37 0x000077fcce145be8 in QCoreApplication::notifyInternal2 (receiver=0x5c49c233b5b0, event=event@entry=0x5c49c76bd5c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1152
#38 0x000077fcce145fab in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x5c49c76bd5c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1593
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5c49c0f42ba0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1951
#40 0x000077fcce3abe4c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1806
#41 postEventSourceDispatch (s=0x5c49c101feb0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#42 0x000077fcccc77559 in g_main_dispatch (context=0x77fcc0000f00) at ../glib/glib/gmain.c:3357
#43 0x000077fccccda157 in g_main_context_dispatch_unlocked (context=0x77fcc0000f00) at ../glib/glib/gmain.c:4208
#44 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x77fcc0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#45 0x000077fcccc76a55 in g_main_context_iteration (context=0x77fcc0000f00, may_block=1) at ../glib/glib/gmain.c:4338
#46 0x000077fcce3a985d in QEventDispatcherGlib::processEvents (this=0x5c49c0f72320, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#47 0x000077fcce150106 in QEventLoop::processEvents (this=0x7ffc7cf4af60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#48 QEventLoop::exec (this=0x7ffc7cf4af60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#49 0x000077fcce14a27d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#50 0x000077fcd00f97aa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#51 0x00005c49b907915f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.2.0/shell/main.cpp:188
Comment 3 Nate Graham 2024-10-10 20:08:43 UTC
Looks similar to Bug 488713, but that was in KWin and got fixed for the 6.2.0 release already.

Is this a regression in 6.2.0? Was it not happening in 6.1 at all?
Comment 4 Nicolas Fella 2024-10-10 20:39:43 UTC
The backtrace looks entirely different though
Comment 5 jcfun 2024-10-11 01:01:34 UTC
(In reply to Nate Graham from comment #3)
> Looks similar to Bug 488713, but that was in KWin and got fixed for the
> 6.2.0 release already.
> 
> Is this a regression in 6.2.0? Was it not happening in 6.1 at all?

I have had this issue since 6.1 and I look forward to getting it fixed in 6.2. But in fact, this problem seems to have become even more serious because my monitor brightness also had issues in 6.2.
Comment 6 Nate Graham 2025-04-08 19:52:40 UTC
jcfun, is this still happening in Plasma 6.3.0 or later?

Also, how many monitors do you have? When you turn off one, is it the only monitor, or are there others still turned on and active?
Comment 7 Bug Janitor Service 2025-04-23 03:47:24 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 8 Bug Janitor Service 2025-05-08 03:47:23 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.