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

dotnet publish quite often fails with System.NullReferenceException on Apple Silicon #51250

Closed
k15tfu opened this issue Apr 14, 2021 · 28 comments

Comments

@k15tfu
Copy link
Contributor

k15tfu commented Apr 14, 2021

Steps to reproduce the same as for #48902, tested with dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64 on macOS 11.3 Beta 7 (see #48902 (comment)):

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext()
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

, or

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.SZArrayHelper.GetEnumerator[T]()
   at Microsoft.Build.Evaluation.ProjectCollection.RegisterLoggers(IEnumerable`1 loggers)
   at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly)
   at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary`2 globalProperties, Dictionary`2 restoreProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, TextWriter targetsWriter, Boolean detailedSummary, ISet`1 warningsAsErrors, ISet`1 warningsAsMessages, Boolean enableRestore, ProfilerLogger profilerLogger, Boolean enableProfiler, Boolean interactive, Boolean isolateProjects, GraphBuildOptions graphBuildOptions, Boolean lowPriority, String[] inputResultsCaches, String outputResultsCache)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.SZArrayHelper.GetEnumerator[T]()
   at Microsoft.Build.Evaluation.ProjectCollection.RegisterLoggers(IEnumerable`1 loggers)
   at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly)
   at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary`2 globalProperties, Dictionary`2 restoreProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, TextWriter targetsWriter, Boolean detailedSummary, ISet`1 warningsAsErrors, ISet`1 warningsAsMessages, Boolean enableRestore, ProfilerLogger profilerLogger, Boolean enableProfiler, Boolean interactive, Boolean isolateProjects, GraphBuildOptions graphBuildOptions, Boolean lowPriority, String[] inputResultsCaches, String outputResultsCache)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)

