Bug 490253

Summary: Plasma shell crash when closing the laptop lid, and external display connected
Product: [Plasma] plasmashell Reporter: Amir M <amir.malki>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 6.1.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Amir M 2024-07-14 05:08:19 UTC
Application: plasmashell (6.1.2)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.6-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 40 (Forty)"
DrKonqi: 6.1.2 [CoredumpBackend]

-- Information about the crash:
I'm using Fedora 40, kernel 6.9.6-200.fc40.x86_64, with manually install nvidia driver v550.90.07.
I encounter this connect my external this bug when I:
1. connect my external display (Leneovo P40w-20) via Thunderbolt 4 cable (USB4)
2. power on my laptop
3. login to my account - both displays works (side by side), the task bar of my laptop display
4. close the laptop lid - the display configuration is adjusting (correctly), moving the task bar to the external display

and then I get the plasma shell crash window

HW Info:
* Lenovo ThinkPad P1 Gen 4i laptop
  * Intel i7-11850H
  * NVIDIA RTX A4000 Laptop GPU
* External display - Leneovo P40w-20

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=this@entry=0x561505a8e1f0) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:956
#6  0x00007f56c0babb9b in QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x561505a8e1f0) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1519
#7  QtWaylandClient::QWaylandWindow::scale (this=this@entry=0x561505a8e1f0) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1516
#8  0x00007f56aa972fdb in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x561505a8e1f0, create=true) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#9  0x00007f56aa973973 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x561505eacec0, surface=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318


Reported using DrKonqi
Comment 1 Amir M 2024-07-14 05:08:20 UTC
Created attachment 171648 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Antonio Rojas 2024-07-14 07:21:37 UTC

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