Skip to content

System.Runtime.CompilerServices.Unsafe.Tests crashes on NativeAOT #88339

@EgorBo

Description

@EgorBo

This test suite crashes on NativeAOT (Linux-x64) in runtime-extra-platforms pipeline in various runs, e.g.

https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-d867fba8f5e2452eb8/System.Runtime.CompilerServices.Unsafe.Tests/1/console.af12d8db.log?helixlogtype=result

or

https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-93a3d2dd051c4ab897/System.Runtime.CompilerServices.Unsafe.Tests/1/console.f5135cd7.log?helixlogtype=result

/root/helix/work/workitem/e /root/helix/work/workitem/e
Running assembly:System.Runtime.CompilerServices.Unsafe.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
./RunTests.sh: line 168:    22 Segmentation fault      (core dumped) ./System.Runtime.CompilerServices.Unsafe.Tests -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -xml testResults.xml $RSP_FILE
/root/helix/work/workitem/e
----- end Mon Jul 3 10:21:53 UTC 2023 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.
ulimit -c value: unlimited

cc @dotnet/ilc-contrib

seems to be net8.0-linux-Release-x64-NativeAOT_Release-(Alpine.315.Amd64.Open)Ubuntu.1804.Amd64 only

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions