netcoredbg
netcoredbg copied to clipboard
'terminated by signal SIGSEGV (Address boundary error)' while running on mac
When I create a clean console application and download the latest macos binaries and then run the following:
./netcoredbg --run --interpreter=vscode -- dotnet ~/path/to/project/project.dll
I get the following result:
{"body":{},"event":"initialized","seq":"1","type":"event"}fish: Job 1, './netcoredbg --run --interprete…' terminated by signal SIGSEGV (Address boundary error)
See neofetch below:
'c.
,xNMM. --------------------------
.OMMMMo OS: macOS 12.5.1 21G83 arm64
OMMM0, Host: MacBookPro18,2
.;loddo:' loolloddol;. Kernel: 21.6.0
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 50 mins
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 1 (port), 154 (brew)
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: fish 3.5.1
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 1920x1080, 1728x1117
:MMMMMMMMMMMMMMMMMMMMMMMM: DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM: yabai
kMMMMMMMMMMMMMMMMMMMMMMMMWd. Terminal: kitty
.XMMMMMMMMMMMMMMMMMMMMMMMMMMk CPU: Apple M1 Max
.XMMMMMMMMMMMMMMMMMMMMMMMMK. GPU: Apple M1 Max
kMMMMMMMMMMMMMMMMMMMMMMd Memory: 3565MiB / 32768MiB
;KMMMMMMMWXXWMMMMMMMk.
.cooc,. .,
The result of dotnet --info
: (Installed via homebrew with: brew install dotnet-sdk
)
.NET SDK (reflecting any global.json):
Version: 6.0.401
Commit: 0906eae6f8
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.5
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.401/
global.json file:
Not found
Host:
Version: 6.0.9
Architecture: arm64
Commit: 163a63591c
.NET SDKs installed:
6.0.401 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Let me know if more information is needed
Host: Architecture: arm64
Please note, at this moment we don't support Mac M1 (arm64). You can't use amd64 binary, that we provide, with arm64 .Net SDK. See related issues: https://github.com/Samsung/netcoredbg/issues/98 https://github.com/Samsung/netcoredbg/issues/102
Fair enough, are there any plans to support amd64 in the future?
@Rahmerh there is no official plans for supporting of M1 architecture, but @codeprefect from community is working on it #103, we are open for PRs. In common there is shouldn't be big issues since we support linux aarch64, but might be some tricks.
@Rahmerh, please test out this binary built from #103 for your use case. https://github.com/codeprefect/netcoredbg/releases/tag/2.2.0-950
Yep! That one worked for me