, or

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp3/Sol.csproj (in 443 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018: The "CheckForImplicitPackageReferenceOverrides" task failed unexpectedly. [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at System.SZArrayHelper.GetEnumerator[T]() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at System.Linq.Lookup`2.Create(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer) [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at System.Linq.GroupedEnumerable`2.GetEnumerator() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at Microsoft.NET.Build.Tasks.CheckForImplicitPackageReferenceOverrides.ExecuteCore() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [.../Sol-tmp3/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(257,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [.../Sol-tmp3/Sol.csproj]

, or

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp4/Sol.csproj (in 349 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018: The "ProcessFrameworkReferences" task failed unexpectedly. [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at System.Linq.Enumerable.WhereEnumerableIterator`1.Select[TResult](Func`2 selector) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at NuGet.Frameworks.FrameworkNameProvider.TryConvertOrNormalize(String key, IDictionary`2 mappings, IDictionary`2 reverse, String& value) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at NuGet.Frameworks.FrameworkNameProvider.TryGetProfile(String frameworkIdentifier, String profileShortName, String& profile) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at NuGet.Frameworks.NuGetFramework.ParseFolder(String folderName, IFrameworkNameProvider mappings) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at NuGet.Frameworks.NuGetFramework.Parse(String folderName, IFrameworkNameProvider mappings) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at NuGet.Frameworks.NuGetFramework.Parse(String folderName) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ProcessFrameworkReferences.KnownFrameworkReference..ctor(ITaskItem item) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ProcessFrameworkReferences.<>c.<ExecuteCore>b__109_0(ITaskItem item) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext() [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList() [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ProcessFrameworkReferences.ExecuteCore() [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [.../Sol-tmp4/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(64,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [.../Sol-tmp4/Sol.csproj]

, or

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp6/Sol.csproj (in 272 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error : Process terminated. System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.SZArrayHelper.GetEnumerator[T]() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.MakeTypeParameters(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.get_TypeParameters() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments, Boolean unbound) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.ConstructNamedType(NamedTypeSymbol type, SyntaxNode typeSyntax, SeparatedSyntaxList`1 typeArgumentsSyntax, ImmutableArray`1 typeArguments, ConsList`1 basesBeingResolved, BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindGenericSimpleNamespaceOrTypeOrAliasSymbol(GenericNameSyntax node, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, NamespaceOrTypeSymbol qualifierOpt) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, Boolean suppressUseSiteDiagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, Boolean suppressUseSiteDiagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters[TParameterSyntax,TParameterSymbol,TOwningSymbol](Binder binder, TOwningSymbol owner, SeparatedSyntaxList`1 parametersList, SyntaxToken& arglistToken, BindingDiagnosticBag diagnostics, Boolean allowRefOrOut, Boolean allowThis, Boolean addRefReadOnlyModifier, Boolean suppressUseSiteDiagnostics, Int32 lastIndex, Func`11 parameterCreationFunc, Boolean parsingFunctionPointer) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters(Binder binder, Symbol owner, BaseParameterListSyntax syntax, SyntaxToken& arglistToken, BindingDiagnosticBag diagnostics, Boolean allowRefOrOut, Boolean allowThis, Boolean addRefReadOnlyModifier) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbol.MakeParametersAndBindReturnType(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbolBase.MethodChecks(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.LazyMethodChecks() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.get_OverriddenOrHiddenMembers() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.CheckMembersAgainstBaseType(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.GetSynthesizedExplicitImplementations(CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.<>c__DisplayClass49_1.<ForceComplete>b__0(Int32 i) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass6_0`1.<WithCurrentUICulture>b__0(T param) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.RoslynParallel.<>c__DisplayClass1_0.<For>g__errorHandlingBody|0(Int32 i) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Environment.FailFast(System.String, System.Exception) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1<System.Exception>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.FatalError.ReportAndPropagate(System.Exception) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.FatalError.ReportAndPropagateUnlessCanceled(System.Exception, System.Threading.CancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.RoslynParallel+<>c__DisplayClass1_0.<For>g__errorHandlingBody|0(Int32) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.SZArrayHelper.GetEnumerator[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable+<SelectIterator>d__184`2[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.LargeArrayBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].AddRange(System.Collections.Generic.IEnumerable`1<System.__Canon>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.EnumerableHelpers.ToArray[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable.ToArray[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Immutable.ImmutableArray.CreateRange[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.MakeTypeParameters(Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.get_TypeParameters() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations>, Boolean) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations>) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.ConstructNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SeparatedSyntaxList`1<Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax>, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations>, Roslyn.Utilities.ConsList`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol>, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindGenericSimpleNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, Roslyn.Utilities.ConsList`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol>, Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrAliasSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, Roslyn.Utilities.ConsList`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol>, Boolean) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeOrAlias(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, Roslyn.Utilities.ConsList`1<Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol>, Boolean) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Microsoft.CodeAnalysis.CSharp.Binder, System.__Canon, Microsoft.CodeAnalysis.SeparatedSyntaxList`1<System.__Canon>, Microsoft.CodeAnalysis.SyntaxToken ByRef, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, Boolean, Boolean, Boolean, Boolean, Int32, System.Func`11<Microsoft.CodeAnalysis.CSharp.Binder,System.__Canon,Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations,System.__Canon,Microsoft.CodeAnalysis.RefKind,Int32,Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken,Boolean,Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag,System.__Canon>, Boolean) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters(Microsoft.CodeAnalysis.CSharp.Binder, Microsoft.CodeAnalysis.CSharp.Symbol, Microsoft.CodeAnalysis.CSharp.Syntax.BaseParameterListSyntax, Microsoft.CodeAnalysis.SyntaxToken ByRef, Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, Boolean, Boolean, Boolean) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbol.MakeParametersAndBindReturnType(Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbolBase.MethodChecks(Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.LazyMethodChecks() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.get_OverriddenOrHiddenMembers() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.CheckMembersAgainstBaseType(Microsoft.CodeAnalysis.CSharp.BindingDiagnosticBag, System.Threading.CancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.GetSynthesizedExplicitImplementations(System.Threading.CancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.ForceComplete(Microsoft.CodeAnalysis.SourceLocation, System.Threading.CancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ForceCompleteMemberByLocation(Microsoft.CodeAnalysis.SourceLocation, Microsoft.CodeAnalysis.CSharp.Symbol, System.Threading.CancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol+<>c__DisplayClass49_1.<ForceComplete>b__0(Int32) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.UICultureUtilities+<>c__DisplayClass6_0`1[[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<WithCurrentUICulture>b__0(Int32) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.RoslynParallel+<>c__DisplayClass1_0.<For>g__errorHandlingBody|0(Int32) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<ForWorker>b__1(System.Threading.Tasks.RangeWorker ByRef, Int32, Boolean ByRef) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.TaskReplicator+Replica`1[[System.Threading.Tasks.RangeWorker, System.Threading.Tasks.Parallel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].ExecuteAction(Boolean ByRef) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.TaskReplicator+Replica.Execute() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.TaskReplicator+Replica+<>c.<.ctor>b__4_0(System.Object) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task.InnerInvoke() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task+<>c.<.cctor>b__284_0(System.Object) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task.ExecuteFromThreadPool(System.Threading.Thread) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ThreadPoolWorkQueue.Dispatch() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Thread+StartHelper.RunWorker() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Thread+StartHelper.Run() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Thread.StartCallback() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error : System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.SZArrayHelper.GetEnumerator[T]() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.MakeTypeParameters(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamedTypeSymbol.get_TypeParameters() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments, Boolean unbound) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.Construct(ImmutableArray`1 typeArguments) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.ConstructNamedType(NamedTypeSymbol type, SyntaxNode typeSyntax, SeparatedSyntaxList`1 typeArgumentsSyntax, ImmutableArray`1 typeArguments, ConsList`1 basesBeingResolved, BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindGenericSimpleNamespaceOrTypeOrAliasSymbol(GenericNameSyntax node, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, NamespaceOrTypeSymbol qualifierOpt) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindNamespaceOrTypeOrAliasSymbol(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, Boolean suppressUseSiteDiagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Binder.BindTypeOrAlias(ExpressionSyntax syntax, BindingDiagnosticBag diagnostics, ConsList`1 basesBeingResolved, Boolean suppressUseSiteDiagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters[TParameterSyntax,TParameterSymbol,TOwningSymbol](Binder binder, TOwningSymbol owner, SeparatedSyntaxList`1 parametersList, SyntaxToken& arglistToken, BindingDiagnosticBag diagnostics, Boolean allowRefOrOut, Boolean allowThis, Boolean addRefReadOnlyModifier, Boolean suppressUseSiteDiagnostics, Int32 lastIndex, Func`11 parameterCreationFunc, Boolean parsingFunctionPointer) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.ParameterHelpers.MakeParameters(Binder binder, Symbol owner, BaseParameterListSyntax syntax, SyntaxToken& arglistToken, BindingDiagnosticBag diagnostics, Boolean allowRefOrOut, Boolean allowThis, Boolean addRefReadOnlyModifier) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbol.MakeParametersAndBindReturnType(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceOrdinaryMethodSymbolBase.MethodChecks(BindingDiagnosticBag diagnostics) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.LazyMethodChecks() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.get_OverriddenOrHiddenMembers() [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.CheckMembersAgainstBaseType(BindingDiagnosticBag diagnostics, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.GetSynthesizedExplicitImplementations(CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberContainerTypeSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ForceCompleteMemberByLocation(SourceLocation locationOpt, Symbol member, CancellationToken cancellationToken) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.<>c__DisplayClass49_1.<ForceComplete>b__0(Int32 i) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass6_0`1.<WithCurrentUICulture>b__0(T param) [.../Sol-tmp6/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at Roslyn.Utilities.RoslynParallel.<>c__DisplayClass1_0.<For>g__errorHandlingBody|0(Int32 i) [.../Sol-tmp6/Sol.csproj]

, or

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp8/Sol.csproj (in 280 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error : Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error : --- End of stack trace from previous location --- [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error : --- End of stack trace from previous location --- [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.QueueUserWorkItemCallback.Execute() [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.ThreadPoolWorkQueue.Dispatch() [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() [.../Sol-tmp8/Sol.csproj]
.../dotnet-sdk-6.0.100-preview.3.21202.5-osx-arm64/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error :    at System.Threading.Thread.StartCallback() [.../Sol-tmp8/Sol.csproj]
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 14, 2021
@mangod9
Copy link
Member

mangod9 commented Apr 15, 2021

@k15tfu is this just a dupe of #48902, is there a reason to track these separately ?

cc @sdmaclea @janvorli

@mangod9 mangod9 added arch-arm64 area-VM-coreclr os-mac-os-x macOS aka OSX and removed untriaged New issue has not been triaged by the area owner labels Apr 15, 2021
@mangod9 mangod9 added this to the 6.0.0 milestone Apr 15, 2021
@k15tfu
Copy link
Contributor Author

k15tfu commented Apr 15, 2021

@mangod9 #48902 is mostly about crashes, this one is about System.NullReferenceException. Feel free to close if you think they are the same.

@mangod9
Copy link
Member

mangod9 commented Apr 15, 2021

probably just a different incarnation of the same underlying issue. Happy to keep both active for now.

@danmoseley
Copy link
Member

This one too seems only on osx.1100.arm64.open

===========================================================================================================
/private/tmp/helix/working/B48B09CE/w/AC7D096D/e /private/tmp/helix/working/B48B09CE/w/AC7D096D/e
  Discovering: System.Collections.Concurrent.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Collections.Concurrent.Tests (found 881 of 889 test cases)
  Starting:    System.Collections.Concurrent.Tests (parallel test collections = on, max threads = 8)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in /_/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncTaskMethodBuilderT.cs:line 286
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs:line 183
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs:line 207
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in /_/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncTaskMethodBuilderT.cs:line 324
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in /_/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncTaskMethodBuilderT.cs:line 302
   at System.Threading.Tasks.AwaitTaskContinuation.<>c.<.cctor>b__17_0(Object state) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:line 670
   at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:line 697
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:line 1911
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs:line 956
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs:line 708
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs:line 57
   at System.Threading.Thread.StartCallback() in /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs:line 105
./RunTests.sh: line 162:   805 Abort trap: 6           (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Collections.Concurrent.Tests.runtimeconfig.json --depsfile System.Collections.Concurrent.Tests.deps.json xunit.console.dll System.Collections.Concurrent.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/B48B09CE/w/AC7D096D/e
----- end Sat Apr 24 01:40:39 PDT 2021 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.

@k15tfu
Copy link
Contributor Author

k15tfu commented May 17, 2021

@sdmaclea Is there anything I can help with? Does this look like a dotnet issue, or we are still waiting for the next macOS updates?

@k15tfu
Copy link
Contributor Author

k15tfu commented May 17, 2021

Similar issues with NullReferenceException: #48902, #49088, #49110, #49365, #50238, #50769, #51543, #52095, #52358, #52529.

@sdmaclea
Copy link
Contributor

@k15tfu Is this still failing on your local machine with recent macOS version? I've had trouble reproducing most of the above similar issues on my local MB Air. They are still failing in CI though...

@k15tfu
Copy link
Contributor Author

k15tfu commented May 18, 2021

@sdmaclea Yes, I have just checked it again on macOS 11.3.1 using latest dotnet-sdk-6.0.100-preview.5.21267.9-osx-arm64:

  1. Download and extract Sol.tar.gz from dotnet publish crashes with EXC_BAD_ACCESS (SIGBUS, SIGSEGV) on Apple M1 #48902
  2. Add <add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" /> to Sol/nuget.config
  3. Run for i in {1..10000}; do echo $i; $DOTNET_SDK/dotnet publish --self-contained=true -c Debug -f net6.0 -r osx-arm64 Sol.sln; rm -rf */bin */obj || break; done

I used 4 different folders and ran it simultaneously in 4 different terminals, they all failed as above:

33
Microsoft (R) Build Engine version 17.0.0-preview-21267-01+4adc47707 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
.../dotnet-sdk-6.0.100-preview.5.21267.9-osx-arm64/sdk/6.0.100-preview.5.21267.9/NuGet.targets(131,5): error : Object reference not set to an instance of an object. [.../Sol1/Sol.sln]

, or

50
Microsoft (R) Build Engine version 17.0.0-preview-21267-01+4adc47707 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Unhandled exception. Unhandled exception. Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in System.Private.CoreLib.dll:token 0x6004824+0x0
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x40
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x80
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x6004828+0x3f
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in System.Private.CoreLib.dll:token 0x6004827+0x0
   at System.Threading.Tasks.AwaitTasSystem.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in System.Private.CoreLib.dll:token 0x6004824+0x0
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x40
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x80
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x6004828+0x3f
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in System.Private.CoreLib.dll:token 0x6004827+0x0
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) in System.Private.CoreLib.dll:token 0x6002dad+0x3b
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) in System.Private.CoreLib.dll:token 0x6002d41+0x0
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() in System.Private.CoreLib.dll:token 0x6002a84+0x14
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002a5e+0xb2
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x6002b39+0x57
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x60026da+0xekContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) in System.Private.CoreLib.dll:token 0x6002dad+0x3b
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) in System.Private.CoreLib.dll:token 0x6002d41+0x0
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() in System.Private.CoreLib.dll:token 0x6002a84+0x14
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002a5e+0xb2
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x6002b39+0x57
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x60026da+0xeSystem.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in System.Private.CoreLib.dll:token 0x6004824+0x0
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x40
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x80
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x6004828+0x3f
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in System.Private.CoreLib.dll:token 0x6004827+0x0
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) in System.Private.CoreLib.dll:token 0x6002dad+0x3b
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) in System.Private.CoreLib.dll:token 0x6002d41+0x0
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() in System.Private.CoreLib.dll:token 0x6002a84+0x14
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002a5e+0xb2
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x6002b39+0x57
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x60026da+0xe

, or

60
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in System.Private.CoreLib.dll:token 0x6004824+0x0
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x40
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6002911+0x80
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in System.Private.CoreLib.dll:token 0x6004828+0x3f
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in System.Private.CoreLib.dll:token 0x6004827+0x0
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) in System.Private.CoreLib.dll:token 0x6002dad+0x3b
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state) in System.Private.CoreLib.dll:token 0x6002d41+0x0
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() in System.Private.CoreLib.dll:token 0x6002a84+0x14
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in System.Private.CoreLib.dll:token 0x6002a5e+0xb2
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in System.Private.CoreLib.dll:token 0x6002b39+0x57
   at System.Threading.Thread.StartCallback() in System.Private.CoreLib.dll:token 0x60026da+0xe

, or

19
Microsoft (R) Build Engine version 17.0.0-preview-21267-01+4adc47707 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
.../dotnet-sdk-6.0.100-preview.5.21267.9-osx-arm64/sdk/6.0.100-preview.5.21267.9/NuGet.targets(131,5): error : Object reference not set to an instance of an object. [.../Sol4/Sol.sln]

@sdmaclea
Copy link
Contributor

I just tried this with .NET 6 preview3 on macOS 11.4 (with only 100 runs).

I saw one failure which your shell script didn't catch

17
Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.                                                                         
                                                                                                                                  
  Determining projects to restore...                                                                                              
  Restored /Users/stmaclea/git/issue48902/Sol/B/B.csproj (in 239 ms).             
  Restored /Users/stmaclea/git/issue48902/Sol/C/C.csproj (in 239 ms).             
  Restored /Users/stmaclea/git/issue48902/Sol/A/A.csproj (in 239 ms).             
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018: The "Csc" task fa
iled unexpectedly. [/Users/stmaclea/git/issue48902/Sol/C/C.csproj]             
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018: System.InvalidOpe
rationException: The "Csc" task has not registered its resources. In order to use the "TaskLoggingHelper.FormatResourceString()" m
ethod this task needs to register its resources either during construction, or via the "TaskResources" property. [/Users/stmaclea/
git/issue48902/Sol/C/C.csproj]                                                                                                    
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args) [/Users/stmaclea/git/issue48902/Sol/C/C.cspro
j]                                                               
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Shared.ErrorUtilities.VerifyThrowInvalidOperation(Boolean condition, String resourceName, Object arg0) [/Users/stmaclea/git/i
ssue48902/Sol/C/C.csproj]                                                                                                         
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Utilities.TaskLoggingHelper.FormatResourceString(String resourceName, Object[] args) [/Users/stmaclea/git/issue48902/Sol/C/C.
csproj]                                                                                                                           
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Utilities.TaskLoggingHelper.LogErrorWithCodeFromResources(String subcategoryResourceName, String file, Int32 lineNumber, Int3
2 columnNumber, Int32 endLineNumber, Int32 endColumnNumber, String messageResourceName, Object[] messageArgs) [/Users/stmaclea/git
/issue48902/Sol/C/C.csproj]                                                                                                       
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Utilities.TaskLoggingHelper.LogErrorWithCodeFromResources(String messageResourceName, Object[] messageArgs) [/Users/stmaclea/
git/issue48902/Sol/C/C.csproj]
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.C
odeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/U
sers/stmaclea/git/issue48902/Sol/C/C.csproj]
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.Utilities.ToolTask.Execute() [/Users/stmaclea/git/issue48902/Sol/C/C.csproj]
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/Users/stmaclea/git/issue48902/Sol/C/C.csproj
]
/usr/local/share/dotnet/sdk/6.0.100-preview.3.21202.5/Roslyn/Microsoft.CSharp.Core.targets(71,5): error MSB4018:    at Microsoft.B
uild.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, Task
Host taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/Users/stmaclea/git/issue48902/Sol/C/C.csproj]
  A -> /Users/stmaclea/git/issue48902/Sol/A/bin/Debug/net6.0/osx-arm64/A.dll
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  A -> /Users/stmaclea/git/issue48902/Sol/A/bin/Debug/net6.0/osx-arm64/publish/
  B -> /Users/stmaclea/git/issue48902/Sol/B/bin/Debug/net6.0/osx-arm64/B.dll
  B -> /Users/stmaclea/git/issue48902/Sol/B/bin/Debug/net6.0/osx-arm64/publish/
18

I think this

for i in {1..10000}; do echo $i; $DOTNET_SDK/dotnet publish --self-contained=true -c Debug -f net6.0 -r osx-arm64 Sol.sln; rm -rf */bin */obj || break; done

Should be

for i in {1..10000}; do echo $i; $DOTNET_SDK/dotnet publish --self-contained=true -c Debug -f net6.0 -r osx-arm64 Sol.sln || break; rm -rf */bin */obj || break; done

@danmoseley
Copy link
Member

That stack above looks like dotnet/msbuild#6253

@sdmaclea
Copy link
Contributor

sdmaclea commented May 19, 2021

I ran this a few more times with preview3 and with the script modified as above.

I saw a total of 22 failures in 1026 publish runs.

I guess I'll try with a recent daily build with:

  • a Checked version of the runtime
  • Non PAL logging enabled
  • Stress log enabled
  • Core dump enabled

Maybe that will help root cause the issue

@danmoseley
Copy link
Member

Note that dotnet/msbuild#6253 here is just causing an exception while it's trying to log a (?fatal) compiler error. So it's quite possible it's a NRE in Roslyn, for example. (cc @jaredpar to correct me, as I see he's tracked that issue)

@danmoseley
Copy link
Member

Per linked issue, the Csc task problem is fixed in latest SDK builds.

@k15tfu
Copy link
Contributor Author

k15tfu commented May 20, 2021

@sdmaclea Yep, it was a typo. I used || break for dotnet only, not for rm; Please tell me if I can help you with anything.

@mfilippov
Copy link
Contributor

@sdmaclea I see a similar random NullReferenceException in MSBuild and Roslyn, when I try to compile code on my M1 Mac Mini.

@mangod9
Copy link
Member

mangod9 commented May 27, 2021

@mfilippov yeah this is not related to publish specifically. Its an intermittent failure within the runtime.

@mfilippov
Copy link
Contributor

@mangod9 Any news about this issue? It is a painful problem for Apple M1 workloads.

@mangod9
Copy link
Member

mangod9 commented Jul 9, 2021

we continue to investigate, unfortunately havent been able to get it to repro under a debugger.

@jaredpar
Copy link
Member

jaredpar commented Jul 9, 2021

Think it's pretty likely that this is a duplicate of #53420.

@mangod9
Copy link
Member

mangod9 commented Jul 23, 2021

@mfilippov we investigated and this seems to be fixed with a change in preview6: #53510. Could you please check if it still fails on preview6?

@AriNuer
Copy link

AriNuer commented Jul 23, 2021

Failed again in runtime-coreclr r2r 20210721.1

Failed test:

R2R OSX arm64 Checked @ OSX.1100.ARM64.Open

- JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06/struct06.sh

R2R OSX arm64 Checked no_tiered_compilation @ OSX.1100.ARM64.Open

- JIT/HardwareIntrinsics/X86/Sse2/ConvertScalarToVector128Single_r/ConvertScalarToVector128Single_r.sh
- JIT/HardwareIntrinsics/X86/Sse2.X64/Sse2.X64_ro/Sse2.X64_ro.sh
- Regressions/coreclr/GitHub_12224/Test12224/Test12224.sh
- baseservices/threading/generics/threadstart/GThread02/GThread02.sh
- Interop/PrimitiveMarshalling/Bool/BoolTest/BoolTest.sh

One of error messages:

/private/tmp/helix/working/970B092B/w/A04D08C1/e/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06/struct06.sh: line 229: -r:/private/tmp/helix/working/970B092B/w/A04D08C1/e/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06/IL-CG2/.dll: No such file or directory
rm: /private/tmp/helix/working/970B092B/w/A04D08C1/e/JIT/Generics/Arrays/ConstructedTypes/Jagged/struct06/struct06.dll.rsp: No such file or directory
Unhandled exception. System.AggregateException: One or more errors occurred. (Code generation failed for method '[struct06]Test.Main()')
---> ILCompiler.CodeGenerationFailedException: Code generation failed for method '[struct06]Test.Main()'
---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.SZArrayHelper.GetEnumeratorT in System.Private.CoreLib.dll:token 0x6000158+0x0
at ILCompiler.ReadyToRunCompilationModuleGroupBase.ComputeInstantiationVersionsWithCode(Instantiation inst, TypeSystemEntity entityWithInstantiation) in ILCompiler.ReadyToRun.dll:token 0x60000db+0x0
at ILCompiler.ReadyToRunCompilationModuleGroupBase.ComputeTypeVersionsWithCode(TypeDesc type) in ILCompiler.ReadyToRun.dll:token 0x60000d9+0x3a
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) in System.Collections.Concurrent.dll:token 0x60000d3+0x4f
at ILCompiler.ReadyToRunCompilationModuleGroupBase.VersionsWithType(TypeDesc typeDesc) in ILCompiler.ReadyToRun.dll:token 0x60000cf+0x22
at ILCompiler.ReadyToRunCompilationModuleGroupBase.<ComputeInstantiationVersionsWithCode>g__ComputeInstantiationTypeVersionsWithCode|44_0(ReadyToRunCompilationModuleGroupBase compilationGroup, TypeDesc type) in ILCompiler.ReadyToRun.dll:token 0x60000dd+0x15
at ILCompiler.ReadyToRunCompilationModuleGroupBase.ComputeInstantiationVersionsWithCode(Instantiation inst, TypeSystemEntity entityWithInstantiation) in ILCompiler.ReadyToRun.dll:token 0x60000db+0xcd
at ILCompiler.ReadyToRunCompilationModuleGroupBase.ComputeTypeVersionsWithCode(TypeDesc type) in ILCompiler.ReadyToRun.dll:token 0x60000d9+0x3a
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) in System.Collections.Concurrent.dll:token 0x60000d3+0x4f
at ILCompiler.ReadyToRunCompilationModuleGroupBase.VersionsWithType(TypeDesc typeDesc) in ILCompiler.ReadyToRun.dll:token 0x60000cf+0x22
at ILCompiler.DependencyAnalysis.ReadyToRun.ModuleTokenResolver.AddModuleTokenForType(TypeDesc type, ModuleToken token) in ILCompiler.ReadyToRun.dll:token 0x60005b8+0x40
at Internal.JitInterface.CorInfoImpl.resolveToken(CORINFO_RESOLVED_TOKEN& pResolvedToken) in ILCompiler.ReadyToRun.dll:token 0x6000854+0x19a
at Internal.JitInterface.CorInfoImpl._resolveToken(IntPtr thisHandle, IntPtr ppException, CORINFO_RESOLVED_TOKEN* pResolvedToken) in ILCompiler.ReadyToRun.dll:token 0x6000773+0x7
--- End of inner exception stack trace ---
at Internal.JitInterface.CorInfoImpl.CompileMethodInternal(IMethodNode methodCodeNodeNeedingCode, MethodIL methodIL) in ILCompiler.ReadyToRun.dll:token 0x6000813+0xc8
at Internal.JitInterface.CorInfoImpl.CompileMethod(MethodWithGCInfo methodCodeNodeNeedingCode, Logger logger) in ILCompiler.ReadyToRun.dll:token 0x600071d+0x48
at ILCompiler.ReadyToRunCodegenCompilation.<ComputeDependencyNodeDependencies>b__36_0(DependencyNodeCore1 dependency) in ILCompiler.ReadyToRun.dll:token 0x600013c+0x116 at System.Threading.Tasks.Parallel.<>c__DisplayClass33_02.<ForEachWorker>b__0(Int32 i) in System.Threading.Tasks.Parallel.dll:token 0x6000072+0x0
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) in System.Threading.Tasks.Parallel.dll:token 0x6000067+0xcf --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int3


Stack trace
   at JIT_Generics._Arrays_ConstructedTypes_Jagged_struct06_struct06_._Arrays_ConstructedTypes_Jagged_struct06_struct06_sh() in JIT.Generics.XUnitWrapper.dll:token 0x6000026+0x295

@mangod9
Copy link
Member

mangod9 commented Jul 23, 2021

This will continue to fail in CI till we update the sdk in the runtime to preview6. Notice that it only fails with crossgen2 since it uses the preview4 sdk at the moment (not the live one)

@k15tfu
Copy link
Contributor Author

k15tfu commented Jul 28, 2021

@mangod9 @janvorli Hi! After upgrading to dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64, it looks much more stable and I see only few failues among 10K runs on macOS 11.5 (2x System.NullReferenceException, 2x SIGSEGV):

.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error : Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.MetadataHelpers.GetInfoForImmediateNamespaceMembers(Boolean isGlobalNamespace, Int32 namespaceNameLength, IEnumerable`1 typesByNS, StringComparer nameComparer, IEnumerable`1& types, IEnumerable`1& namespaces) in Microsoft.CodeAnalysis.dll:token 0x60010c7+0xe [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.LoadAllMembers(IEnumerable`1 typesByNS) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080b4+0x4 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENestedNamespaceSymbol.EnsureAllMembersLoaded() in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080c1+0x17 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.GetMembers(String name) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080ac+0x0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.LookupNestedNamespace(ImmutableArray`1 names) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006704+0x16 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingModuleSymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006db3+0x0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingAssemblySymbol.LookupTopLevelMetadataTypeWithCycleDetection(MetadataTypeName& emittedName, ConsList`1 visitedAssemblies, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006da3+0x49 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006956+0x0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(AssemblySymbol assembly, MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697d+0x0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697a+0xbd [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTypeByMetadataName(String metadataName, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, Boolean useCLSCompliantNameArityEncoding, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006977+0x82 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetWellKnownType(WellKnownType type) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600147d+0x80 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.CSharpAttributeData.IsSecurityAttribute(CSharpCompilation compilation) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006474+0x8 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsage(CSharpAttributeData attribute, AttributeSyntax node, CSharpCompilation compilation, AttributeLocation symbolPart, BindingDiagnosticBag diagnostics, HashSet`1 uniqueAttributeTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7d+0xa0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsageAndDecodeWellKnownAttributes(ImmutableArray`1 binders, ImmutableArray`1 attributeSyntaxList, ImmutableArray`1 boundAttributes, BindingDiagnosticBag diagnostics, AttributeLocation symbolPart) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7c+0x52 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.LoadAndValidateAttributes(OneOrMany`1 attributesSyntaxLists, CustomAttributesBag`1& lazyCustomAttributesBag, AttributeLocation symbolPart, Boolean earlyDecodingOnly, Binder binderOpt, Func`2 attributeMatchesOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a76+0xad [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.EnsureAttributesAreBound() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680c+0x15 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60067fd+0x58 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600142d+0x3b [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6001428+0x275 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6001427+0xf [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 generators, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, Boolean& reportAnalyzer, AnalyzerDriver& analyzerDriver) in Microsoft.CodeAnalysis.dll:token 0x6000b20+0x386 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x6000b1e+0x1c1 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x6000b1c+0x41 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.<Run>b__0(TextWriter tw) in csc.dll:token 0x60000c5+0x0 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.ConsoleUtil.RunWithUtf8Output[T](Boolean utf8Output, TextWriter textWriter, Func`2 func) in csc.dll:token 0x6000088+0x34 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) in csc.dll:token 0x60000a3+0x55 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunLocalCompilation(String[] arguments, BuildPaths buildPaths, TextWriter textWriter) in csc.dll:token 0x6000024+0x6 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName, Nullable`1 requestId) in csc.dll:token 0x6000021+0x9e [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc, ICompilerServerLogger logger, Nullable`1 requestId) in csc.dll:token 0x6000020+0x48 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(String[] args) in csc.dll:token 0x600009f+0x35 [.../Sol-tmp5/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) in csc.dll:token 0x600009e+0x0 [.../Sol-tmp5/C/C.csproj]
7022
Microsoft (R) Build Engine version 17.0.0-preview-21329-01+1b7661f36 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp7/B/B.csproj (in 685 ms).
  Restored .../Sol-tmp7/C/C.csproj (in 692 ms).
  Restored .../Sol-tmp7/A/A.csproj (in 713 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error : Process terminated. System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.MetadataHelpers.GetInfoForImmediateNamespaceMembers(Boolean isGlobalNamespace, Int32 namespaceNameLength, IEnumerable`1 typesByNS, StringComparer nameComparer, IEnumerable`1& types, IEnumerable`1& namespaces) in Microsoft.CodeAnalysis.dll:token 0x60010c7+0xe [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.LoadAllMembers(IEnumerable`1 typesByNS) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080b4+0x4 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENestedNamespaceSymbol.EnsureAllMembersLoaded() in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080c1+0x17 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.GetMembers(String name) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080ac+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.LookupNestedNamespace(ImmutableArray`1 names) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006704+0x16 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingModuleSymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006db3+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingAssemblySymbol.LookupTopLevelMetadataTypeWithCycleDetection(MetadataTypeName& emittedName, ConsList`1 visitedAssemblies, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006da3+0x49 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006956+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(AssemblySymbol assembly, MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697d+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697a+0xbd [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTypeByMetadataName(String metadataName, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, Boolean useCLSCompliantNameArityEncoding, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006977+0x82 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetWellKnownType(WellKnownType type) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600147d+0x80 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.CSharpAttributeData.IsSecurityAttribute(CSharpCompilation compilation) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006474+0x8 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsage(CSharpAttributeData attribute, AttributeSyntax node, CSharpCompilation compilation, AttributeLocation symbolPart, BindingDiagnosticBag diagnostics, HashSet`1 uniqueAttributeTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7d+0xa0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsageAndDecodeWellKnownAttributes(ImmutableArray`1 binders, ImmutableArray`1 attributeSyntaxList, ImmutableArray`1 boundAttributes, BindingDiagnosticBag diagnostics, AttributeLocation symbolPart) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7c+0x52 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.LoadAndValidateAttributes(OneOrMany`1 attributesSyntaxLists, CustomAttributesBag`1& lazyCustomAttributesBag, AttributeLocation symbolPart, Boolean earlyDecodingOnly, Binder binderOpt, Func`2 attributeMatchesOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a76+0xad [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.EnsureAttributesAreBound() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680c+0x15 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.GetSourceAttributesBag() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680d+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.GetAttributes() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680e+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.Symbol.Microsoft.CodeAnalysis.ISymbol.GetAttributes() in Microsoft.CodeAnalysis.CSharp.dll:token 0x6007db4+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x1d [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x57 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x57 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<IsGeneratedCodeSymbol>g__computeIsGeneratedCodeSymbol|151_0(<>c__DisplayClass151_0& ) in Microsoft.CodeAnalysis.dll:token 0x6002202+0x8 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.IsGeneratedCodeSymbol(ISymbol symbol) in Microsoft.CodeAnalysis.dll:token 0x60021ea+0x2f [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessSymbolDeclaredAsync(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d7+0x2b [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessEventCoreAsync(CompilationEvent compilationEvent, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d6+0xe7 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ProcessEventAsync(CompilationEvent e, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d4+0x95 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ProcessCompilationEventsCoreAsync(AnalysisScope analysisScope, AnalysisState analysisState, Boolean prePopulatedEventQueue, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d3+0x19c [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Environment.FailFast(System.String, System.Exception) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.FatalError.Report(System.Exception, System.Action`1<System.Exception>) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.FatalError.ReportAndPropagate(System.Exception) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.FatalError.ReportAndPropagateUnlessCanceled(System.Exception, System.Threading.CancellationToken) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<ProcessCompilationEventsCoreAsync>d__128.MoveNext() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<ProcessCompilationEventsCoreAsync>d__128.MoveNext() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<ProcessCompilationEventsCoreAsync>d__128, Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ProcessCompilationEventsCoreAsync>d__128 ByRef) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<ProcessCompilationEventsCoreAsync>d__128, Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<ProcessCompilationEventsCoreAsync>d__128 ByRef) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ProcessCompilationEventsCoreAsync(Microsoft.CodeAnalysis.Diagnostics.AnalysisScope, Microsoft.CodeAnalysis.Diagnostics.AnalysisState, Boolean, System.Threading.CancellationToken) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass127_0+<<ProcessCompilationEventsAsync>b__2>d.MoveNext() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass127_0+<<ProcessCompilationEventsAsync>b__2>d, Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<<ProcessCompilationEventsAsync>b__2>d ByRef) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass127_0+<<ProcessCompilationEventsAsync>b__2>d, Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<<ProcessCompilationEventsAsync>b__2>d ByRef) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver+<>c__DisplayClass127_0.<ProcessCompilationEventsAsync>b__2() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Tasks.Task+<>c.<.cctor>b__284_0(System.Object) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Tasks.Task.ExecuteFromThreadPool(System.Threading.Thread) [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.ThreadPoolWorkQueue.Dispatch() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Thread+StartHelper.RunWorker() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Thread+StartHelper.Run() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at System.Threading.Thread.StartCallback() [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error : System.NullReferenceException: Object reference not set to an instance of an object. [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.MetadataHelpers.GetInfoForImmediateNamespaceMembers(Boolean isGlobalNamespace, Int32 namespaceNameLength, IEnumerable`1 typesByNS, StringComparer nameComparer, IEnumerable`1& types, IEnumerable`1& namespaces) in Microsoft.CodeAnalysis.dll:token 0x60010c7+0xe [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.LoadAllMembers(IEnumerable`1 typesByNS) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080b4+0x4 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENestedNamespaceSymbol.EnsureAllMembersLoaded() in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080c1+0x17 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PENamespaceSymbol.GetMembers(String name) in Microsoft.CodeAnalysis.CSharp.dll:token 0x60080ac+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceSymbol.LookupNestedNamespace(ImmutableArray`1 names) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006704+0x16 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingModuleSymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006db3+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.NonMissingAssemblySymbol.LookupTopLevelMetadataTypeWithCycleDetection(MetadataTypeName& emittedName, ConsList`1 visitedAssemblies, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006da3+0x49 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.LookupTopLevelMetadataType(MetadataTypeName& emittedName, Boolean digThroughForwardedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006956+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(AssemblySymbol assembly, MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697d+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTopLevelTypeByMetadataName(MetadataTypeName& metadataName, AssemblyIdentity assemblyOpt, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600697a+0xbd [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.AssemblySymbol.GetTypeByMetadataName(String metadataName, Boolean includeReferences, Boolean isWellKnownType, ValueTuple`2& conflicts, Boolean useCLSCompliantNameArityEncoding, DiagnosticBag warnings, Boolean ignoreCorLibraryDuplicatedTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006977+0x82 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetWellKnownType(WellKnownType type) in Microsoft.CodeAnalysis.CSharp.dll:token 0x600147d+0x80 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.CSharpAttributeData.IsSecurityAttribute(CSharpCompilation compilation) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6006474+0x8 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsage(CSharpAttributeData attribute, AttributeSyntax node, CSharpCompilation compilation, AttributeLocation symbolPart, BindingDiagnosticBag diagnostics, HashSet`1 uniqueAttributeTypes) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7d+0xa0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.ValidateAttributeUsageAndDecodeWellKnownAttributes(ImmutableArray`1 binders, ImmutableArray`1 attributeSyntaxList, ImmutableArray`1 boundAttributes, BindingDiagnosticBag diagnostics, AttributeLocation symbolPart) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a7c+0x52 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbol.LoadAndValidateAttributes(OneOrMany`1 attributesSyntaxLists, CustomAttributesBag`1& lazyCustomAttributesBag, AttributeLocation symbolPart, Boolean earlyDecodingOnly, Binder binderOpt, Func`2 attributeMatchesOpt) in Microsoft.CodeAnalysis.CSharp.dll:token 0x6000a76+0xad [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.EnsureAttributesAreBound() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680c+0x15 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.GetSourceAttributesBag() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680d+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.GetAttributes() in Microsoft.CodeAnalysis.CSharp.dll:token 0x600680e+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.Symbol.Microsoft.CodeAnalysis.ISymbol.GetAttributes() in Microsoft.CodeAnalysis.CSharp.dll:token 0x6007db4+0x0 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x1d [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x57 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(ISymbol symbol, INamedTypeSymbol generatedCodeAttribute) in Microsoft.CodeAnalysis.dll:token 0x6000139+0x57 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<IsGeneratedCodeSymbol>g__computeIsGeneratedCodeSymbol|151_0(<>c__DisplayClass151_0& ) in Microsoft.CodeAnalysis.dll:token 0x6002202+0x8 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.IsGeneratedCodeSymbol(ISymbol symbol) in Microsoft.CodeAnalysis.dll:token 0x60021ea+0x2f [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessSymbolDeclaredAsync(SymbolDeclaredCompilationEvent symbolEvent, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d7+0x2b [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.TryProcessEventCoreAsync(CompilationEvent compilationEvent, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d6+0xe7 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ProcessEventAsync(CompilationEvent e, AnalysisScope analysisScope, AnalysisState analysisState, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d4+0x95 [.../Sol-tmp7/C/C.csproj]
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/Roslyn/Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ProcessCompilationEventsCoreAsync(AnalysisScope analysisScope, AnalysisState analysisState, Boolean prePopulatedEventQueue, CancellationToken cancellationToken) in Microsoft.CodeAnalysis.dll:token 0x60021d3+0x19c [.../Sol-tmp7/C/C.csproj]
Process:               dotnet [94348]
Path:                  /Users/USER/Downloads/*/dotnet
Identifier:            dotnet
Version:               0
Code Type:             ARM-64 (Native)
Parent Process:        dotnet [78916]
User ID:               502

Date/Time:             2021-07-27 01:40:55.426 +0200
OS Version:            macOS 11.5 (20G71)
Report Version:        12
Anonymous UUID:        694870CB-C694-2851-BBB4-D05AEB6894D1


Time Awake Since Boot: 42000 seconds

System Integrity Protection: enabled

Crashed Thread:        28

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [94348]

VM Regions Near 0:
--> 
    __TEXT                      100d78000-100d84000    [   48K] r-x/r-x SM=COW  /Users/*/Downloads/*

[...]
Thread 28 Crashed:
0   libcoreclr.dylib              	0x00000001010911f0 EECodeInfo::GetFunctionEntry() + 40
1   libcoreclr.dylib              	0x000000010122182c UnwindManagedExceptionPass1(PAL_SEHException&, _CONTEXT*) + 208
2   libcoreclr.dylib              	0x000000010122182c UnwindManagedExceptionPass1(PAL_SEHException&, _CONTEXT*) + 208
3   libcoreclr.dylib              	0x0000000101221b6c DispatchManagedException(PAL_SEHException&, bool) + 68
4   libcoreclr.dylib              	0x0000000101189be8 IL_Rethrow() + 396
5   ???                           	0x0000000281e79da4 0 + 10769374628
6   ???                           	0x0000000281e72fec 0 + 10769346540
7   ???                           	0x0000000281e72868 0 + 10769344616
8   ???                           	0x0000000281a87a7c 0 + 10765236860
9   ???                           	0x0000000281a5fc64 0 + 10765073508
10  ???                           	0x0000000281e61cbc 0 + 10769276092
11  ???                           	0x0000000281a5f894 0 + 10765072532
12  ???                           	0x0000000281a5f5c0 0 + 10765071808
13  ???                           	0x0000000281e723e4 0 + 10769343460
14  ???                           	0x0000000281a576b8 0 + 10765039288
15  ???                           	0x0000000281a575c0 0 + 10765039040
16  ???                           	0x0000000281a57518 0 + 10765038872
17  libcoreclr.dylib              	0x00000001012aa788 CallDescrWorkerInternal + 132
18  libcoreclr.dylib              	0x000000010111d454 DispatchCallSimple(unsigned long*, unsigned int, unsigned long, unsigned int) + 284
19  libcoreclr.dylib              	0x0000000101132f68 ThreadNative::KickOffThread_Worker(void*) + 148
20  libcoreclr.dylib              	0x00000001010e7e84 ManagedThreadBase_DispatchOuter(ManagedThreadCallState*) + 260
21  libcoreclr.dylib              	0x00000001010e83fc ManagedThreadBase::KickOff(void (*)(void*), void*) + 32
22  libcoreclr.dylib              	0x0000000101133040 ThreadNative::KickOffThread(void*) + 172
23  libcoreclr.dylib              	0x0000000100ff94a0 CorUnix::CPalThread::ThreadEntry(void*) + 380
24  libsystem_pthread.dylib       	0x0000000184ff3878 _pthread_start + 320
25  libsystem_pthread.dylib       	0x0000000184fee5e0 thread_start + 8

(full log is here dotnet_2021-07-27-014106.crash.txt)

and output is:

6292
Microsoft (R) Build Engine version 17.0.0-preview-21329-01+1b7661f36 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .../Sol-tmp12/C/C.csproj (in 386 ms).
.../dotnet-sdk-6.0.100-preview.6.21355.2-osx-arm64/sdk/6.0.100-preview.6.21355.2/NuGet.targets(131,5): error : Delegate to an instance method cannot have null 'this'. [.../Sol-tmp12/Sol.sln]
  Restored .../Sol-tmp12/A/A.csproj (in 385 ms).
Process:               dotnet [61262]
Path:                  /Users/USER/Downloads/*/dotnet
Identifier:            dotnet
Version:               0
Code Type:             ARM-64 (Native)
Parent Process:        zsh [14083]
User ID:               502

Date/Time:             2021-07-27 10:05:59.724 +0200
OS Version:            macOS 11.5 (20G71)
Report Version:        12
Anonymous UUID:        694870CB-C694-2851-BBB4-D05AEB6894D1


Time Awake Since Boot: 73000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [61262]

VM Regions Near 0:
--> 
    __TEXT                      100eb4000-100ec0000    [   48K] r-x/r-x SM=COW  /Users/*/Downloads/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libcoreclr.dylib              	0x000000010139e0d4 MethodTable::CheckRunClassInitThrowing() + 16
1   libcoreclr.dylib              	0x0000000101479484 JIT_ClassInitDynamicClass_Helper(DomainLocalModule*, unsigned int) + 140
2   libcoreclr.dylib              	0x0000000101479484 JIT_ClassInitDynamicClass_Helper(DomainLocalModule*, unsigned int) + 140
3   ???                           	0x0000000281d59ef0 0 + 10768195312
4   ???                           	0x0000000281917cfc 0 + 10763730172
5   ???                           	0x000000028121e5ac 0 + 10756416940
6   ???                           	0x0000000280d3a830 0 + 10751289392
7   libcoreclr.dylib              	0x00000001015a2788 CallDescrWorkerInternal + 132
8   libcoreclr.dylib              	0x0000000101415844 MethodDescCallSite::CallTargetWorker(unsigned long const*, unsigned long*, int) + 868
9   libcoreclr.dylib              	0x000000010130c658 RunMain(MethodDesc*, short, int*, PtrArray**) + 652
10  libcoreclr.dylib              	0x000000010130c944 Assembly::ExecuteMainMethod(PtrArray**, int) + 376
11  libcoreclr.dylib              	0x000000010133bc38 CorHost2::ExecuteAssembly(unsigned int, char16_t const*, int, char16_t const**, unsigned int*) + 476
12  libcoreclr.dylib              	0x00000001012f696c coreclr_execute_assembly + 208
13  libhostpolicy.dylib           	0x0000000100f9a2f4 run_app_for_context(hostpolicy_context_t const&, int, char const**) + 1056
14  libhostpolicy.dylib           	0x0000000100f9b064 corehost_main + 240
15  libhostfxr.dylib              	0x0000000100f2a954 fx_muxer_t::handle_exec_host_command(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, host_startup_info_t const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::unordered_map<known_options, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, known_options_hash, std::__1::equal_to<known_options>, std::__1::allocator<std::__1::pair<known_options const, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > > const&, int, char const**, int, host_mode_t, char*, int, int*) + 1316
16  libhostfxr.dylib              	0x0000000100f2a110 fx_muxer_t::handle_cli(host_startup_info_t const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 1276
17  libhostfxr.dylib              	0x0000000100f29a6c fx_muxer_t::execute(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, char const**, host_startup_info_t const&, char*, int, int*) + 884
18  libhostfxr.dylib              	0x0000000100f2667c hostfxr_main_startupinfo + 152
19  dotnet                        	0x0000000100ebd980 exe_start(int, char const**) + 1100
20  dotnet                        	0x0000000100ebdb6c main + 160
21  libdyld.dylib                 	0x0000000185011430 start + 4

(full log is here dotnet_2021-07-27-100601.crash.txt)

w/o output.

@mangod9
Copy link
Member

mangod9 commented Jul 28, 2021

Ok, thanks for checking. Jan recently also fixed another issue which might be contributing to this, so that should be included in rc1.

@VincentBu
Copy link
Contributor

Failed again in runtime-coreclr r2r 20210731.1

Failed test:

R2R OSX arm64 Checked @ OSX.1100.ARM64.Open

- JIT/opt/Devirtualization/Comparer_get_Default/Comparer_get_Default.sh
- JIT/Regression/CLR-x86-JIT/V1-M09/b14396/b14396/b14396.sh
- JIT/Methodical/eh/finallyexec/switchincatch_ro/switchincatch_ro.sh
- JIT/Methodical/eh/interactions/strswitchfinal_ro/strswitchfinal_ro.sh
- JIT/Regression/CLR-x86-JIT/v2.1/b608198/b608198/b608198.sh
- JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b48990/b48990b/b48990b.sh
- JIT/Regression/Dev14/DevDiv_876169/DevDiv_876169_d/DevDiv_876169_d.sh
- JIT/Methodical/cctor/xassem/xprecise2_cs_d/xprecise2_cs_d.sh
- JIT/Methodical/eh/basics/tryfinallytryfinally_ro/tryfinallytryfinally_ro.sh
- Loader/classloader/generics/Layout/General/Base02a_seq_ser/Base02a_seq_ser.sh
- JIT/Methodical/cctor/xassem/xprecise2_cs_do/xprecise2_cs_do.sh
- JIT/Methodical/eh/finallyexec/loopinfinally_ro/loopinfinally_ro.sh
- JIT/Methodical/eh/finallyexec/simplenonlocalexitnestedintrycatch_ro/simplenonlocalexitnestedintrycatch_ro.sh
- GC/API/GC/GetGCMemoryInfo/GetGCMemoryInfo.sh
- reflection/Modifiers/modifiers/modifiers.sh

Error message:

rm: IL-CG2/composite-r2r.dll: No such file or directory
/private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/ctest1_cs_d.sh: line 233: -r:/private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/IL-CG2/*.dll: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived1.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived10.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived11.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived12.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived13.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived14.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived15.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived16.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived17.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived18.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived19.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived2.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived20.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived3.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived4.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived5.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived6.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived7.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived8.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/cderived9.dll.rsp: No such file or directory
rm: /private/tmp/helix/working/AAAD08ED/w/9C5F089D/e/JIT/opt/virtualstubdispatch/hashcode/ctest1_cs_d/ctest1_cs_d.dll.rsp: No such file or directory
Unhandled exception. System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at ILCompiler.Sorting.Implementation.MergeSortCore`5.ParallelSort(TDataStructure arrayToSort, Int32 index, Int32 length, TComparer comparer) in ILCompiler.DependencyAnalysisFramework.dll:token 0x600001e+0x14
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) in Sys


Stack trace
   at JIT_opt._virtualstubdispatch_hacode_ctest1_cs_d_ctest1_cs_d_._virtualstubdispatch_hashcode_ctest1_cs_d_ctest1_cs_d_sh() in JIT.opt.XUnitWrapper.dll:token 0x6000174+0x295

@mangod9
Copy link
Member

mangod9 commented Aug 2, 2021

preview6 sdk should merge on 8/2. Hoping that would resolve this issue.

@mangod9
Copy link
Member

mangod9 commented Aug 3, 2021

I am going to close this issue now that preview6 sdk has merged into the runtime repo. The other issues are possibly fixed by #56059. Else we can open a new issue if the issue persists in rc1. Thanks for your patience while we investigated the long running issue.

@mangod9 mangod9 closed this as completed Aug 3, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants