-
-
Notifications
You must be signed in to change notification settings - Fork 15
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 taking thread dump #122
Comments
What exactly did you do? There's at least half a dozen ways to produce a thread dump. |
I have a hanging jvm application. When I take a threadump in VisualVM or with command line tool jstack the application is crashing. Is there anything what I can provide? |
Can you provide a test case / reproduced? Also, can you try an adoptopenjdk.net/upstream.html build? |
Reproduce
I think the deadlock is an issue in the Eclipse stack. Anyway, I think the JVM should never crash when taking thread dump, therefore I thought I think this is bug in the JVM itself? But if its a bug in native code of other components (eclipse swt) than the JVM could crash and this must be fixed in this component. Is this right? Upstream Build |
Yeah, this is almost certainly an underlying Eclipse issue. We'll close this, for now, bu the Eclipse folks can reopen it if need be. |
Regarding the crash: see https://bugzilla.redhat.com/show_bug.cgi?id=1832121. The native stack looks same. Once we restore our RH account rights (lost in transition from one company to another) we will ask RH account guys to drive investigation, especially now we have here a better reproducer. I think this is JVM bug unless the opposite is proven :-). |
I'm trying to follow steps, but I fail at point 3 below: I have no idea about how to open Web Editor (I assume I have to create a project, but again, I have no idea how to proceed with that). Please could you update Axon specific steps, so that every one can reproduce it? My steps
$ cd /tmp
|
Hello @iloveeclipse The following GIF shows how you can reproduce the problem: I can pretty good reproduce the problem on my system (Ubuntu 20.04). After the web editor was open you may need to search different types in the Java Editor. The Java Editor shows up the proposal itself and next to the proposals there is a further window which shows the Javadoc. I assume that this window is based on webkit, because JavaDoc is pseudo-html and will be rendered in a "browser-like window". And it seems to be that while disposing this window the issue occurs. |
@karianna You've reopened this one. Have you reached the conclusion that this isn't an Eclipse issue? |
@alexsuter Can you re-run this with Jacoco removed? Also, can you try our nightly 11.0.8? |
I'm currently on holiday. I will give you feedback next week! |
|
I got my wires crossed on Jacoco sorry! |
@aahlenst I will choose option one and try to get in touch with Read Hat. |
While the JVM bug is still there and not fixed (https://bugzilla.redhat.com/show_bug.cgi?id=1897150), Eclipse specific crashes should be fixed now with 4.19, see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=569853. |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
This was marked as a won't fix for Java 11 upstream (it is resolved in 17). Clients will need to use the API calls in the correct order |
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f20570e8559, pid=16013, tid=16026
JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10)
Java VM: OpenJDK 64-Bit Server VM (11.0.7+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
C [libpthread.so.0+0x12559] pthread_getcpuclockid+0x9
hs_err_pid16013.log
The text was updated successfully, but these errors were encountered: