Comments (6)
fyi @r30shah
from openj9.
@beikov Looking at the segmentation fault, I see that the failure is happening while executing a JIT compiled method. From the output, it seems like it has generated diagnostic files (core dump, javacore, jitdump, etc). If the test has archived core dump or it is still available, would it be possible for us to checkout that ? It would help us with diagnosing problem. NVM, saw that it failed with producing core-dump
from openj9.
Pls give the 17.0.10 Milestone 2 build a try to see if the problem still occurs.
https://github.com/ibmruntimes/semeru17-binaries/releases/tag/jdk-17.0.11%2B7_openj9-0.44.0-m2
from openj9.
No more JIT error with that milestone, but now we have a stackoverflow that makes no sense. The JIT seems to produce wrong code: https://ci.hibernate.org/job/hibernate-orm-pipeline/job/wip%2F7.0/21/testReport/junit/org.hibernate.orm.test.bootstrap.jpa/PersistenceUnitOverridesTests/Build___s390x_h2___Test___testCfgXmlBaseline/
It reports this SO which makes no sense:
at java.base/java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
at org.hibernate.boot.model.naming.Identifier.render(Identifier.java:222)
at org.hibernate.boot.model.naming.Identifier.toString(Identifier.java:232)
at java.base/java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
at org.hibernate.boot.model.naming.Identifier.render(Identifier.java:222)
at org.hibernate.boot.model.naming.Identifier.toString(Identifier.java:232)
at java.base/java.lang.String.valueOf(String.java:4988)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:173)
at org.hibernate.boot.model.relational.QualifiedNameParser$NameParts.<init>(QualifiedNameParser.java:50)
The methods in Identifier
do not call this.toString()
. The same thing works fine on x86 with the Hotspot JVM.
public String render() {
return isQuoted
? '`' + getText() + '`'
: getText();
}
@Override
public String toString() {
return render();
}
from openj9.
It may be the same issue so upgrading the build did not work. Looking at the method StringConcatHelper.toString, I see that it will call Object.toString() method, that is what Identifier.toString() call is.
Given that you have a fair success in getting this to fail, I will try to reproduce this and see if I can get the core-dump.
from openj9.
I can reproduce this on my personal VM and now I do have a core-dump to analyze.
Following is the failing stack,
{java/lang/StringConcatHelper.stringOf} JIT
{java/lang/invoke/LambdaForm$DMH/0x00000000841cc320.invokeStatic} JIT
{java/lang/invoke/LambdaForm$MH/0x00000000c00b4410.invoke} JIT
{java/lang/invoke/LambdaForm$MH/0x000000008479d7e0.linkToTargetMethod} JIT
{org/hibernate/persister/entity/AbstractEntityPersister.internalInitSubclassPropertyAliasesMap} INT
{org/hibernate/persister/entity/AbstractEntityPersister.internalInitSubclassPropertyAliasesMap} JIT
Looking at the disassembly of StringConcatHelper.stringOf
, we end up in this method with corrupted object (Instead of the Object, it points to an address of another JIT compiled method. Chasing down the parameter, something messed up in the last / second last method as core-dump complained about corrupt stack and I can not get proper object values to check. Looking at the code for internalInitSubclassPropertyAliasesMap
, it seems to be failing while calling a code for String concatenation at [1]. I will see if this only appears to be seen on Z or I can reproduce it on X as well. Will post update on this issue.
from openj9.
Related Issues (20)
- AIX builds should set -qarch=pwr7 HOT 2
- obuffer = new byte[minLen];”,minLen = 2147483647,but no throws OutOfMemoryError. HOT 1
- obuffer = new byte[minLen];“,minLen = 2147483647,but no throws OutOfMemoryError. HOT 1
- ” Arrays.fill(newArray, oldCapacity, newArray.length, UNSET);" caused return -9,but other JVMs no this condition. HOT 1
- Wrong result in Option -Xcomp HOT 1
- JDK23 abuild compilation failed due to error: warnings found and -Werror specified in copyright comments HOT 6
- MathLoadTest_autosimd crash Illegal instruction vmState=0x00000000 Compiled_method= HOT 19
- Multiple target patterns error for CMake HOT 6
- CRIU reinitializeForRestore() revisiting HOT 3
- abbs hang Waiting on com/ibm/jtc/test/jltf/threads/pooling/ThreadPool
- cmdLineTester_loopReduction crash Illegal instruction Compiled_method=jit/test/loopReduction/byteMemCpy.test HOT 2
- JdwpAttachTest_1_FAILED com/sun/jdi/JdwpAttachTest.java RuntimeException: ERROR: attach failed but was expected to succeed
- jdk_lang_0_FAILED jdk/lambda/vm/InterfaceAccessFlagsTest.java RuntimeException: IOException encountered during compilation HOT 1
- JDK23 abuild failure jvminit.c:7464: undefined reference to `initializeJFR' HOT 2
- jdk11.0.24+1 requires jtreg version 7.3.1 b1 or higher HOT 2
- ECDHKeyAgreementParamValidation fails in jdk23
- serviceability_jvmti_j9_0_FAILED serviceability/jvmti/vthread/BoundVThreadTest/BoundVThreadTest.java Segmentation error vmState=0x00040000 HOT 2
- JDK23 SharedClasses.SCM01.MultiThreadMultiCL_1_FAILED NumberFormatException: For input string: "-Xdump:system+java:events=throw,filter=java/lang/NullPointerException#java/lang/invoke/BruteArgumentMoverHandle.permuteArguments*" HOT 17
- Consolidate j9vm files to single C++ file HOT 3
- Upgrade minimum acceptable cmake version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openj9.