Skip to content

[Mono] Bus error when running dotnet exec on osx arm64 #49042

@steveisok

Description

@steveisok

On an M1, build the mono runtime using:

./build.sh -Subset mono+libs -os osx -arch arm64

Next, run a test:

./dotnet.sh build /t:Test src/libraries/System.Buffers/tests/ /p:TargetOS=osx /p:TargetArchitecture=arm64

You'll notice the process terminates with:

Bus error: 10 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Buffers.Tests.runtimeconfig.json

Sample log from one of the test failures: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-47864-merge-39128b90aa9b4eeea3/System.Buffers.Tests/console.2ab8a11f.log?sv=2019-07-07&se=2021-03-23T00%3A58%3A09Z&sr=c&sp=rl&sig=LZvXPWfSCvX4tm3mUyB5dg90y8%2FC4OaSzWG68iDnM%2Fc%3D

Core dump: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-47864-merge-39128b90aa9b4eeea3/System.Buffers.Tests/core.41853?sv=2019-07-07&se=2021-03-23T00%3A58%3A09Z&sr=c&sp=rl&sig=LZvXPWfSCvX4tm3mUyB5dg90y8%2FC4OaSzWG68iDnM%2Fc%3D

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions