Page 1 of 1

Hang (linux) after killing Bill

Posted: Mon May 24, 2010 7:18 pm
by greycat

Code: Select all

[PROJECTOR] res 0       1        on dam 40
[PROJECTOR] final dam   40
[LOG]   Arli hits Bill the Stone Troll for #aaaaaa#40.00 physical damage#LAST#.
[SH
That's where it hung. Not consuming CPU, not repsonsive to keyboard or mouse. Window did not redraw itself when I left the desktop (fvwm2 pager) and came back (remained as a big black rectangle). Eventually I killed the t-engine process with kill -1. There was no savefile when I re-launched the game.

There might have been more logfile stuff, but the way I'm running the game causes the log output to be buffered. (I'm doing ./bin/Debug/t-engine 2>&1 | tee logfile.) Maybe I should install expect and try this unbuffer thing it has.

I don't suppose there's any code to attempt to save the game upon receiving a (unix) signal...?

Re: Hang (linux) after killing Bill

Posted: Mon May 24, 2010 10:11 pm
by darkgod
Nope.

if this happens again can you atatch gdb to the process and see where it hangs please ?