When i try to run it seems to it is failing when caling the sdl function "Blit_3or4_to_3or4__same_rgb"
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libSDL2-2.0.0.dylib+0x86367] Blit_3or4_to_3or4__same_rgb+0x1ff
C [libSDL2-2.0.0.dylib+0x6c4ac] SDL_SoftBlit+0x135
C [libSDL2-2.0.0.dylib+0xa0725] SDL_ConvertPixels_REAL+0x2b4
C [base.so+0x12651] gfxSetRGB+0x91
C [base.so+0x12012] gfxInit+0x6f2
C [base.so+0x8266] main+0x336
Hi i tried ton run some old dos game The Clou (https://github.com/vcosta/derclou) with jnr-ffi. This game use SDL libary for graphics and other functions (https://www.libsdl.org/) .
When i try to run it seems to it is failing when caling the sdl function "Blit_3or4_to_3or4__same_rgb"
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libSDL2-2.0.0.dylib+0x86367] Blit_3or4_to_3or4__same_rgb+0x1ff C [libSDL2-2.0.0.dylib+0x6c4ac] SDL_SoftBlit+0x135 C [libSDL2-2.0.0.dylib+0xa0725] SDL_ConvertPixels_REAL+0x2b4 C [base.so+0x12651] gfxSetRGB+0x91 C [base.so+0x12012] gfxInit+0x6f2 C [base.so+0x8266] main+0x336
Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000010927d128 Exception Codes: 0x0000000000000002, 0x000000010927d128
Maybe you can help me to understand where the problem can be. I have completely no idea if this is a problem of the JVM,jnr-ffi or the sdl library.