-
Notifications
You must be signed in to change notification settings - Fork 396
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
SEGFULT in portLibrary.str_printf() calls #7373
Comments
I was building and testing on a Linux on Z machine. I don't know if it is happens on other platforms like X86 or not! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I was investigating an issue in openj9, I noticed an Assertion is causing segfult instead of printing the proper message.
the error happens when the assertion tries to generate an output in this method.
I was working on a JDK21 custom build and this is the stack trace:
I also check with GDB and the pointer it was returning (0xe22fffc9f74) was not a valid memory address:
It might be an openJ9 build issue but I did not investigate since I was working on a different task.
To reproduce the bug, the easiest way might be to run a java application in GDB and put a breakpoint here and change the
logValue
to a negative number to make the assertions fail and triggers the issue.This part of the code would be triggered anytime that GC increases the heap size so any java application with a bunch of heap allocation would work.
The text was updated successfully, but these errors were encountered: