-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
connecting controller results in segmentation fault on Linux with sdl2-compat installed #1129
Comments
I'm having the same issue with AntiMicroX 3.5.0-1 from extra repo |
@pktiuk Thanks for the response. I've checked the repository of sdl2-compat itself just now. There is one issue open that seems related in same way or another: libsdl-org/sdl2-compat#255. However, they claim it's not sdl2-compat itself, but the actual sdl3 backend in use that has issues. Regardless, this appears to be related to sdl2-compat. (edit: typo) |
So in this case I will wait until it will be fixed there. |
same issue. running arch with 7950x and 7800xt. hotas is already connected. starts when hotas disconnected, but segfaults when connected. |
AppImage works fine |
I am having a similar segfault on Guix, which does not use an sdl3->2 compatibility layer #1131. |
Became libsdl-org/sdl2-compat#286 with a pull request if anyone wants to test it. AntiMicroX seems happy with the changeset. At least in a simple test it worked again as expected. |
Your fix is in 2.30.52, which is already in the Arch repos. It's working beautifully, no more segfault. Great work. Closing this as resolved. |
That's great |
Is there an existing issue for this?
Current Behavior
On Arch Linux, sdl2 has been replaced with sdl2-compat, an SDL2 compatibility layer that uses SDL3 behind the scenes. With this installed, connecting any controller results in antimicrox encountering a segmentation fault (address boundary error). Downgrading back to the old sdl2 allows antimicrox to launch and run without issues.
Expected Behavior
Antimicrox should recognize the new controller and continue to run and function normally.
Steps To Reproduce
Environment
Anything else?
Debug log attached, please let me know if there's any other info I can provide that will be useful.
antimicrox3.log
The text was updated successfully, but these errors were encountered: