Skip to content

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

Closed

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

Activity

  1. timcassell commented on May 31, 2025

    @timcassell
    Collaborator
  2. timcassell commented on Jun 2, 2025

    @timcassell
    Collaborator
  3. christiannagel commented on Jun 2, 2025

    @christiannagel
    ContributorAuthor

    @timcassell I'm currently speaking at a conference in Slovenia with limited time. I'll try to look into fixing it during the weekend.

  4. added this to the v0.15.1 milestone on Jun 7, 2025
  5. nietras commented on Jun 7, 2025

    @nietras
    Contributor

    @timcassell you can use the windows-11-arm github runner for testing.

  6. timcassell commented on Jun 7, 2025

    @timcassell
    Collaborator

    @timcassell you can use the windows-11-arm github runner for testing.

    Can you send a PR?

  7. nietras commented on Jun 8, 2025

    @nietras
    Contributor
  8. ghost added a commit that references this issue on Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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