-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pachi: Crash on startup #257
Comments
I'm going to continue testing other games rather than focusing on this one, but let me know if you'd like me to do a rebuild with debug symbols so we can get a useful stack trace. |
I did it (I'm probably going to need it locally anyhow, and "apt-get source pachi" makes this easy enough.)
|
Created on the line before: temp=SDL_CreateRGBSurface(SDL_SWSURFACE, screen_w, screen_h, screen_bpp, 255, 255, 255, 0); screen_w, screen_h and screen_bpp are 800, 600, and 16, respectively. |
I guess the bogus masks are what causes this. This is a different angle on the same thing rockdodger does: a bogus surface that they immediately convert with SDL_DisplaySurface. |
Confirmed fixed by 67f8b3a, 1.2.58 + 29 commits |
Prerequisites:
pipewire-pulse
emulating PulseAudioapt install pachi
(Debian package version1:1.0-10
)libsdl1.2-compat
either 1.2.58-1 (packaged in Debian experimental) or commit 63e4393 (locally built)libsdl2-2.0-0
version2.24.1+dfsg-1
libsdl-mixer1.2
version1.2.12-17+b2
libsdl1.2debian
(real SDL 1.2) version1.2.15+dfsg2-8
To reproduce:
ld.so /usr/games/pachi
LD_LIBRARY_PATH=.../sdl12-compat/_build ld.so /usr/games/pachi
SDL_VIDEODRIVER=wayland LD_LIBRARY_PATH=.../sdl12-compat/_build ld.so /usr/games/pachi
Expected result: it runs
Actual result: real SDL 1.2 works. sdl12-compat segfaults on startup with a very unhelpful stack trace (it seems
debuginfod.debian.net
doesn't have access to its debug symbols):The text was updated successfully, but these errors were encountered: