cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
891 stars 114 forks source link

Random core dump #398

Closed ghost closed 8 years ago

ghost commented 8 years ago

This happens sometimes, with a tendency towards coop mode.

May be related to keyboard input.

cxong commented 8 years ago

Could you please provide more details? Like how to reproduce? If it's hard to reproduce, try running with debug logging and saving the log file e.g. ./cdogs-sdl --log=DEBUG > debug.log

ghost commented 8 years ago

@cxong I can't reproduce it. It's really random. Guess I should run in logging mode from now on...

BTW: The log file that c-dogs created didn't contain clear text but lots of



cxong commented 8 years ago

Those are ascii colour codes for coloured logs in the terminal; I should check if the output is a terminal and not print colours in that case.

ghost commented 8 years ago

@cxong It's just that there is nothing else, apart from the C-Dogs welcome message.

cxong commented 8 years ago

Oh my bad, the logs are to stderr; so it should be ./cdogs-sdl --log=DEBUG 2> debug.log

ghost commented 8 years ago

@cxong I haven't encountered this anymore and I guess this was solved with either the configuration fix or the indexing fix.

cxong commented 8 years ago

Thanks; strange bug :ghost: