Bug 489598

Summary: [Wayland] SEGFAULT: Reproducible ways to consistently crash Plasmashell
Product: [Plasma] plasmashell Reporter: madness742
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 6.1.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Output captured from Crashed Processes Viewer
Menu crashing bug from scenario 1.

Description madness742 2024-07-02 12:12:27 UTC
Created attachment 171275 [details]
Output captured from Crashed Processes Viewer

SUMMARY
Plasmashell is consistently crashing since 2-3 weeks ago in three specific scenarios. It's also reproducible in a virtual machine.

STEPS TO REPRODUCE
[These steps need to be performed on a Wayland session, X11 is not affected!]

First scenario:
1. Open the application menu
2. Drag and drop a program from the menu onto the desktop
3. Observe crash

Second scenario:
1 Connect/Disconnect a secondary monitor by either doing it physically or through the software.
2. Observe crash

Third scenario:
1. Let system go into sleep mode, either by itself or manually.
2. Wake up system.
3. Observe crash
(I think this is linked to the previous scenario.)


OBSERVED RESULT
Plasmashell should not crash, like in the prior versions.

EXPECTED RESULT
Plasmashell will crash and then restart itself.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed (Version/Snapshot: 20240629)
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
CPU: AMD 7950X3D
GPU: AMD 7900 XTX
```
        apiVersion         = 1.3.278
        driverVersion      = 24.1.2
        vendorID           = 0x1002
        deviceID           = 0x744c
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = AMD Radeon RX 7900 XTX (RADV NAVI31)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 24.1.2
        conformanceVersion = 1.3.0.0
```
I'll attach a video of scenario 1 in the next message. Capture from scenario 2 is in the attachment of this message.
Comment 1 madness742 2024-07-02 12:13:25 UTC
Created attachment 171277 [details]
Menu crashing bug from scenario 1.
Comment 2 madness742 2024-07-02 12:16:19 UTC
I've also observed that the application menu will get 'stuck' when rearranging applications since this has started happening. This also causes the menu to *not* update on my second monitor, it takes a restart to reflect the new changes.  The bug can be seen in the video I attached.
Comment 3 Nate Graham 2024-07-02 17:50:01 UTC

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