-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[native-image] Thread.getAllStackTraces() fails with an error #2101
Comments
This is a sample Java program that produces the error.
When you comment the line with |
@arodionov has this been merged? |
@cstancu any word on this issue it is vital for the windows javafx native image support @tiainen doing great efforts on that .....so please put it on high priority do not put it on hold sorry to say that BUT several javafx native image issues in freeze again I am sorry to say that this issue opened on Jan 27. |
Yes, it has been merged. |
I can confirm that it indeed works now. |
Hi, I'm on graalvm-community-openjdk-17.0.7+7.1 and this still seems to be an issue. When calling Thread.getAllStackTraces() the native image sometimes crashes. We call the method continuously every second and this happen.
I'll attach the full diagnostic info below. |
@arodionov sorry should I open my own bug or is are discussions seen here? |
@akainz I suggest to reopen the current issue, and in addition to stack trace also provide a simple reproducer. |
@arodionov ok I will see if I can replicate it in the 21 release and if it's still there I'll open a new issue. |
We started getting this error. It seems it started after upgrading to vertx-oracle-client 4.5.0 that pulls Oracle ojdbc 23.3.0.23.09 and it has this code in class
we have reactive tests and X number of threads accessing db so the test is failing randomly in GraalVM with the error reported in this issue. |
Which version of GraalVM is it? If it fails with the latest, could you please open a ticket? |
It is latest it seems: I will open the ticket, just to say again - it is intermittent, does not fail every time. |
Thanks for reporting! This is a very important issue. |
Created issue #7979 |
Calling
Thread.getAllStackTraces()
while more than one thread is running, fails with the following error:The text was updated successfully, but these errors were encountered: