Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
tnikolai2 opened this issue Apr 22, 2025 · 0 comments
Open
2 tasks done
Assignees

Comments

@tnikolai2
Copy link

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

mvn -Pnative package
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

@oubidar-Abderrahim oubidar-Abderrahim self-assigned this Apr 25, 2025
@oubidar-Abderrahim oubidar-Abderrahim changed the title [Native Image] --pgo-instrument option: WaitForSingleObject failed with error 0x57 [Native Image][GR-64666] --pgo-instrument option: WaitForSingleObject failed with error 0x57 Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants