Skip to content
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

Attaching profiler breaks the execution #53

Open
joseblas opened this issue Mar 19, 2024 · 1 comment
Open

Attaching profiler breaks the execution #53

joseblas opened this issue Mar 19, 2024 · 1 comment

Comments

@joseblas
Copy link

Thank you for taking the time to help improve OpenJDK and Corretto.

If your request concerns a security vulnerability then please report it by email to [email protected] instead of here. (You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)

Otherwise, if your issue concerns OpenJDK and is not specific to Corretto we ask that you raise it to the OpenJDK community. Depending on your contributor status for OpenJDK, please use the JDK bug system or the appropriate mailing list for the given problem area or update project.

If your issue is specific to Corretto, then you are in the right place. Please proceed with the following.

Describe the bug

When profiling an app in IntelliJ Idea (Spring boot app) at some point an error crashes the execution.
Java version: "21.0.2" 2024-01-16 LTS

To Reproduce

Steps and (source) code to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:560), pid=26737, tid=142351
#  guarantee(cb != nullptr && cb->is_compiled()) failed: safepoint polling: pc must refer to an nmethod
#
# JRE version: OpenJDK Runtime Environment Corretto-21.0.2.13.1 (21.0.2+13) (build 21.0.2+13-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.2.13.1 (21.0.2+13-LTS, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# JFR recording file will be written. Location: /Users/tabo/workspace/XXXXXX/hs_err_pid26737.jfr
#
# An error report file with more information is saved as:
# /Users/tabo/workspace/XXXXXXXXX/hs_err_pid26737.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-21/issues/

Platform information

OS: [e.g. Amazon Linux 2]
Version [e.g. "Corretto-15.0.1.9.1" (output from "java -version")]

Additional context

Add any other context about the problem here.

For VM crashes, please attach the error report file. By default the file name is hs_err_pidpid.log, where pid is the process ID of the process.

@shipilev
Copy link
Member

Can you please attach the hs_err file? There are no direct hits in bugtrackers for this particular error, so the full stack trace and reproducer would be handy to understand the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants