[Mono] AOT compiler segfaults when building tests #56480
Labels
area-Codegen-AOT-mono
blocking-clean-ci
Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Milestone
Discovered in #56316
When we go to AOT our functional tests, the aot compiler crashes with a segmentation fault (11). When peeling back what's going on, the backtrace shows us:
If we go to the 2nd frame and print the important method details, we get:
Which leads to this block that was changed in the PR #56316 https://github.com/dotnet/runtime/blob/96673df0d1ba24cf2be4ec9529a6ba54f7d97902/src/libraries/System.Private.CoreLib/src/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs#L187-L280
@vargaz it looks like foreach may be causing problems under certain conditions.
The text was updated successfully, but these errors were encountered: