Heap corruption after AreaTest is run
|Reported by:||KapiX||Owned by:||nobody|
|Blocked By:||Blocking:||#12442, #12800|
AreaTest is part of our test suite for Media Kit. 
It's fairly simple but has disastrous effect on memory. BApplication tests crash in hoard later. If it is disabled, everything is fine.
Add AreaTest contents to TBApplicationTester::BApplication1() at the beginning and merge TBApplicationTester::BApplication2() with it so that they are one test case. 
It can also be reproduced by running UnitTester with  applied (and AreaTest enabled). It should crash in QuitTest or BApplicationTest.
I suspect it's a VM subsystem issue -
clone_area is not used a lot in Haiku (if GitHub search is to be believed only accelerants, BBitmaps and Media Kit use it).
I tried to debug, but did not get very far:
the crash happens when hoard is traversed, for example here .
chunk->next is a bogus value (in my tests
0x09090808 - this one surrounded by other bogus stuff,
0x2222222 - these look like some memory write didn't go where it should).