Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
deldelda

Weird error message when I play-test my new WAD i'm making

Recommended Posts

When I try to playtest my test level on WadAuthor, I usually could, except after I changed a texture, I got this message:

"Z_CheckHeap: block size does not touch the next block".

What the heck does this mean?

Share this post


Link to post

It's a memory allocation-related error which you get if your player ever enters an unclosed sector, or if the sector contains sidedefs which have either not been assigned to any existing sector or refer to a bad sector (such as -1). This generates a consistency check failure which tells you that the address of a block of allocated memory, plus its allocated size, does not touch the next block of allocated memory. To fix this, just remove the bad sidedef or refer it to a valid sector.

Share this post


Link to post

Uh, I have tons of unclosed sectors in my WAD and it runs fine, even in Vanilla Doom.

Share this post


Link to post

It's the bad sidedef references, not open sectors. Open sectors may cause weird rendering, but as far as I know, they do not usually crash the game.

Share this post


Link to post

I haven't experienced an open-sector Z_CheckHeap crash myself, but I remember first having that error many years ago and finding a FAQ which listed that as one of the causes. It could have been true in earlier versions of the game and fixed by v1.9.

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
Sign in to follow this  
×