https://bugs.kde.org/show_bug.cgi?id=468415

            Bug ID: 468415
           Summary: plasmashell crashed when interacting with the
                    Application Launcher menu icon with radeonsi and
                    amdgpu errors
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-crash
          Assignee: plasma-b...@kde.org
          Reporter: matt.fagn...@bell.net
  Target Milestone: 1.0

SUMMARY

I was using Plasma 5.27.4 on Wayland in a Fedora 38 KDE Plasma installation. I
used Firefox 114.0a1 20230411215906 on Wayland and closed it. The Firefox crash
reporter appeared due to a crash like that reported at
https://bugzilla.mozilla.org/show_bug.cgi?id=1826583 I clicked Quit Firefox
with the report checkbox enabled. I moved the mouse cursor to the bottom-left
of the screen over the Application Launcher menu icon, and I was going to click
on it. The menu didn't appear. plasmashell crashed, and the screen went black.
Plasma restarted automatically. The journal at the time of the crash showed
plasmashell errors like plasmashell[1443]: EE
../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557
si_build_shader_variant - Failed to build shader variant (type=4) and
plasmashell[1443]: amdgpu: The CS has been rejected (-9), but the context isn't
robust. These errors involve the radeonsi mesa 23.0.1 driver and amdgpu 6.2.10
kernel driver. Given the error plasmashell[1443]: LLVM failed to upload shader,
LLVM might be involved. llvm 16.0.0 is installed. 

Apr 12 00:52:42 plasmashell[6623]: ExceptionHandler::GenerateDump cloned child
Apr 12 00:52:42 plasmashell[6941]: ExceptionHandler::WaitForContinueSignal
waiting for continue signal...
Apr 12 00:52:42 plasmashell[6623]: 6941
Apr 12 00:52:42 plasmashell[6623]: ExceptionHandler::SendContinueSignalToChild
sent continue signal to child
Apr 12 00:52:42 crashreporter[6942]: Theme parsing error: gtk.css:1649:16:
'-gtk-icon-size' is not a valid property name
Apr 12 00:52:42 crashreporter[6942]: Theme parsing error: gtk.css:1652:16:
'-gtk-icon-size' is not a valid property name
Apr 12 00:52:44 plasmashell[6942]: Failed to open curl lib from binary, use
libcurl.so instead
Apr 12 00:52:45 plasmashell[1443]: trying to show an empty dialog
Apr 12 00:52:45 plasmashell[1443]: KCrash: Application 'plasmashell'
crashing...
Apr 12 00:52:45 plasmashell[1443]: LLVM failed to upload shader
Apr 12 00:52:45 plasmashell[1443]: EE
../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557
si_build_shader_variant - Failed to build shader variant (type=4)
Apr 12 00:52:45 plasmashell[1443]: amdgpu: The CS has been rejected (-9), but
the context isn't robust.
Apr 12 00:52:45 plasmashell[1443]: amdgpu: The process will be terminated.
Apr 12 00:52:45 plasmashell[1443]: KCrash: Attempting to start
/usr/libexec/drkonqi
Apr 12 00:52:46 drkonqi[6978]: kf5idletime_wayland: This plugin does not
support polling idle time
Apr 12 00:52:46 plasmashell[1443]: Unable to start Dr. Konqi
Apr 12 00:52:46 systemd[1244]: plasma-plasmashell.service: Main process exited,
code=exited, status=255/EXCEPTION
Apr 12 00:52:46 systemd[1244]: plasma-plasmashell.service: Failed with result
'exit-code'.
Apr 12 00:52:46 systemd[1244]: plasma-plasmashell.service: Consumed 35.577s CPU
time.
Apr 12 00:52:46 systemd[1244]: plasma-plasmashell.service: Scheduled restart
job, restart counter is at 1.
Apr 12 00:52:46 systemd[1244]: Stopped plasma-plasmashell.service - KDE Plasma
Workspace.
Apr 12 00:52:46 systemd[1244]: plasma-plasmashell.service: Consumed 35.577s CPU
time.

plasmashell crashed when I moved the cursor over the Application Launcher menu
icon and was going to select it shortly after that. The same type of amdgpu
error was shown, but not the radeonsi one.

Apr 12 00:52:56 plasmashell[6989]: KCrash: Application 'plasmashell'
crashing...
Apr 12 00:52:56 plasmashell[6989]: amdgpu: The CS has been rejected (-9), but
the context isn't robust.
Apr 12 00:52:56 plasmashell[6989]: amdgpu: The process will be terminated.
Apr 12 00:52:56 plasmashell[6989]: KCrash: Attempting to start
/usr/libexec/drkonqi
Apr 12 00:52:57 drkonqi[7088]: kf5idletime_wayland: This plugin does not
support polling idle time
Apr 12 00:52:57 plasmashell[6989]: Unable to start Dr. Konqi
Apr 12 00:52:57 systemd[1244]: plasma-plasmashell.service: Main process exited,
code=exited, status=255/EXCEPTION
Apr 12 00:52:57 systemd[1244]: plasma-plasmashell.service: Failed with result
'exit-code'.
Apr 12 00:52:57 systemd[1244]: plasma-plasmashell.service: Consumed 6.395s CPU
time.
Apr 12 00:52:57 systemd[1244]: plasma-plasmashell.service: Scheduled restart
job, restart counter is at 2.
Apr 12 00:52:57 systemd[1244]: Stopped plasma-plasmashell.service - KDE Plasma
Workspace.
Apr 12 00:52:57 systemd[1244]: plasma-plasmashell.service: Consumed 6.395s CPU
time.

drkonqi failed to start and no crash was shown by coredumpctl so I don't have a
trace. This type of crash doesn't normally happen when interacting with the
Application Launcher menu. The problem might involve a race condition.

STEPS TO REPRODUCE
1. Boot a Fedora 38 KDE Plasma installation updated to 2023-4-11 with the
updates-testing repo enabled. The system might need to have an AMD GPU using
the radeonsi mesa driver and amdgpu kernel driver given the errors.
2. Log in to Plasma on Wayland
3. Move the cursor over the Application Launcher menu icon at the bottom-left
of the screen
4. Click on the Application Launcher menu icon at the bottom-left of the screen
5. If plasmashell didn't crash, repeat 3-4 until it does.

OBSERVED RESULT
plasmashell crashed when interacting with the Application Launcher menu icon
with radeonsi and amdgpu errors

EXPECTED RESULT
plasmashell wouldn't crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 38
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to