Page 1 of 1

Infinite loop - tqueue.cc Time_queue::activate0 (maybe)

Posted: Sun Dec 02, 2001 12:53 am
by Michael `Wumpus' Z
I was flying over the Great Forest on my way back from Alagner with his notebook, when exult apparently went into an infinite loop on me; I attached gdb to it to do some exploring, and it seems that the loop that was going around forever was the one in Time_queue::activate0 ... it seemed to be spending most time in trying to do a "shy" schedule or something like that (I'm largely guessing here on the basis of function names).... at the time, there was a deer (or maybe 2) on the screen below me, along with a headless, and probably still some of the largish bat thingies were still in range (I had only just passed them), as well as probably some miscellaneous wildlife which I didn't paticularly notice. I was flying past on the magic carpet, and was thus presumably out of everyone's reach :P

I was using CVS from a day or two prior to the beta1, compiled with debug info (but also the default optimisations, which lead to all sorts of fun with inlining).

I'm running Linux (Debian, Woody) on a Pentium. I haven't been able to reproduce it :( (this, combined with the fact that its not the beta itself, is why I haven't done anything with the bug tracker)....

If there's any more information I can provide, please email me, as my reliability on following these forums is not so great...

:+|

Re: Infinite loop - tqueue.cc Time_queue::activate0 (maybe)

Posted: Sun Dec 02, 2001 11:11 pm
by drcode
The best thing would be a savegame from before the hang occurs. Then I could reproduce it, and, most likely, fix the problem.

Re: Infinite loop - tqueue.cc Time_queue::activate0 (maybe)

Posted: Tue Dec 04, 2001 8:05 am
by Michael `Wumpus' Z
Unfortunately it wasn't reporducible :-( I do have (or at least had) a savegame from relatively shortly earlier, but didn't get it happening again... *sigh*