Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: possible pointer-to-random-memory during hashmap evacuate #21459
Probably since the GC cared about invalid pointers (1.6?).
It's a very hard bug to trigger. You'd have to be evacuating to the last bucket in an array of map buckets, or an overflow bucket, be evacuating just the right number of elements, and get interrupted at just the right time.
But if it did trigger it would be one of those annoying and hard to track down "sweep increased allocation count" bugs.
The fix is super simple.
referenced this issue
Aug 18, 2017
We pushed the overflow pointer to the end of the bucket a while ago to solve exactly this sort of problem, so this actually isn't a bug. Even if the pointer points past the end of the value array, it doesn't point past the end of the bucket.