Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Foxpup

AutoDoom r5712 infinite loop until OOM on ouroboros stairbuilders

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×