-
Notifications
You must be signed in to change notification settings - Fork 729
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
JIT compiler crashes during inlining while compiling XML11Configuration.setFeature #9453
Comments
From the javacore in run1-dump.zip:
@MNeuling I see that the |
fyi @andrewcraik |
Yes, I removed |
@MNeuling we don't support Is that an option you can remove from your command line? OpenJ9 offers a number of ways to get faster startup including Additionally, we have a "safe" replacement for |
I'm going to close this now. Please comment if you disagree and we can discuss further |
@DanHeidinga sorry |
@DanHeidinga Please reopen this issue. |
The run3.zip shows a crash in the same phase of the JIT but with a different method:
@andrewcraik Can someone on your team pick this up? |
@liqunl if you could take this for now? |
@MNeuling Could you upload the core file? |
Crash in inliner. @liqunl let me know if the jitdump ends up being useful or not.
|
@fjeremic I checked jit dumps from three crashes, their vmstates shows crash in three different places: inliner, instruction selection and loop versioner. The jit dumps are for completed replay compilations, so they're not very helpful. |
Thanks. Once we have the core file I can take a look. Even better if we could get steps to reproduce. Usually the cause of jitdumps succeeding and not reproducing the failure is due to #9137. |
@liqunl Please let me know if you need a core dump of another run. |
FYI @fjeremic since I think you were offering to look? |
I wonder if @fjeremic was talking about help in getting a useful jitdump. I took a look at the core file. The stack trace is
In frame 06 TR_J9VMBase::matchRAMclassFromROMclass, the rom class is
The rom class is also out of the range, from javacore
TR_IPBCDataCallGraph::loadFromPersistentCopy searches profiling class from SCC. @dsouzai Is this the same issue as #7890? |
That's right. I was referring to checking out why the jitdump generated was not useful so I can gather feedback and improve it for future issues. |
@liqunl it could also be #7684 which @cathyzhyi worked on. That one was an inliner bug where the symptom was an invalid class name in the constant pool, so kind of sort of what you are seeing here. Perhaps they could be related. |
FWIW, a workaround for this is to run with |
@dsouzai |
No, because of https://github.com/eclipse/openj9/blob/05fa2d3611f757a1ca7bd45d7312f99dd60403cc/runtime/compiler/control/rossa.cpp#L1901 which is checked here |
Sorry, was sidetracked by other work. @dsouzai In this crash, we're calling |
I talked to @liqunl offline, and I guess there is no guard for loading from the SCC in the call here https://github.com/eclipse/openj9/blob/05fa2d3611f757a1ca7bd45d7312f99dd60403cc/runtime/compiler/runtime/IProfiler.cpp#L1514 We think the solution might be to add the following in this if statement https://github.com/eclipse/openj9/blob/05fa2d3611f757a1ca7bd45d7312f99dd60403cc/runtime/compiler/control/rossa.cpp#L1895-L1896
|
Will open a PR once my build/test passes. |
@liqunl pointed out that current validation done at startup would in fact prevent us going down the code path of calling @MNeuling does the problem happen if you delete the SCC? If so, could you run with |
We should move this to 0.22; I don't think we have enough information to know what the problem is. |
Moved to 0.22 |
@dsouzai I'm sorry for the late reply. My colleague was a long time not in the office. Therefore I couldn't let him test a new run with deleted SCC before today. Today he has deteted the SCC and ran the application again without failer. |
@dsouzai is this a close, fix pending, or defer to 0.23? |
Defer to 0.23; there's been no new diagnostic information regarding this. |
Moved to 0.23 due to lack of information - if we still lack information then this may go to the backlog. |
@dsouzai this one has been deferred once - since there has been no update and deleting the SCC cleared the failure is this a close, backlog or do we expect some kind of change for 0.23? |
No change expected for 0.23; I'd say this is a close until we get more diagnostic information. |
I am going to close this as no further diagnostics have been provided - we would love to get to a root cause so if the requested diagnostics can be provided please re-open. |
Java -version output
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
Eclipse OpenJ9 VM (build openj9-0.20.0, JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20200422_667 (JIT enabled, AOT enabled)
OpenJ9 - 05fa2d3
OMR - d4365f371
JCL - 5e623848e9 based on jdk8u252-b09)
Summary of problem
On one of our PCs an application crashes running on the new JRE 8u252 with Eclipse OpenJ9 VM 0.20.0. It is no problem to run the application with JRE 8u232 (VM 0.17.0).
All other PCs seem not to have the problem.
The VM crashes compiling a method. If you run the application again the VM crash happens on another method.
Diagnostic files
run1-dumps.zip
run2-dumps.zip
Please let me know if you need the core dumps. Then I will upload them as multipe file zip.
The text was updated successfully, but these errors were encountered: