-
Notifications
You must be signed in to change notification settings - Fork 550
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
Bus Error on startup #1676
Comments
Is this some ARM processor? Getting a bus error on x86/AMD64 is quite hard but significantly easier on ARM where an unaligned memory access is sufficient. Can you get a backtrace with gdb? |
That's correct, sorry should have included that. It's a iMX8MM, specifically the VAR-SOM-MX8M-MINI Backtrace:
|
Well that's not very helpful. It has jumped to what is effectively a misaligned null pointer. The next thing in the log should be the initialization of graphics. So it's possible your SDL or OpenGL is broken. You can try other OpenGL/SDL2 renderer programs to see if they work. You could also test if If all of that fails you need to somehow compile a version with a working stack trace. Usually this can be done by disabling all optimization. |
Background
Version of Chocolate Doom: git, master branch, 7a1f38c
Operating System and version: linux, Yocto kirkstone build
Game: (Doom/Heretic/Hexen/Strife/other) : Doom
Any loaded WADs and mods (please include full command line): freedoom2.wad
Bug description
Observed behavior: running chocolate-doom results in Bus error
I am building chocolate-doom on top of fsl-image-gui.
I tried building upon a more bare bones image but kept getting the following error:
Error creating window for video startup: failed to create an EGL window surface
. Switched to the 'full blown' image thinking that might resolve the issue.When I start the program I briefly get a black screen before it returns to desktop
Not sure of what next steps I can take to get it working.
Expected behavior: Game loads
The text was updated successfully, but these errors were encountered: