Description
Critical section code expects to own the contents of the CS, and in particular it uses its own rules to allocate the debug info structure.
Our Rtl has a special check to handle Wine's static debug info, but with Windows's ntdll this causes invalid frees.
The VMware Hybrid builder shows several crashes due to this:
https://reactos.org/sites/all/modules/reactos/testman/compare.php?ids=44996,44995