Jump to content

AutoDoom r5712 infinite loop until OOM on ouroboros stairbuilders


Foxpup

Recommended Posts

Is AutoDoom still being worked on? Because I've just found a fatal bug in the way it handles ouroboros stairbuilders, namely that it doesn't seem to handle them at all, and instead freezes while consuming increasing amounts of RAM until it runs out of memory and either quits with a Z_Realloc error or is killed by the OS (it seems random which one happens first).

 

I actually first encountered this bug a while ago when a map I was working on was reliably blowing up AutoDoom, but I only just got around to investigating the cause and narrowed it down to one particular staircase. EV_BuildStairs() handles such cases implicitly by aborting if the next sector is already engaged in an action (including the stairbuilding action itself), but as far as I can tell the bot doesn't check for this at all when routing the map and just goes into an infinite loop.

 

Example map:

stairbug.wad.zip (Doom 2 MAP01)

Share this post


Link to post
  • 2 months later...

I'll note this on GitHub.

 

I've been on a long stint mucking through Eureka, but hopefully I'll be back on AutoDoom, though I'm really considering it deserves better AI by this time, and this is tough shell to break. But fatal bugs are fatal bugs and they need fixing independent on feature development.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...