Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'terminated by signal SIGSEGV (Address boundary error)' while running on mac #105

Open
Rahmerh opened this issue Sep 20, 2022 · 5 comments

Comments

@Rahmerh
Copy link

Rahmerh commented Sep 20, 2022

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

@Rahmerh Rahmerh changed the title Error: 0x80070002 COR_E_FILENOTFOUND error while running on mac 'terminated by signal SIGSEGV (Address boundary error)' while running on mac Sep 20, 2022
@viewizard
Copy link
Member

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:
#98
#102

@Rahmerh
Copy link
Author

Rahmerh commented Sep 20, 2022

Fair enough, are there any plans to support amd64 in the future?

@alpencolt
Copy link
Contributor

@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.

@codeprefect
Copy link
Contributor

@Rahmerh, please test out this binary built from #103 for your use case.
https://github.com/codeprefect/netcoredbg/releases/tag/2.2.0-950

@Rahmerh
Copy link
Author

Rahmerh commented Nov 6, 2022

Yep! That one worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants