SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.42k stars 157 forks source link

[BUG] Hang while uninstalling plugins with a stuck backend #648

Open AAGaming00 opened 1 month ago

AAGaming00 commented 1 month ago

Please confirm

Bug Report Description

Uninstalling stuck plugins hangs

This can be reproduced with AutoFlatpaks in my experience

Expected Behaviour

Uninstalling a plugin that is stuck in a loop sends SIGTERM after 10s and SIGKILL after 20s

SteamOS version

SteamOS 3.6.8 Preview

Selected Update Channel

Prerelease

Have you modified the read-only filesystem at any point?

No response

Backend Logs

Jul 04 01:57:50 neptunia PluginLoader[7862]: [browser][INFO]: uninstalling AutoFlatpaks
Jul 04 01:57:50 neptunia PluginLoader[7862]: [browser][INFO]:  at dir /home/deck/homebrew/plugins/decky-autoflatpaks
Jul 04 01:57:50 neptunia PluginLoader[7862]: [browser][DEBUG]: calling frontend unload for AutoFlatpaks
Jul 04 01:57:50 neptunia PluginLoader[7862]: [wsrouter][DEBUG]: Firing frontend event loader/unload_plugin with args ('AutoFlatpaks',)
Jul 04 01:57:50 neptunia PluginLoader[7862]: [browser][DEBUG]: Plugin AutoFlatpaks was found
Jul 04 01:57:50 neptunia PluginLoader[7862]: [plugin][INFO]: Stopping plugin AutoFlatpaks

Frontend Logs

irrelevant, this is a backend issue

AAGaming00 commented 1 month ago

Might be fixed in the latest prerelease? needs more testing