Alright, let's try the dump file (but you need to give me the PDBs as well
Looking at the callstack, it doesn't seem like a dangling ptr to inventory, but rather a corrupted inventory - the failing delete[] is the one deleting inventory's items.
Looking at the callstack, it doesn't seem like a dangling ptr to inventory, but rather a corrupted inventory - the failing delete[] is the one deleting inventory's items.