CPU runaway, keyboard and focus lock-up

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

CPU runaway, keyboard and focus lock-up

#1 Post by greycat »

This is going to be the most useless bug report ever, I think. Sorry about that.

Twice now, while playing beta 9, the game has gone into a CPU-eating loop, simultaneously denying me the use of my keyboard for ANY purpose, and the ability to do anything useful with my mouse at all. The mouse pointer still moved, but it never changed shape, never brought focus to any other windows (fvwm, focus follows mouse), and never let me click anything. The only way I was able to recover the use of my X display was to ssh into my computer from another computer, and kill the t-engine process (with kill -9; no other signal had any effect).

It's not reproducible as far as I know. But it's highly annoying. The second time it happened, I think, was when I pressed 'G' after gaining a level.

My Xorg.log has these lines in it, but I don't know whether they're relevant or not, because they aren't timestamped:

Code: Select all

tossed event which came in late
mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late
mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late
mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late
And so on. There are several dozen of them.

The game's stdout/stderr log had nothing useful, but that might have been a buffering issue (unflushed output lost when I issued the SIGKILL). As I said, this isn't a useful bug report, but maybe someone has another piece of the puzzle.

Tome beta9b, compiled on Debian 5.0 i386, Linux 2.6.26, X.org 7.3 packages, Radeon 9200 RV280.

madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

Re: CPU runaway, keyboard and focus lock-up

#2 Post by madmonk »

I assume your are running full screen and not in windowed mode?

Try running with GDB it might give more information on the error!
Regards

Jon.

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

Re: CPU runaway, keyboard and focus lock-up

#3 Post by darkgod »

Yes, if you can ssh from an other box when it happens you can attach gdb to the running process, IIRC it's like taht:
gdb bin/debug/t-engine PID
With PID being the pid of the currently running process
[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 ;)

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: CPU runaway, keyboard and focus lock-up

#4 Post by greycat »

I am running in windowed mode. That's one of the things that makes this so weird. When it happens, I can move the mouse out of the T-Engine window, but it isn't functional. I can't click anything, and it doesn't change shape as it moves over different window widgets.

I am also running in gdb, as a normal step in playing, but I didn't think to run gdb in screen so that I could re-attach to the screen+gdb session from the other computer. I'll have to start doing that, I guess.

Post Reply