Wonder boy (FBA) makes retroarch crash

I’ve been trying to load Wonder Boy (wboy.zip) on the Final Burn Alpha v0.2.97.38 core, but it makes retroarch crash.

This happens both on windows and on my raspberry pi. On windows I immediately get a “retroarch.exe has stopped working” windows dialog, and retroarch gets closed without giving me any error to diagnose the problem. The same happens when using retroarch_debug.

The game works fine on the standalone FBA emulator (same version) and I can play other games fine with the retroarch core. wboy.zip is the parent rom, clones of that rom also crash retroarch. I’m using the correct roms for this version of FBA.

Thanks for your help

Can you get us a log?

Here you have a log

http://pastebin.com/4uGeqkGL

I think it crashes before it can log any error

I rebuilded fbalpha-libretro with DEBUG=1 to take a look at this, bug is gone when i do that xD, And this bug too : https://github.com/libretro/fbalpha/issues/94 . Seems we’ll have to build fbalpha-libretro with DEBUG=1 (i did the change on git a few seconds ago) until we figure out why debug mode is required for some game to work

Edit : I have serious doubts it is related to the DEBUG code inside fba codebase, so my guess is it is related to the switch on -OX cflag Edit2 : By the way, post those bugs on github, i don’t often check this forum for bug reports, but i get an email every time people post a bug on fbalpha-libretro github, and it is easier for me to have everything in one place.

I confirm, -O3 was at fault, i just did the change.

Thanks for finding the problem! I’ll post bugs at the github next time.

Is this going to be fixed on the buildbot? So if I update the core on the windows version or the raspberry will I get the fixed version? If so when is the fixed build going to be available_

I suppose it will be available on buildbot tomorrow ? I can’t tell you when exactly, perhaps hunterk could be more precise.

It’s probably already there, actually. The buildbot runs every 10 minutes (unless it’s stuck building something huge–like MAMEs–for all of the platforms), so turnaround on this should be pretty quick.

Ok, i thought it was once a day

I updated the core and it works perfectly now! thanks BarbuDreadMon!

edit: that’s for the windows core, the raspberry pi one hasn’t got fixed yet

raspberry pi cores are in the buildbot too ?

Btw, i noticed there is a -O3 cflag in the vita part of makefile.libretro, anyone know if those games work on vita or if i should remove this ?

I compiled from the core from source in the raspberry pi itself (retropie has an option to do that) and even though it used O3, wonder boy is working now… weird