Closed alarixnia closed 7 years ago
What do you mean, the game will crash only if you access it from a retroarch playlist ?
Yes. Also through the load content option.
Hmmm perhaps it is worth mentioning this to @twinaphex then. What's your OS exactly ?
Arch Linux, x86_64. I also have Armbian and NetBSD amd64 to hand, where I can't reproduce it.
FWIW, I don't think this is a RetroArch bug. It's likely a memory safety issue that exists in standalone FBA but it doesn't always result in the program crashing, depending on operating system and process memory layout. I can only get standalone FB Alpha working on Windows because its SDL build system needs a bit of love...
This is quite misleading, didn't you say the bug won't happen on command line ? If the bug happen from the retroarch menu but not from command line, there is obviously something weird with retroarch. Or did you mean the fba standalone command line ? Your first post was unclear about it, this is why i asked if "the game will crash only if you access it from a retroarch playlist".
I noticed a similar issue with happy6 and kovqhsgs 6 months ago, only happening on linux x86_64 :
================================================================= ==14897==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fe7fe39e9bd sp 0x7ffe59c37a80 bp 0x7ffe59c37a90 T0)
0 0x7fe7fe39e9bc in Arm7WriteByte(unsigned int, unsigned char) src/cpu/arm7_intf.cpp:141
1 0x7fe7fe3c696a in arm7_cpu_write8 src/cpu/arm7/arm7core.c:151
2 0x7fe7fe3c696a in HandleMemSingle src/cpu/arm7/arm7core.c:920
3 0x7fe7fe3c696a in Arm7Run(int) src/cpu/arm7/arm7exec.c:1312
4 0x7fe7fd7e5184 in pgmFrame() src/burn/drv/pgm/pgm_run.cpp:873
5 0x7fe7fe5782ec in ForceFrameStep src/burner/libretro/libretro.cpp:792
6 0x7fe7fe5782ec in retro_run src/burner/libretro/libretro.cpp:1314
7 0x41b090 (/usr/bin/retroarch+0x41b090)
8 0x42ba65 (/usr/bin/retroarch+0x42ba65)
9 0x41a009 (/usr/bin/retroarch+0x41a009)
10 0x7fe8109e778f in __libc_start_main (/lib64/libc.so.6+0x2078f)
11 0x417508 (/usr/bin/retroarch+0x417508)
Never found out what was happening
It should be solved with the latest commit.
Only happens when launching games from the menu, not the command line (or standalone fba). Observable in kov2p:
Also happens with theglad and kovsh.