MorphOS Developer
Posts: 1516 from 2003/2/24
From: Finland
Oh, from Wipeout documentation:
Quote:
4) Memory is filled with 0xDEADBEEF before it is freed, encouraging programs
reusing freed memory to crash. See the configuration options REUSE and
NOREUSE for more information on this subject.
So in this case it looks like it is reading pointers from memory that is already freed.
FreePooled(0x236d1b80,0xdeadbee7,0) called
FreePooled(0x236d1b80,0xdeadf005,0) called
So it is something like
free(ptr)
free(ptr->another_ptr);
although pointers are not exactly 0xdeadbeef but some offset added to it.
1 + 1 = 3 with very large values of 1