Bug 489180 - plasma crashed in QtWaylandClient::QWaylandWindow::waylandScreen() when external monitor lost power
Summary: plasma crashed in QtWaylandClient::QWaylandWindow::waylandScreen() when exter...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: HI crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, wayland
: 488730 489065 489211 489309 489363 489369 489370 489419 489458 489535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-25 13:45 UTC by Mariusz Libera
Modified: 2024-07-02 20:02 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (163.04 KB, text/vnd.kde.kcrash-report)
2024-06-25 13:45 UTC, Mariusz Libera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Libera 2024-06-25 13:45:48 UTC
Created attachment 170961 [details]
backtrace

Application: plasmashell (6.1.0)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.5-arch1-1-ml x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.1.0 [CoredumpBackend]

-- Information about the crash:
I had a brief power outage - my external monitor turned off and plasma crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Comment 1 Nate Graham 2024-06-25 14:48:51 UTC
Thread 1 (Thread 0x74b12aa006c0 (LWP 1543)):
[KCrash Handler]
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=0x61fe6f5864b0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:956
#6  QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x61fe6f5864b0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1519
#7  0x000074b183eccf0c in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x61fe6f5864b0, create=true) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#8  0x000074b183ecd905 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x74b0b8002210, surface=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318
#9  0x000074b18b2adc28 in QOpenGLContext::makeCurrent (this=0x74b0b8001f60, surface=0x61fe6e8b8330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:664
#10 0x000074b18b46f112 in QRhiGles2::ensureContext(QSurface*) const [clone .constprop.0] (this=0x74b0b80018c0, surface=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhigles2.cpp:632
#11 0x000074b18c218647 in QSGRenderThread::invalidateGraphics (this=0x61fe6f50af30, window=0x61fe6f264dd0, inDestructor=true) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:473
#12 QSGRenderThread::event (this=0x61fe6f50af30, e=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:368
#13 0x000074b18c219f9a in QSGRenderThread::processEventsAndWaitForMore (this=0x61fe6f50af30) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:869
#14 QSGRenderThread::run (this=0x61fe6f50af30) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:991
#15 0x000074b18aac9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#16 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#17 QThreadPrivate::start (arg=0x61fe6f50af30) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#18 0x000074b18a2a6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#19 0x000074b18a32a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 2 Nate Graham 2024-06-25 22:36:11 UTC
*** Bug 489065 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-06-26 16:03:23 UTC
*** Bug 489211 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-06-27 19:14:11 UTC
*** Bug 489309 has been marked as a duplicate of this bug. ***
Comment 5 duha.bugs 2024-06-28 18:57:06 UTC
*** Bug 489369 has been marked as a duplicate of this bug. ***
Comment 6 duha.bugs 2024-06-28 18:58:43 UTC
*** Bug 489363 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-06-28 19:25:58 UTC
*** Bug 489072 has been marked as a duplicate of this bug. ***
Comment 8 mitchell 2024-06-29 01:44:35 UTC
Hello, I can confirm this is a bug. I get crashes in plasmashell whenever my primary screen turns off - including when the system sleeps. New issue in 6.1.

This is particularly bad for me as my primary screen has a firmware bug causing it to appear disconnected to the video card even when it's turned off via the onscreen display. So when I turn my main screen off and then back on, plasmashell crashes as it appears as if I had unplugged it and replugged it.

My stack trace is the same as the one already in the thread。
Comment 9 Akseli Lahtinen 2024-07-02 08:22:46 UTC
*** Bug 489419 has been marked as a duplicate of this bug. ***
Comment 10 Akseli Lahtinen 2024-07-02 08:23:09 UTC
*** Bug 489370 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2024-07-02 19:46:34 UTC
*** Bug 489535 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2024-07-02 20:00:52 UTC
*** Bug 489458 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-07-02 20:02:10 UTC
*** Bug 488730 has been marked as a duplicate of this bug. ***