Skip to content

[wasm] dotnet-runtime-perf - System.AccessViolationException: Attempted to read or write protected memory. #77387

Open
@radical

Description

@radical

This is failing on PERFTIGER198, which often hits odd errors, like inexplicable emcc/clang crashes. This machine might be in need of a memtest.

Build:

wasmaot.x64.micro.net7.0.Partition8
..

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at Microsoft.CodeAnalysis.CSharp.InitializerRewriter.RewriteFieldInitializer(Microsoft.CodeAnalysis.CSharp.BoundFieldEqualsValue) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at System.Collections.Immutable.ImmutableArray.CreateRange[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Immutable.ImmutableArray`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at Microsoft.CodeAnalysis.CSharp.InitializerRewriter.RewriteConstructor(System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.CSharp.BoundInitializer>, Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol, Int32, ProcessedFieldInitializers ByRef, Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields, Microsoft.CodeAnalysis.CSharp.TypeCompilationState) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at Microsoft.CodeAnalysis.CSharp.MethodCompiler+<>c__DisplayClass25_0.<CompileNamedTypeAsync>b__0() [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread) [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at System.Threading.ThreadPoolWorkQueue.Dispatch() [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]
   at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart() [/home/helixbot/work/B07409D9/w/B42C095B/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net7.0]

cc @sblom @LoopedBard3 @DrewScoggins

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions