-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-arm64area-Diagnostics-coreclros-macos-bigsur (macOS11)tracking-external-issueThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directlyThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly
Milestone
Description
I'm not sure this is where I need to put this or if you guys are even entertaining bugs for the M1 yet, but here goes...
Repro steps
Debugging the default console "hello world" project in VSCode results in an apparent crash of the debugger:
namespace test
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Debug Console output:
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/5.0.0/System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Stack overflow.
at System.Collections.HashHelpers.GetPrime(Int32)
at System.Collections.Generic.Dictionary`2[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Initialize(Int32)
at System.Collections.Generic.Dictionary`2[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(Int32, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
at System.AppContext.Setup(Char**, Char**, Int32)
Running the dll from the command line in a terminal window is successful:
johncoleman@edgar net5.0 % ls
ref test.dll test.runtimeconfig.dev.json
test.deps.json test.pdb test.runtimeconfig.json
johncoleman@edgar net5.0 % dotnet test.dll
Hello World!
johncoleman@edgar net5.0 %
Crash is reproducible, happens every time.
Thanks.
robjansen15, joagyl, jossean-rivera, daigok, KimimaroKaguya and 17 more
Metadata
Metadata
Assignees
Labels
arch-arm64area-Diagnostics-coreclros-macos-bigsur (macOS11)tracking-external-issueThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directlyThe issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly