-
Notifications
You must be signed in to change notification settings - Fork 42
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
Advanced Strategic Command (Debian: asc): crash + busy-loop #230
Comments
This looks to me like another regression in 812d58f? |
Crash is fixed, but the game is still hanging (or rather, looping with SDL_Delay(1) without doing anything else...I think). |
It's entirely possible that the game is wrong - my attempts to test all Debian's remaining SDL 1.2 games for regressions with sdl12-compat are taking me on a pretty comprehensive tour of "my first open source game" projects... |
FYI, I've added Debian testing/unstable packages starting with A to F to the Google spreadsheet of SDL 1.2 games. I briefly tested everything in that range that is a self-contained game in Debian. I haven't done bug reports for all the broken ones yet, because I want to go back to them and do better-quality bug reports with less abbreviated testing. I mostly skipped non-games (emulators, music synths, etc.) and games that require external data. I also skipped games that used to require SDL 1.2 but have subsequently been ported to SDL 2, on the assumption that their SDL 2 ports will be preferred. At some point I'll proceed through the rest of the alphabet, but there are lots of old SDL 1.2 games in Debian (many of them not really finished or release-quality IMO, but someone obviously disagreed enough to package them...) so it's a slow process. |
In this case, it's definitely a sdl12-compat issue of some sort, since classic 1.2 works here. I am still digging further. |
Actually, it might just have been the one I built from source code that was broken; the Debian build isn't hanging with sdl12-compat, but I can't get the mouse to move up to the menu bar, so the struggle continues. |
what the heck, |
It's only reproducing on that one machine, which I'm willing to chalk up to some weird window manager or driver thing for now, but the hang is still happening on the other machine, with the debian package and only with sdl12-compat, so I'm going to look at that before closing this bug. |
Please don't interpret this as being particularly high priority for me or anything - Debian's "popularity contest" says it's not a particularly widely-installed game, and I'd never installed it myself before yesterday. It just happens to have been near the beginning of the alphabet, and produced a crash report that looked useful. |
We're at the point where a lot of the popular things work really well, so I'm absolutely craving obscure things that stress the library in unexpected ways. :) |
Case in point: this turned out to be a really good fix that wasn't asc-specific! :) |
Quick note: the quirks for Civilization: Call to Power are no longer necessary to run the game, with this fix in place. |
Prerequisites:
apt install asc
(Debian package version2.6.1.0-8+b1
)libsdl1.2debian
version1.2.15+dfsg2-8
(real SDL 1.2)libsdl1.2-compat
version1.2.56-2
from Debian (which is 1.2.56 + RestoreDestAlpha: Fix out-of-bounds access to buffer #212)libsdl1.2-compat
version 1.2.58 locally-built during Steam Runtime developmentlibsdl2-2.0-0
version2.24.0+dfsg-1
libsdl-image1.2
version1.2.12-13+b1
libsdl-mixer1.2
version1.2.12-17
libsdl-sound1.2
version1.0.3-9+b1
To reproduce:
asc
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/sdl12-compat asc
(using 1.2.56-2 from Debian)LD_LIBRARY_PATH
Expected result: no crash
Actual result: the game segfaults. This backtrace is with 1.2.56:
If you're not familiar with Debian, it might be useful to know that you can enable coredump collection with
sudo apt install systemd-coredump
and debug the most recent one withDEBUGINFOD_URLS=https://debuginfod.debian.net coredumpctl gdb
.The text was updated successfully, but these errors were encountered: