Hang (linux) after killing Bill

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Hang (linux) after killing Bill

#1 Post 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...?

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Hang (linux) after killing Bill

#2 Post by darkgod »

Nope.

if this happens again can you atatch gdb to the process and see where it hangs please ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply