Bug 489871

Summary: Crash when switching between two monitors
Product: [Plasma] plasmashell Reporter: Bucior <bucior3663>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde.eardrum612
Priority: NOR Keywords: drkonqi
Version: 6.1.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Bucior 2024-07-07 13:03:10 UTC
Application: plasmashell (6.1.2)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.7-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.2 [CoredumpBackend]

-- Information about the crash:
I switched between main screen and tv using OSD a few times, tv has 200% scaling set up. mpv player was open

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=0x5875f1483870) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:956
#6  QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x5875f1483870) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1519
#7  0x000079796795df0c in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x5875f1483870, create=true) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#8  0x000079796795e905 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x7977544e0c50, surface=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318
#9  0x000079796ecadc28 in QOpenGLContext::makeCurrent (this=0x7977541c9e40, surface=0x5875ee5f5c50) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:664


Reported using DrKonqi
Comment 1 Bucior 2024-07-07 13:03:11 UTC
Created attachment 171455 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Kacper Koniuszy 2024-07-09 18:00:00 UTC
This is the same case as bug 489180, which was resolved upstream in Qt but the fix is probably not available in distro packages yet.

Unfortunately, even if you build Qt yourself, you might still have plasmashell crashes as there's another similar problem, see bug 489072.

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