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

Crash inside logging initialisation #834

Closed
zuevmaxim opened this issue Nov 2, 2023 · 2 comments
Closed

Crash inside logging initialisation #834

zuevmaxim opened this issue Nov 2, 2023 · 2 comments
Labels

Comments

@zuevmaxim
Copy link

Hi! We have a crash inside the VM call during logs initialisation. Can async-profiler cause it?

java_error_in_idea_31844.log

We use a patched version of the async-profiler built from master d29cb86 (I can share dylib in DM)

@apangin
Copy link
Collaborator

apangin commented Nov 3, 2023

The assertion error means an unhandled JNI exception has occurred in AttachListener thread before execution of a diagnostic command. The only scenario I can imagine is when env->NewStringUTF throws OutOfMemoryError. This is an unlikely event, but the crash report indeed indicates a low heap memory condition with 85 OutOfMemoryErrors happened. I committed the fix for such a case.

@apangin apangin added the bug label Nov 3, 2023
@zuevmaxim
Copy link
Author

Thank you!

@apangin apangin closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants