Unit tests crash with segment violation in heap-management code
|Reported by:||simonsouth||Owned by:||nobody|
|Has a Patch:||no||Platform:||x86-64|
UnitTester on x86_64 crashes in BApplication::QuitTest4 with a segment violation. Debug report attached.
The location of the actual crash varies between (at least)
hoardUnsbrk in arch-specific.cpp but the root cause seems to always be corruption of the heap's free-chunk list,
sFreeChunks, possibly due to the (lack of) locking the unit test performs.
Note this test runs fine on x86_gcc2, so the problem is something x86_64-specific.