Skip to content

Running benchmark with BenchmarkDotNet 15.0 fails with Fatal error. 0xC0000005, WakeLock #2745

Closed
@christiannagel

Description

@christiannagel

Using version 14.0, the benchmark runs successfully. Updating to version 15, running the benchmark fails with a fatal error:

Build succeeded in 3,4s
Fatal error. 0xC0000005
   at BenchmarkDotNet.Running.WakeLock+PInvoke.PowerCreateRequest(REASON_CONTEXT)
   at BenchmarkDotNet.Running.WakeLock+PInvoke.PowerCreateRequest(System.String)
   at BenchmarkDotNet.Running.WakeLock+WakeLockSentinel..ctor(BenchmarkDotNet.Configs.WakeLockType, System.String, BenchmarkDotNet.Loggers.ILogger)
   at BenchmarkDotNet.Running.BenchmarkRunnerClean.Run(BenchmarkDotNet.Running.BenchmarkRunInfo[])
   at BenchmarkDotNet.Running.BenchmarkRunner.RunWithDirtyAssemblyResolveHelper(System.Type, BenchmarkDotNet.Configs.IConfig, System.String[])
   at BenchmarkDotNet.Running.BenchmarkRunner+<>c__DisplayClass0_0`1[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<Run>b__0()
   at BenchmarkDotNet.Running.BenchmarkRunner.RunWithExceptionHandling(System.Func`1<BenchmarkDotNet.Reports.Summary>)
   at BenchmarkDotNet.Running.BenchmarkRunner.Run[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](BenchmarkDotNet.Configs.IConfig, System.String[])
   at Program.<Main>$(System.String[])

The reason might be I'm using a Surface Copilot device with ARM CPU (Snapdragon X 12-Core X1E80100 @3.40 GHz).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions