-
-
Notifications
You must be signed in to change notification settings - Fork 925
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 Internal Errors/Segfaults under load #1024
Comments
Sorry nobody has gotten back to you. Does this problem still stand? If you'd like us to investigate can you give use a test case where we can reproduce the problem? |
Got bitten by this issue too on Openjdk 7.0_75-b13 while running Logstash 1.1.13 (jruby 1.8/1.9?):
|
I've run into this in our very custom setup. There's a workaround of turning Method flushing off with -XX:-MethodFlushing. This may increase Code Cache memory consumption since JITTed methods won't get reclaimed so if you'd like to give it a try I'd recommend making sure you're not hitting those limits (although the risk should be pretty low: essentially no more JIT). |
Much too old, workarounds provided, and almost certainly stale. We'll just call it invalid. Any new crashers you see, please file new issues. |
headius@, I can reliably reproduce this issue with 1.7.18. Of course that's a bit stale, but I can see if I can reproduce it with later versions of JRuby too. Maybe give me 2 weeks to see and if still no positive, then obsolete it? |
@ratnikov I'd be more interested to know if you can reproduce it with recent Java 7 or 8 builds. Both of the versions you list are rather old. If we have a reproducible case on a current Java 8, we can take this to Oracle folks to investigate. So yes, get us something we can reproduce with latest JRuby 1.7/9k and recent JDKs, and we'll try to escalate! |
To clarify: if you can reproduce with latest JRuby versions on recent JDK versions, we can go ahead and reopen this. |
will do. This is what I have so far:
Definitely need to try with latest 1.7 version to see if maybe the issue went away. |
And correction: 1.8 JRE. Here's one of the crashes I get:
|
Some issues that look related: https://bugs.openjdk.java.net/browse/JDK-8139595 The method crashing is not particularly odd:
There's nothing here that our JIT or the JVM JIT should trip over. I will say it's probably likely that we won't see this in 9k because it's a completely rewritten JIT with very different output. |
Just verified that this seems to be fixed with JRuby 1.7.10 and 1.7.25, so likely it was fixed in 1.7.9 or 1.7.10 and is obsolete. |
Ok thanks! |
The problem is always
instanceKlass::remove_dependent_nmethod(nmethod*)
This is on
jruby-1.7.4
EDIT: Looks like I had a indy enabled via JRUBY_OPTS but the rest is accurate
Only seems to happen under load testing that lasts for a decent amount of time. A 5 min test will not crash, but a one hour test will.
Reproduced on both
and
Errors are either
or
A sanitized gist of one hs error log is here https://gist.github.com/sclasen/d2e5b413a7107bcbfeb5
LMK what more information I can provide
The text was updated successfully, but these errors were encountered: