-
Notifications
You must be signed in to change notification settings - Fork 114
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
"longjmp causes uninitialized stack frame" on loading ROMs #190
Comments
All of the emulation cores within higan use a library called libco to synchronise the emulation of the various parts of each system. libco has native support for AArch64 platforms, but if for some reason AArch64 support wasn't detected when the package was built, it would fall back to using the slow-but-fairly-portable The way libco uses The most correct solution would be to ask the Armbian people to rebuild their higan package with proper AArch64 support. The most practical solution would be to download the higan source-code and build it yourself, or switch to a different emulator. |
Thanks a lot, that makes sense. Will try to rebuild it + give a ping to armbian team. |
libco uses the AArch64 implementation if the preprocessor symbol https://github.com/higan-emu/libco/blob/master/libco.c#L16-L17 ...which I assume it should be on every AArch64 compiler. I don't know if there's compiler flags that would influence it one way or the other. |
It would be weird if libco was managing to be built without AArch64 support enabled; I have to imagine it would've been done intentionally, perhaps to fix a broken build. The sjlj version may build, but perhaps it doesn't work, bringing us here. There is one other obvious place where longjmp could be coming into play: the deflate implementation. If all of your ROMs are zipped, try unzipping one and loading it. Though, I think the deflate implementation uses longjmp correctly, so this seems unlikely. If it is neither of those two things, it is likely in another library, like GTK. If that's the case, a stack trace would be needed to figure out what's going on. |
Nah, my roms were all unzipped |
Higan starts as normal, but whenever I open any rom file I get "*** longjmp causes uninitialized stack frame ***"
For some reason it was working fine under "Orange PI OS 3.0.0" which is bullseye fork, but under Armbian it doesn't. Do you have any ideas? I gave it a try with all possible video driver settings - it's always the same
The text was updated successfully, but these errors were encountered: