Skip to content

[Native Image] --pgo-instrument option: WaitForSingleObject failed with error 0x57 #11052

Closed as not planned
@tnikolai2

Description

@tnikolai2

Describe the Issue

If the program is built with the --pgo-instrument command line option, it will exit with the error WaitForSingleObject failed with error 0x57 .
No .iprof generated.

Using the latest version of GraalVM can resolve many issues.

GraalVM Version

java version "24.0.1" 2025-04-15
Java(TM) SE Runtime Environment Oracle GraalVM 24.0.1+9.1 (build 24.0.1+9-jvmci-b01)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 24.0.1+9.1 (build 24.0.1+9-jvmci-b01, mixed mode, sharing)

Operating System and Version

Windows 11 23H2

Troubleshooting Confirmation

Run Command

target\sequrfly

Expected Behavior

.iprof generated

Actual Behavior

WaitForSingleObject failed with error 0x57 .
No .iprof generated.

Steps to Reproduce

Download simple console app with this problem

mvn -Pnative package

target\sequrfly
press enter

Additional Context

No response

Run-Time Log Output and Error Messages

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions