Skip to content
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

jdk22 java/foreign/TestUpcallScope.java TestUpcallStack.java nested/TestNested.java crash ffi_call vmState=0x00000000 #18942

Closed
pshipton opened this issue Feb 12, 2024 · 1 comment
Assignees
Labels
comp:vm jdk22 project:panama Used to track Project Panama related work segfault Issues that describe segfaults / JVM crashes test excluded test failure

Comments

@pshipton
Copy link
Member

pshipton commented Feb 12, 2024

https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.openjdk_ppc64_aix_Nightly_testList_2/4
https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.openjdk_ppc64_aix_Nightly_testList_0/4
jdk_foreign
java/foreign/TestUpcallScope.java
java/foreign/TestUpcallStack.java
java/foreign/nested/TestNested.java

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk22_j9_sanity.openjdk_ppc64_aix_Nightly_testList_0/4/openjdk_test_output.tar.gz

03:49:18  Type=Segmentation error vmState=0x00000000
03:49:18  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000032
03:49:18  Handler1=09001000A0CADB20 Handler2=09001000A09D69C0
03:49:18  R0=0900000001BED7BC R1=00000100236D7A20 R2=09001000A133E6B0 R3=E30D78D63FC0D0DB
03:49:18  R4=D5EFD5703EEE7DF4 R5=0000010023EE9908 R6=153BE4A731FAEB01 R7=0900000013A8EF14
03:49:18  R8=09001000A08B2800 R9=0000010023751110 R10=08001000A01C8C08 R11=0000000000000000
03:49:18  R12=F100060610B4D3C0 R13=00000100236E3800 R14=000000000000000B R15=0000000000000008
03:49:18  R16=09001000A0CABBF8 R17=0900000001DD56C0 R18=09001000A150A420 R19=09001000A0C6A558
03:49:18  R20=09001000A0C6A268 R21=00000100236D8230 R22=0000000000000002 R23=00000100236D8130
03:49:18  R24=0000000000000002 R25=0000010023A48E38 R26=0000000000000000 R27=00000100236D81B0
03:49:18  R28=00000100236D7AB0 R29=09001000A12F7BC8 R30=00000100234DF720 R31=0000000000000002
03:49:18  IAR=0900000006AC2FC4 LR=0900000001BED7BC MSR=A00000000200D032 CTR=0900000006AC2FC0
03:49:18  CR=2000022800000000 FPSCR=8200000000000000 XER=0000000082000000
03:49:18  FPR0 0000000300000003 (f: 3.000000, d: 6.365987e-314)
03:49:18  FPR1 4008000000000000 (f: 0.000000, d: 3.000000e+00)
03:49:18  FPR2 41cdcd6500000000 (f: 0.000000, d: 1.000000e+09)
03:49:18  FPR3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR5 c3e0000000000000 (f: 0.000000, d: -9.223372e+18)
03:49:18  FPR6 410be0c000000000 (f: 0.000000, d: 2.283760e+05)
03:49:18  FPR7 412e848000000000 (f: 0.000000, d: 1.000000e+06)
03:49:18  FPR8 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
03:49:18  FPR9 4530000000000000 (f: 0.000000, d: 1.934281e+25)
03:49:18  FPR10 412e848000000000 (f: 0.000000, d: 1.000000e+06)
03:49:18  FPR11 43300000000f4240 (f: 1000000.000000, d: 4.503600e+15)
03:49:18  FPR12 4530000000000000 (f: 0.000000, d: 1.934281e+25)
03:49:18  FPR13 0000000000000001 (f: 1.000000, d: 4.940656e-324)
03:49:18  FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:49:18  Module=/home/jenkins/workspace/Test_openjdk22_j9_sanity.openjdk_ppc64_aix_Nightly_testList_0/jdkbinary/openjdk-test-image/jdk/jtreg/native/libTestUpcall.so
03:49:18  Module_base_address=0900000006AC2000
03:49:18  Target=2_90_20240210_12 (AIX 7.1)
03:49:18  CPU=ppc64 (20 logical CPUs) (0x780000000 RAM)
03:49:18  ----------- Stack Backtrace -----------
03:49:18  ffi_call+0x110 (0x0900000001BED0B4 [libj9vm29.so+0xe10b4])
03:49:18  ffiCallWithSetJmpForUpcall+0x1a8 (0x0900000001CB952C [libj9vm29.so+0x1ad52c])
03:49:18  (0x0900000001DA7FEC [libj9vm29.so+0x29bfec])
03:49:18  (0x0900000001B99CE8 [libj9vm29.so+0x8dce8])
03:49:18  runJavaThread+0x28c (0x0900000001B81330 [libj9vm29.so+0x75330])
03:49:18  _ZL23javaProtectedThreadProcP13J9PortLibraryPv+0xf0 (0x0900000001B0EFF4 [libj9vm29.so+0x2ff4])
03:49:18  omrsig_protect+0x4fc (0x0900000001F046E0 [libj9prt29.so+0x5f6e0])
03:49:18  javaThreadProc+0x70 (0x0900000001B0EE94 [libj9vm29.so+0x2e94])
03:49:18  thread_wrapper+0x14c (0x0900000001F6D590 [libj9thr29.so+0x5590])
03:49:18  _pthread_body+0xf0 (0x090000000051FE14 [libpthreads.a+0x3e14])
03:49:18  ---------------------------------------

@ChengJin01 fyi

@pshipton pshipton added comp:vm test failure segfault Issues that describe segfaults / JVM crashes jdk22 labels Feb 12, 2024
@pshipton pshipton added this to the Java 22 milestone Feb 12, 2024
@pshipton pshipton changed the title jdk22 java/foreign/TestUpcallScope.java TestUpcallStack.java crash ffi_call vmState=0x00000000 jdk22 java/foreign/TestUpcallScope.java TestUpcallStack.java nested/TestNested.java crash ffi_call vmState=0x00000000 Feb 12, 2024
@ChengJin01 ChengJin01 self-assigned this Feb 12, 2024
@tajila tajila added the project:panama Used to track Project Panama related work label Feb 26, 2024
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk22 that referenced this issue Mar 7, 2024
The intention of the changes is to avoid conflicts
with our own code with 4-byte alignment for double on
AIX which already supports both the default setting
by the compiler and the natural alignment for double.

Fixes: #eclipse-openj9/openj9/issues/18940,
#eclipse-openj9/openj9/issues/18941,
#eclipse-openj9/openj9/issues/18942, 
#eclipse-openj9/openj9/issues/18943

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
ChengJin01 added a commit to ChengJin01/openj9-openjdk-jdk22 that referenced this issue Mar 7, 2024
The intention of the changes is to avoid conflicts
with our own code with 4-byte alignment for double on
AIX which already supports both the default setting
by the compiler and the natural alignment for double.

Fixes: #eclipse-openj9/openj9/issues/18940,
#eclipse-openj9/openj9/issues/18941,
#eclipse-openj9/openj9/issues/18942, 
#eclipse-openj9/openj9/issues/18943

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
@ChengJin01
Copy link
Contributor

Close the issue as resolved via ibmruntimes/openj9-openjdk-jdk22#32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm jdk22 project:panama Used to track Project Panama related work segfault Issues that describe segfaults / JVM crashes test excluded test failure
Projects
None yet
Development

No branches or pull requests

3 participants