recursive error 'Z_Free: freed a pointer without ZONEID'


(hummer) #1

I’m working on an ET project. After a compile, and running this with the default com_hunkmegs value, I get this error:

recursive error ‘Z_Free: freed a pointer without ZONEID’ after: Hunk_AllocateTempMemory: failed on 786488

Increasing com_hunkmegs seems to fix it. the BSP size is about 22 megs, and taking stuff out so that it reaches about 15 megs seems to fix it too. However, I’d rather fix what’s wrong rather than covering it up or take stuff out.

Any ideas what could be causing this?


(Rain) #2

This shouldn’t ever happen… it means that the zoneid on an allocated section of memory was corrupt, for one reason or another (either ET trampled on it or there’s a hardware problem; the former is probably more likely given what you describe.) Unfortunately, it’s probably not something you can fix, so you get to either cover it up or take stuff out. :suspicious:


(SCDS_reyalP) #3

q3map2 -info may show you which part is unually large.


(hummer) #4

It’s interesting…

I took a few entities out and moved some around that were sitting on the caulk hull (a few lights, a few path corners) and that message disappeared, and it stopped crashing to the console and the ZONEID message didn’t appear. However, I was still getting a com_hunkmegs error. The BSP would load, stop, then I’d get a message box with the error, rather than freezing ET and dropping to the console.

Anyway, I found a took out a few rogue detail brushes that were laying outside the caulk hull… recompiled, and the messages ceased. However, I fear they could come back if I started moving other stuff around… it could be just “more” covered up.

Never experienced anything like this before :confused: