Skip to content

PowerCreateRequest - Fatal error. 0xC0000005 #2757

Closed as duplicate
Closed as duplicate

Description

@nietras

After upgrading from 0.14.0 to 0.15.0 running benchmarks on github action runners no longer works:

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.BenchmarkSwitcher.RunWithDirtyAssemblyResolveHelper(System.String[], BenchmarkDotNet.Configs.IConfig, Boolean)
   at BenchmarkDotNet.Running.BenchmarkRunner.RunWithDirtyAssemblyResolveHelper(System.Type[], BenchmarkDotNet.Configs.IConfig, System.String[])

see run at https://github.com/nietras/Sep/actions/runs/15510843198/job/43671737119

Seems like power cfg change now fails hard instead of just warning that it could not change the power cfg due to lack of permissions.

Activity

  1. nietras commented on Jun 7, 2025

    @nietras
    ContributorAuthor

    Seems like issue may only occur on Windows ARM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions