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

JVM crash when connecting with YourKit profiler #178

Open
tsypanovs opened this issue Jul 25, 2024 · 3 comments
Open

JVM crash when connecting with YourKit profiler #178

tsypanovs opened this issue Jul 25, 2024 · 3 comments
Assignees

Comments

@tsypanovs
Copy link

The first file is the log of my application
The second one is JVM log
The third one is profiler's log

ConcurrencyDemoApplication-29132.log
hs_err_pid23232.log
log.txt

@morgion morgion self-assigned this Jul 26, 2024
@morgion
Copy link
Collaborator

morgion commented Jul 29, 2024

Based on the hs_err log, the issue occurs within yjpagent.dll that calls KERNELBASE.dll and doesn't handle a C++ exception correctly. Additionally, the Java call stack shows the presence of virtual threads. According to the YourKit team, this profiler does not support virtual threads (see: YourKit Forum https://www.yourkit.com/forum/viewtopic.php?t=44587).

Could you please provide a reproducer so we can further investigate the problem?

@tsypanovs
Copy link
Author

@morgion hi, here's the sample app https://github.com/stsypanov/concurrency-demo

@morgion
Copy link
Collaborator

morgion commented Jul 30, 2024

We're having problems building your application by calling gradlew assemble.

> Task :bootJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootJar'.
> Could not resolve all artifacts for configuration ':detachedConfiguration11'.
   > Cannot resolve external dependency org.springframework.boot:spring-boot-dependencies:3.3.2 because no repositories are defined.
     Required by:
         project :

Please fix your build or provide instruction on how to build it.

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