You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[6.0] HelloWorld singlefile app does not run on arm64 macos on SDK 6.0.203 or newer #69923
Using publish command: dotnet publish -c Release -r osx-arm64 --sc .
When I enable PublishSingleFile, I get the following output on the terminal when I run my console app:
% ./app
zsh: segmentation fault ./app
With PublishReadyToRun and PublishTrimmed enabled:
Activity
bgever commentedon May 28, 2022
Can confirm I'm running into this issue with 6.0.203:
Using publish command:
dotnet publish -c Release -r osx-arm64 --sc.When I enable
PublishSingleFile, I get the following output on the terminal when I run my console app:With
PublishReadyToRunandPublishTrimmedenabled:bgever commentedon May 28, 2022
Using
export COMPlus_ZapDisable=1before running the app indeed acts as a workaround. Thanks!oransel commentedon Jun 2, 2022
Adding comments from #67062 (comment)
bgever commentedon Jul 13, 2022
No longer having this issue with SDK 6.0.302. 🎉 (6.0.301 still had it)
oransel commentedon Jul 13, 2022
Confirmed as well