Skip to content

App hangs on macOS / Apple Silicon when run under Rosetta #76356

@theolivenbaum

Description

@theolivenbaum

Description

We're trying to diagnose an issue some of our users are hitting when running our app under Rosetta 2. The issue happens both in net60 and the latest net70 preview.

The app just stops responding to any input and hangs forever, sometimes in an idle state, sometimes still using 30% CPU but doing nothing. Logs also stop being emitted, so I'm just assuming the whole process is stuck.

Is there any hits or documentation available on how to debug or get a process dump when running a dotnet app under Rosetta?

Thanks!

Reproduction Steps

Don't have anything yet, but this happens on our macOS app when running on Apple Silicon

Expected behavior

App runs without hanging. Note that this is fine on Intel-based macOS devices.

Actual behavior

App hangs forever and needs to be killed.

Regression?

No response

Known Workarounds

No response

Configuration

Issue happens on both net60 and net70 latest preview. Running on ARM64 (i.e. Apple Silicon) under Rosetta, latest macOS 12.

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions