-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the nightly release?
- This issue is present in the nightly release
Describe the Bug
Sunshine will fail to execute do/undo commands after executing them a certain number of times, appears to be intermitent.
To replicate the bug:
Add an app with the following do/undo commands:
{
"name": "Debug",
"output": "",
"cmd": "",
"exclude-global-prep-cmd": "true",
"elevated": "false",
"prep-cmd": [
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
},
{
"do": "",
"undo": "powershell.exe -Command \"Stop-Process -Name 'ping' -ErrorAction SilentlyContinue\"",
"elevated": "false"
}
],
"image-path": ""
}
Start the debug stream, end it at least 3 times. By the fourth time it ends, Sunshine will be unable to execute any commands (command, detached, do, undo, does not matter) because of error code -1073741801
When putting this error code through the Windows Error Lookup, this implies it is a memory problem (page file ran out) however I have adjusted my page file to 80GB in size and the issue still remains and is persistent.
There is no solution other than rebooting the sunshine service.
Expected Behavior
That it does not permanently break until you restart the Sunshine process.
Additional Context
Desktop (with prep commands disabled) works in this state still.
Host Operating System
Windows
Operating System Version
11
Architecture
64 bit
Sunshine commit or version
0.20
Package
Linux - AppImage
GPU Type
Nvidia
GPU Model
4090
GPU Driver/Mesa Version
536.67
Capture Method (Linux Only)
No response
Config
min_log_level = 1
nv_rc = vbr
channels = 2Apps
No response
Relevant log output
[2023:07:18:20:56:12]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:12]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 24316
[2023:07:18:20:56:12]: Warning: Return code [1]
[2023:07:18:20:56:12]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:12]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 3876
[2023:07:18:20:56:12]: Warning: Return code [1]
[2023:07:18:20:56:12]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:12]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 23652
[2023:07:18:20:56:12]: Warning: Return code [1]
[2023:07:18:20:56:12]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:12]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 25320
[2023:07:18:20:56:12]: Warning: Return code [1]
[2023:07:18:20:56:12]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:12]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:12]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 25888
[2023:07:18:20:56:13]: Warning: Return code [1]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 17736
[2023:07:18:20:56:13]: Warning: Return code [1]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 26040
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 8920
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 25400
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 23604
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 12572
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 14220
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 26596
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 3332
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 25456
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 16564
[2023:07:18:20:56:13]: Warning: Return code [-1073741801]
[2023:07:18:20:56:13]: Debug: Parsed executable [powershell.exe] from command [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Debug: Resolved executable [powershell.exe] to path ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"]
[2023:07:18:20:56:13]: Info: Executing Undo Cmd: [powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue"]
[2023:07:18:20:56:13]: Info: powershell.exe -Command "Stop-Process -Name 'ping' -ErrorAction SilentlyContinue" running with PID 20024
[2023:07:18:20:56:14]: Warning: Return code [-1073741801]