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

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Michael `Wumpus' Z

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

Post 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...

:+|
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

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

Post 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.
Michael `Wumpus' Z

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

Post 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*
Locked