Bug#1115705: libsdl3-0: 3.3.x regression: SDL_image's showimage example segfaults on s390x
Simon McVittie
smcv at debian.org
Tue Sep 23 11:12:30 BST 2025
On Tue, 23 Sep 2025 at 06:55:34 +0000, Pranav P wrote:
>https://paste.debian.net/1397762/
>This link contains the full backtrace generated through gdb.
Thanks, that was very helpful. I've forwarded this information to
https://github.com/libsdl-org/SDL/issues/13953 and prepared a possible
patch in https://github.com/libsdl-org/SDL/pull/14029.
I still haven't been able to reproduce this crash myself (I'm not sure
why not, perhaps there is something missing in my schroot that causes
SDL not to go down this code path) but the casts that I was suspicious
about do look like something that would work on little-endian but not on
big-endian.
Please could you try with https://github.com/libsdl-org/SDL/pull/14029
applied to your SDL3? I'm preparing an experimental upload versioned
3.3~git20250903.1+ds-2 with that patch included, so if that has arrived
on your mirror by the time you see this, you can just upgrade to it - or
if it isn't there yet, you could add the patch to 3.3~git20250903.1+ds-1
locally, and recompile.
>I am yet to reproduce this issue on the upstream github source code.
>I will do that and see if I can figure out more details.
Please try my patch first, and if that works for you, I think we can
call this solved. If the patch doesn't work, then yes, please look into
whether this is reproducible with the upstream code.
smcv
More information about the Pkg-sdl-maintainers
mailing list