notaz
Certified Guru
Steven: it looks like data segment corruption to me (most likely caused by game), I'd need live gdb session to do more.
http://notaz.gp2x.de/tmp/libSDL-1.2.so.0.11.3
Thanks for the test and nice choice of sprite. I've finally went through it and implemented what's needed, would be nice if you tried it in your game with workarounds off and also checked if there are any visible performance degradation caused by extra checks. I've updated SDL git and reuploaded the binary here:OK, here is a simple test program that demonstrates the bug. I forgot to set SDL_VIDEODRIVER to omapdss first, which made it impossible to reproduce the bug. Also the double buffering means that the bug only triggers when you blit to one buffer, but not when you blit to the other. And it's a border case that only happens in quite rare blit positions, so I had to try a bit to find a problematic example. But this example reliably segfaults, at least on my Pandora.
http://notaz.gp2x.de/tmp/libSDL-1.2.so.0.11.3