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
Segmentation fault when attempting to create a dock with no X connections available #10576
Comments
Judging by your output this is not a bug with OBS, but rather a support issue - with your distro, not OBS. Both
and
... are errors from your X server telling you that it cannot open any further connections, and therefore OBS (or rather Qt) fails to register a Window. This is a scenario that happens when you have either too many applications open that open a socket to your X server, or (more likely) an issue with your distribution where it leaks open X server connections. I've run into the latter scenario before. You can see how many open sockets there are to your X server using ss -x src "@/tmp/.X11-unix/*" | wc -l Any return value north of 100 (which is already an extreme for regular user's usecase scenarios) points towards an issue with your Distribution. Either way, this is not an OBS issue. OBS tries to register a window, but your X server refuses to do so. |
Yup - I'm getting 250 open sockets(!), now I just have to figure out what's causing the leak on my end That said, it feels like it should be possible to avoid the segfault in such a case - I'll leave this issue open for that |
When I faced this issue it seemed to be related to a specific KDE version, so if you happen to be using KDE, that might be the issue. I don't know what version it was or what version fixed it though, since that was 2 years ago.
Not sure how to be honest. Even if it's possible though, the only other alternative is just shutting OBS down by itself, which effectively results in the same behaviour. |
Yeah - I've since reduced the number of open sockets (though I have genuinely no clue how!), so things are running more smoothly. My install is less than a year old though, so unlikely to be the same issue you had
|
Unfortually this issue also happens on Windows, obs is fine if the chat isnt docked but as soon as your try obs crashes |
Please provide a crash log and a normal OBS log. |
@dtronicsuk I'm pretty sure your problem is unrelated. You're experiencing a crash deep in Qt. Do you buy chance have any environment variables set, such as
Closing per @mihawk90 's comments. This doesn't sound like an OBS issue. |
Operating System Info
Ubuntu 22.04
Other OS
No response
OBS Studio Version
30.1.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
Can't obtain - crash on startup
OBS Studio Crash Log URL
No response
Expected Behavior
OBS not crashing
Current Behavior
OBS crashes as soon as Twitch chat loads (within about half a second of the rest of the program loading)
Steps to Reproduce
Anything else we should know?
Crash occurs in both Safe Mode and Run Normally
Relevant output (obtained from the output of
obs -v
):The text was updated successfully, but these errors were encountered: