chakra-core / chakra-core/ChakraCore
Crash in GCStress with concurrent GC enabled
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Running in Debug x64 configuration the GCStress tool occasionally crashes on https://github.com/microsoft/ChakraCore/blob/2422941b3755a49a73de8a7588208fe1d1c80bda/bin/GCStress/GCStress.cpp#L105
The object seems to have been corrupted since the virtual table pointer is no longer valid.

The repro rate seems to be increased if a `::Sleep(2000);` is added in the initialization of the `Recycler`, just before:
https://github.com/microsoft/ChakraCore/blob/2422941b3755a49a73de8a7588208fe1d1c80bda/lib/Common/Memory/Recycler.cpp#L841
It is reproducible in 1.9 and 1.11.21.
Any help on resolving that would be great.
Contributor guide
Assessment
This issue has not been assessed yet.