BSOD: BAD_POOL_HEADER

Hi,

during Verifier activation I have tested a few mounting and un-mounting of the FS. The Memory Dump is attached. The function is also attached.

Why the OS does not allow me to release the memory, is there another way to verify that the pointer was properly allocated prior to release? or is it something else?

Something has corrupted the pool. You’re hitting it when you free ffs_super_block down an error path. Maybe freed it twice? Overran the buffer? Too bad the Verifier crash isn’t very useful but you need to do some debugging. Try treating it like debugging a heap corruption in user mode.