-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random segmentation fault on start #2944
Comments
Some additional context: I do end up killing the sunshine process with some regularity for testing a separate issue I have: #2614 |
I think the config file is locked by the other process and when you kill it, it doesn't release immediately? |
@ReenigneArcher I've had it occur even with a long break between killing the original process and starting a new instance. I don't do it programatically, I do it manually. If I do end up killing the original process, I usually do so from the terminal with kill -9 or ctrl+C from the running window. I.e. I don't think the previous process still has any hooks that could cause this when I usually restart. I'll keep that in mind in my repros though. Edit: sorry if it's a bit confusing; what I'm trying to say effectively is that I kill the process in such a way that it shouldn't still have the file locked regardless, and I usually have enough of a delta time between killing the old one and starting the new one that it doesn't really make sense to me. |
Please try to run under |
@cgutman here you go, I hope I did this correctly, I've never used gdb before:
|
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks! |
This issue was closed because it has been stalled for 10 days with no activity. |
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Randomly when starting up Sunshine, it will segfault while reading the configuration file. I've observed this issue only occurs on a second+ startup of Sunshine after a machine reboot. Meaning that Sunshine first startup after a fresh reboot will never cause this to occur.
Expected Behavior
Sunshine should start up every time.
Additional Context
This has been occurring since before 0.21.0 (this was the first version I ever used).
This has occurred across multiple versions of my OS (Ubuntu 22.10, Ubuntu 23.04, Ubuntu 23.10 and now Ubuntu 24.04).
This has occurred across multiple versions of graphic drivers.
No configuration changes occur in between a failing startup and a successful startup.
The issue occurs randomly, but relatively rarely. 3 out of 10 startups will segfault.
A retry of the startup will almost always work immediately. Only a handful of times has the startup segfault persisted a second time consecutively.
Host Operating System
Linux
Operating System Version
24.04
Architecture
64 bit
Sunshine commit or version
v2024.730.191523
Package
Linux - deb
GPU Type
Nvidia
GPU Model
RTXA2000
GPU Driver/Mesa Version
560.28.03
Capture Method
NvFBC (Linux)
Config
Apps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: