Bug 487501 - Sometimes when I wake up my two monitors from sleep, when I right click on the desktop to get the context menu, plasmashell crashes and then restarts.
Summary: Sometimes when I wake up my two monitors from sleep, when I right click on th...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-05-24 21:50 UTC by Ziad
Modified: 2024-06-14 02:59 UTC (History)
3 users (show)

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


Attachments
Backtrace of the crash. (32.78 KB, text/plain)
2024-05-24 21:50 UTC, Ziad
Details
Backtrace from coredumpctl gdb (43.12 KB, text/plain)
2024-06-12 19:59 UTC, Ziad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ziad 2024-05-24 21:50:07 UTC
Created attachment 169793 [details]
Backtrace of the crash.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Sometimes when I wake up my two monitors from sleep, when I right click on the desktop to get the context menu, plasmashell crashes and then restarts.

STEPS TO REPRODUCE
1. Have two monitors (I have an AMD 6700XT video card)
2. Wake the screen from sleep
3. Right click on the desktop to get the context menu

OBSERVED RESULT
We should get the context menu without crashing plasmashell

EXPECTED RESULT
The context menu doesn't appear and plasmashell crashes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I have an AMD 6700 XT video card. The backtrace is attached.
Comment 1 Ziad 2024-05-24 22:21:06 UTC
More info from Info Center:
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.9.0-1-MANJARO (64-bit)
Graphics Platform: Wayland
Mesa Version: 24.0.6-1
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Comment 2 Nate Graham 2024-06-12 19:31:21 UTC
Thank you for the bug report! Unfortunately I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong.

Could you please install debug symbols and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks again!
Comment 3 Ziad 2024-06-12 19:59:56 UTC
Created attachment 170438 [details]
Backtrace from coredumpctl gdb

Backtrace from coredumpctl gdb
Comment 4 Ziad 2024-06-12 20:13:53 UTC
I unfortunately, I couldn't access the gdb prompt in coredumpctl to type bt because I received the following error:

Cannot access "/var/lib/systemd/coredump/core.plasmashell.1000.24c367af4f044862be148099e8cbd88f.22882.1716552437000000.zst": No such file or directory
Comment 5 Nate Graham 2024-06-13 14:56:05 UTC
Darn. Unfortunately without that the backtrace is useless and unactionable. :( If this happens again, please feel free to open a new bug report, and make sure it has debug symbols. :) 

Your best bet is tro try using Arch's debuginfod server (see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Arch_Linux) because from what I can tell, Manjaro doesn't have its own yet. This is probably also something to bring up with the Manjaro folks (see https://forum.manjaro.org/t/any-fix-to-find-debug-symbols-for-stable-packages/140688).
Comment 6 Ziad 2024-06-14 02:59:48 UTC
I posted a new bug report with a better explanation of the steps to reproduce and with a backtrace with debug symbols:
Bug 488474 (https://bugs.kde.org/show_bug.cgi?id=488474).