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

Java next build failure: segmentation error vmState=0x00000000 at getStringUTF8Length #20870

Closed
JasonFengJ9 opened this issue Dec 24, 2024 · 14 comments
Assignees
Labels
comp:vm jdk24 jdk-head project:valhalla Used to track Project Valhalla related work test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Dec 24, 2024

Failure link

https://openj9-jenkins.osuosl.org/job/Build_JDKnext_aarch64_linux_OpenJDK/702/consoleFull

Optional info

Failure output (captured from console output)

01:18:08  Creating java.base.jmod
01:18:15  Unhandled exception
01:18:15  Type=Segmentation error vmState=0x00000000
01:18:15  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
01:18:15  Handler1=000040003CE35F04 Handler2=000040003D040C20 InaccessibleAddress=0000000000000004
01:18:15  R0=0000000000000002 R1=0000000000000001 R2=0000000000000004 R3=00000007FFBBB800
01:18:15  R4=0000400040011890 R5=0000000000000001 R6=0000000000000003 R7=0000400040012290
01:18:15  R8=0000400047D1687C R9=000040003FFC9F40 R10=0000000000000020 R11=000000070BB25848
01:18:15  R12=0000BE627AC2CD38 R13=000000007FFFFFFF R14=0000000000210000 R15=00000000003BF8A0
01:18:15  R16=000040003CB2B280 R17=000040003C9BF2D8 R18=000040003E1ED128 R19=0000000000019200
01:18:15  R20=0000000000000001 R21=00000007FFBBB800 R22=00000007FFBBB800 R23=0000000000000000
01:18:15  R24=0000000000000058 R25=000040003CA71580 R26=000040003CAB70E8 R27=0000007C3D098000
01:18:15  R28=0000006F00000077 R29=000040003CB2B020 R30=000040003CE46B70 R31=000040003CB2B020
01:18:15  PC=000040003CE7725C SP=000040003CB2B020 PSTATE=0000000000001000
01:18:15  V0=000000070bbe6fa8 (f: 197029792.000000, d: 1.495132e-313)
01:18:15  V1=000000003f800000 (f: 1065353216.000000, d: 5.263544e-315)
01:18:15  V2=00000000492279b0 (f: 1226996096.000000, d: 6.062166e-315)
01:18:15  V3=00000000bd51daa6 (f: 3176258304.000000, d: 1.569280e-314)
01:18:15  V4=000000003aa1e385 (f: 983688064.000000, d: 4.860065e-315)
01:18:15  V5=0000000038d0f4bf (f: 953218240.000000, d: 4.709524e-315)
01:18:15  V6=0000000041300000 (f: 1093664768.000000, d: 5.403422e-315)
01:18:15  V7=00000000390e7854 (f: 957249600.000000, d: 4.729442e-315)
01:18:15  V8=000003c10000745f (f: 29791.000000, d: 2.039238e-311)
01:18:15  V9=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V10=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V11=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V12=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V13=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V16=e245306f0abb0e73 (f: 180031088.000000, d: -2.440406e+165)
01:18:15  V17=fee1e2111cc3ee44 (f: 482602560.000000, d: -1.532949e+303)
01:18:15  V18=e7abc1104f737130 (f: 1332965632.000000, d: -2.473177e+191)
01:18:15  V19=4551a936a23e3f1b (f: 2721988352.000000, d: 8.540331e+25)
01:18:15  V20=3fb1eb851eb851ec (f: 515396064.000000, d: 7.000000e-02)
01:18:15  V21=0000000000000800 (f: 2048.000000, d: 1.011846e-320)
01:18:15  V22=3fc999999999999a (f: 2576980480.000000, d: 2.000000e-01)
01:18:15  V23=3fa999999999999a (f: 2576980480.000000, d: 5.000000e-02)
01:18:15  V24=3fd6666666666666 (f: 1717986944.000000, d: 3.500000e-01)
01:18:15  V25=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V26=3fb999999999999a (f: 2576980480.000000, d: 1.000000e-01)
01:18:15  V27=000000000000000a (f: 10.000000, d: 4.940656e-323)
01:18:15  V28=0000000000000001 (f: 1.000000, d: 4.940656e-324)
01:18:15  V29=0000000000000000 (f: 0.000000, d: 0.000000e+00)
01:18:15  V30=0000000000005998 (f: 22936.000000, d: 1.133189e-319)
01:18:15  V31=04034b5000000357 (f: 855.000000, d: 2.474803e-289)
01:18:15  Module=/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/build/linux-aarch64-server-release/jdk/lib/default/libj9vm29.so
01:18:15  Module_base_address=000040003CE00000
01:18:15  Target=2_90_20241224_702 (Linux 5.14.0-508.el9.aarch64)
01:18:15  CPU=aarch64 (8 logical CPUs) (0x3d1456000 RAM)
01:18:15  ----------- Stack Backtrace -----------
01:18:15  getStringUTF8Length+0xa8 (0x000040003CE7725C [libj9vm29.so+0x7725c])
01:18:15  getStringUTFChars+0x40 (0x000040003CE46B70 [libj9vm29.so+0x46b70])
01:18:15  Java_jdk_internal_loader_NativeLibrary_findEntry0+0x30 (0x000040003FFC9F70 [libjava.so+0xbf70])
01:18:15   (0x0000400047D16948 [<unknown>+0x0])
01:18:15  ---------------------------------------
01:18:15  JVMDUMP039I Processing dump event "gpf", detail "" at 2024/12/24 06:18:14 - please wait.
01:18:15  JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/core.20241224.061814.110334.0001.dmp' in response to an event
01:18:15  JVMDUMP010I System dump written to /home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/core.20241224.061814.110334.0001.dmp
01:18:15  JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/javacore.20241224.061814.110334.0002.txt' in response to an event
01:18:15  JVMDUMP010I Java dump written to /home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/javacore.20241224.061814.110334.0002.txt
01:18:15  JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/Snap.20241224.061814.110334.0003.trc' in response to an event
01:18:16  JVMDUMP010I Snap dump written to /home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/Snap.20241224.061814.110334.0003.trc
01:18:16  JVMDUMP032I JVM requested JIT dump using '/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/jitdump.20241224.061814.110334.0004.dmp' in response to an event
01:18:16  JVMDUMP051I JIT dump occurred in 'main' thread 0x0000000000019200
01:18:16  JVMDUMP010I JIT dump written to /home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/make/jitdump.20241224.061814.110334.0004.dmp
01:18:16  JVMDUMP013I Processed dump event "gpf", detail "".
01:18:16  CreateJmods.gmk:251: recipe for target '/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/build/linux-aarch64-server-release/support/images/jmods/_create_java.base.jmod_exec.marker' failed
01:18:16  gmake[3]: *** [/home/jenkins/workspace/Build_JDKnext_aarch64_linux_OpenJDK/build/linux-aarch64-server-release/support/images/jmods/_create_java.base.jmod_exec.marker] Error 1
01:18:16  make/Main.gmk:405: recipe for target 'java.base-jmod' failed
01:18:16  gmake[2]: *** [java.base-jmod] Error 1
01:18:16  gmake[2]: *** Waiting for unfinished jobs....
01:18:17  Creating support/demos/image/jfc/CodePointIM/CodePointIM.jar

01:18:23  Creating support/demos/image/jfc/TransparentRuler/TransparentRuler.jar
01:20:15  
01:20:15  ERROR: Build failed for target 'all' in configuration 'linux-aarch64-server-release' (exit code 2) 
01:20:15  Stopping javac server

This also affects JDKnext_x86-64_linux_valhalla

@pshipton
Copy link
Member

Changes since last build doesn't show any obvious cause, I assume it's intermittent.
ibmruntimes/openj9-openjdk-jdk@e2a3faa...7a40122

@pshipton
Copy link
Member

pshipton commented Jan 8, 2025

https://openj9-jenkins.osuosl.org/job/Build_JDKnext_s390x_linux_OpenJDK/824

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Build_JDKnext_s390x_linux_OpenJDK/824/Build_JDKnext_s390x_linux_OpenJDK-824-20250108-040030-diagnostics.tar.gz

03:57:56  Unhandled exception
03:57:56  Type=Segmentation error vmState=0x00000000
03:57:56  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=3a3a1a70 Signal_Code=00000001
03:57:56  Handler1=000002002E447CF8 Handler2=000002002E731B18 InaccessibleAddress=0000000000000000
03:57:56  gpr0=0000000000000001 gpr1=0000000000000004 gpr2=0000000000000002 gpr3=0000000000000001
03:57:56  gpr4=0000000000000000 gpr5=0000000000000004 gpr6=000000000000BABE gpr7=00000000FFA989D8
03:57:56  gpr8=00000000FFA989D8 gpr9=0000000000000001 gpr10=0000000000069800 gpr11=0000020030024730
03:57:56  gpr12=0000020036A66028 gpr13=000002002E667F18 gpr14=000002002E45CA2E gpr15=000002002DA6BEF8
03:57:56  psw=000002002E496192 mask=0705200180000000 fpc=0008fe00 bea=000002002E496554
03:57:56  fpr0=3dbb32ba00000000 (f: 0.000000, d: 2.473657e-11)
03:57:56  fpr1=4935b6c000000000 (f: 0.000000, d: 4.842354e+44)
03:57:56  fpr2=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:57:56  fpr3=3c02d5ad00230000 (f: 2293760.000000, d: 1.276287e-19)
03:57:56  fpr4=4935b6c080000000 (f: 2147483648.000000, d: 4.842356e+44)
03:57:56  fpr5=3e924aaa00000000 (f: 0.000000, d: 2.725669e-07)
03:57:56  fpr6=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:57:56  fpr7=3e3a359e00000000 (f: 0.000000, d: 6.102361e-09)
03:57:56  fpr8=0000000038ba4610 (f: 951731712.000000, d: 4.702180e-315)
03:57:56  fpr9=000002aa339e0250 (f: 865993280.000000, d: 1.447629e-311)
03:57:56  fpr10=0000000038ba44c8 (f: 951731392.000000, d: 4.702178e-315)
03:57:56  fpr11=0000000000000001 (f: 1.000000, d: 4.940656e-324)
03:57:56  fpr12=0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:57:56  fpr13=000003fef8012468 (f: 4160824320.000000, d: 2.170735e-311)
03:57:56  fpr14=0000000000063008 (f: 405512.000000, d: 2.003495e-318)
03:57:56  fpr15=000003fef80228d8 (f: 4160891136.000000, d: 2.170735e-311)
03:57:56  Module=/home/jenkins/workspace/Build_JDKnext_s390x_linux_OpenJDK/build/linux-s390x-server-release/jdk/lib/default/libj9vm29.so
03:57:56  Module_base_address=000002002E400000
03:57:56  Target=2_90_20250108_824 (Linux 3.10.0-1160.118.1.el7.s390x)
03:57:56  CPU=s390x (4 logical CPUs) (0x1ec1b1000 RAM)
03:57:56  ----------- Stack Backtrace -----------
03:57:56  getStringUTF8Length+0xc2 (0x000002002E496192 [libj9vm29.so+0x96192])
03:57:56  getStringUTFChars+0x86 (0x000002002E45CA2E [libj9vm29.so+0x5ca2e])
03:57:56  Java_jdk_internal_loader_NativeLibrary_findEntry0+0x3c (0x000002005CE8BAC4 [libjava.so+0xbac4])

@pshipton
Copy link
Member

pshipton commented Jan 8, 2025

@tajila fyi

@pshipton pshipton changed the title Java next build failure: segmentation error vmState=0x00000000 at getStringUTF8Length+0xa8 Java next build failure: segmentation error vmState=0x00000000 at getStringUTF8Length Jan 8, 2025
@tajila
Copy link
Contributor

tajila commented Jan 8, 2025

@JasonFengJ9 Can you please take a look at this

@JasonFengJ9
Copy link
Member Author

As per internal workitem 152065, pass to JIT for further investigation.

@JasonFengJ9 JasonFengJ9 removed their assignment Jan 8, 2025
@pshipton
Copy link
Member

pshipton commented Jan 8, 2025

@hzongaro fyi

@hzongaro
Copy link
Member

hzongaro commented Jan 8, 2025

@a7ehuo, may I ask you to look into this problem?

@hzongaro
Copy link
Member

Updating the milestone to Java 24 (0.50), as this problem was reported in a test run with that release as well.

@JasonFengJ9 JasonFengJ9 added jdk24 project:valhalla Used to track Project Valhalla related work labels Jan 14, 2025
@a7ehuo
Copy link
Contributor

a7ehuo commented Jan 14, 2025

I'm able to reproduce this seg fault by building JDK24 sanity.functional tests in x86 Linux. jdk/internal/loader/NativeLibrary.findEntry0(JLjava/lang/String;)J is compiled in cold to invoke the native implementation of Java_jdk_internal_loader_NativeLibrary_findEntry0. So far I noticed two things are interesting
(1) The String object (n7n loadaddr) in the JNI method is a wrapped object.
(2) In CG, the register GPR_0033 that stores the String object is not marked as a collected reference. However I'm not sure this is an issue since the wrapped object is loaded from the stack slot.

> !stackslots 0x0001aa00
<1aa00> *** BEGIN STACK WALK, flags = 00400001 walkThread = 109,056 ***
<1aa00> 	ITERATE_O_SLOTS
<1aa00> 	RECORD_BYTECODE_PC_OFFSET
<1aa00> Initial values: walkSP = 0x00000000001289C8, PC = 0x0000000000000006, literals = 0x0000000000000000, A0 = 0x0000000000128A70, j2iFrame = 0x0000000000000000, decomp = 0x0000000000000000
<1aa00> JIT JNI call-out frame: bp = 0x00000000001289E8, sp = 0x00000000001289C8, pc = 0x0000000000000006, cp = 0x0000000000082DD0, arg0EA = 0x0000000000128A70, flags = 0x0000000020000000
<1aa00> 	Method: jdk/internal/loader/NativeLibrary.findEntry0(JLjava/lang/String;)J !j9method 0x0000000000082B60
<1aa00> JIT frame: bp = 0x0000000000128A28, pc = 0x00007FB745401FF8, unwindSP = 0x00000000001289F0, cp = 0x0000000000082DD0, arg0EA = 0x0000000000128A40, jitInfo = 0x00007FB7ABDC2C48
<1aa00> 	Method: jdk/internal/loader/NativeLibrary.findEntry0(JLjava/lang/String;)J !j9method 0x0000000000082B60
<1aa00> 	Bytecode index = -1, inlineDepth = 0, PC offset = 0x00000000000000DC
<1aa00> 	stackMap=0x00007FB7ABDC2D41, slots=I16(0x0003) parmBaseOffset=I16(0x0008), parmSlots=U16(0x0001), localBaseOffset=I16(0x0000)
<1aa00> 	Described JIT args starting at 0x0000000000128A30 for U16(0x0001) slots
<1aa00> 		O-Slot: : a0[0x0000000000128A30] = 0x00000000FFE812D8
<1aa00> 	Described JIT temps starting at 0x0000000000128A28 for IDATA(0x0000000000000000) slots
<1aa00> 	JIT-RegisterMap = UDATA(0x0000000000000000)
<1aa00> 	JIT-Frame-RegisterMap[0x0000000000128A18] = UDATA(0x0000003100000006) (jit_rbx)
<1aa00> 	JIT-Frame-RegisterMap[0x0000000000128A20] = UDATA(0x00007FB7C22BA416) (jit_r9)
...
------------------------------
 n6n      (  0)  treetop                                                                              [0x7fb7a980f6a0] bci=[-1,0,-] rc=0 vc=46 vn=- li=2 udi=- nc=1
 n8n      (  1)    lcall  jdk/internal/loader/NativeLibrary.findEntry0(JLjava/lang/String;)J[#421  native static Method] (Abstract class) [flags 0x500 0x0 ] (in GPR_0058) ()  [0x7fb7a980f740] bci=[-1,0,-] rc=1 vc=46 vn=- li=2 udi=47104 nc=3 flg=0x40020
 n11n     (  0)      aladd (in GPR_0032)                                                              [0x7fb7a980f830] bci=[-1,0,-] rc=0 vc=46 vn=- li=2 udi=64432 nc=2
 n9n      (  0)        aconst 0x82c00 Abstract (jdk/internal/loader/NativeLibrary.class) (in GPR_0032) (classPointerConstant X!=0 X>=0 X<=0 )  [0x7fb7a980f790] bci=[-1,0,-] rc=0 vc=46 vn=- li=2 udi=64432 nc=0 flg=0x10304
 n10n     (  0)        lconst 48 (highWordZero X!=0 X>=0 )                                            [0x7fb7a980f7e0] bci=[-1,0,-] rc=0 vc=46 vn=- li=2 udi=- nc=0 flg=0x4104
 n3n      (  0)      ==>lRegLoad (in GPR_0016) (cannotOverflow )
 n7n      (  0)      loadaddr  <parm 2 Ljava/lang/String;>[#418  Parm] [flags 0xc0000107 0x0 ] (in GPR_0033)  [0x7fb7a980f6f0] bci=[-1,0,-] rc=0 vc=46 vn=- li=2 udi=64992 nc=0
------------------------------

@a7ehuo
Copy link
Contributor

a7ehuo commented Jan 15, 2025

The two things I mentioned in #20870 (comment) are not an issue here. (1) The JNI argument String object should be a wrapped object from stack slots which will be unwapped in getStringUTFCharsImpl. (2) The register used is the address of the stack slot in LEA instruction which is not loading any object.

@a7ehuo
Copy link
Contributor

a7ehuo commented Jan 15, 2025

I'm able to reproduce this crash with the interpreter (-J-Xint). The invalid JNI argument String object 0xfff47408 is passed all the way from java/lang/ClassLoader.findNative1(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)J. I noticed java/lang/ClassLoader.findNative1 is only defined for java24 and up. @babsingh @TobiAjila Could the VM team take a further look at this issue?

/*[IF JAVA_SPEC_VERSION >= 24]*/
static long findNative1(ClassLoader loader, String entryName, Class<?> cls, String javaName) {

    [javac] Compiling 2 source files to /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/test/functional/Java11andUp/bin
    [javac] Unhandled exception
    [javac] Type=Segmentation error vmState=0x00040000
    [javac] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
    [javac] Handler1=00007FA30197B740 Handler2=00007FA301770090 InaccessibleAddress=0000000000000004
    [javac] RDI=00007FA2FC00F680 RSI=0000000000000000 RAX=0000000000000002 RBX=000000000001AA00
    [javac] RCX=0000000000000004 RDX=0000000000000001 R8=00007FA2FC05AC88 R9=00007FA2FC6ACB08
    [javac] R10=0000000000000000 R11=00007FA300043BF0 R12=00000000FFF47408 R13=0000000000000000
    [javac] R14=00000000FFF47408 R15=0000000000000000
    [javac] RIP=00007FA3019C05C2 GS=0000 FS=0000 RSP=00007FA301C65530
    [javac] EFlags=0000000000010246 CS=0033 RBP=0000000000000001 ERR=0000000000000004
    [javac] TRAPNO=000000000000000E OLDMASK=0000000000000000 CR2=0000000000000004
    [javac] xmm0=0000000700000000 (f: 0.000000, d: 1.485397e-313)
    [javac] xmm1=0000000000000007 (f: 7.000000, d: 3.458460e-323)
    [javac] xmm2=00007fa301b60070 (f: 28704880.000000, d: 6.933623e-310)
    [javac] xmm3=bfe017cd84e4507b (f: 2229555200.000000, d: -5.029056e-01)
    [javac] xmm4=000000003f650000 (f: 1063583744.000000, d: 5.254802e-315)
    [javac] xmm5=bff0000000000000 (f: 0.000000, d: -1.000000e+00)
    [javac] xmm6=bfba4e76ce8c0e5e (f: 3465285120.000000, d: -1.027598e-01)
    [javac] xmm7=00000000000f2690 (f: 992912.000000, d: 4.905637e-318)
    [javac] xmm8=6332313578766100 (f: 2021024000.000000, d: 6.865676e+169)
    [javac] xmm9=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm10=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm11=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm12=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm13=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm14=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] xmm15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
    [javac] Module=/root/home/ahuo/src/openj9-openjdk-jdk24/build/linux-x86_64-server-release/images/jdk/lib/default/libj9vm29.so
    [javac] Module_base_address=00007FA30193A000
    [javac] Target=2_90_20250110_000000 (Linux 5.4.0-204-generic)
    [javac] CPU=amd64 (8 logical CPUs) (0x17286e000 RAM)
    [javac] ----------- Stack Backtrace -----------
    [javac] getStringUTF8Length+0xb2 (0x00007FA3019C05C2 [libj9vm29.so+0x865c2])
    [javac] getStringUTFChars+0x3f (0x00007FA30198CC3F [libj9vm29.so+0x52c3f])
    [javac] Java_jdk_internal_loader_NativeLibrary_findEntry0+0x2f (0x00007FA300043C1F [libjava.so+0xcc1f])
    [javac] ffi_call_unix64+0x56 (0x00007FA301B358A6 [libj9vm29.so+0x1fb8a6])
    [javac] ffi_call_int+0x1b2 (0x00007FA301B348A2 [libj9vm29.so+0x1fa8a2])
    [javac] _ZN32VM_BytecodeInterpreterCompressed3runEP10J9VMThread+0x15624 (0x00007FA301A02B94 [libj9vm29.so+0xc8b94])
    [javac] bytecodeLoopCompressed+0xc9 (0x00007FA3019ED559 [libj9vm29.so+0xb3559])
    [javac]  (0x00007FA301AC2152 [libj9vm29.so+0x188152])
    [javac] ---------------------------------------
#12 <signal handler called>
#13 0x00007fa3019c05c2 in getStringUTF8Length (vmThread=vmThread@entry=0x1aa00, string=string@entry=0xfff47408)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/stringhelpers.cpp:578
#14 0x00007fa30198cc3f in getStringUTFCharsImpl (ensureMem32=0 '\000', isCopy=0x0, string=<optimized out>, env=0x1aa00)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/jnimisc.cpp:865
#15 getStringUTFChars (env=0x1aa00, string=<optimized out>, isCopy=0x0)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/jnimisc.cpp:895
#16 0x00007fa300043c1f in Java_jdk_internal_loader_NativeLibrary_findEntry0 (env=0x1aa00, cls=<optimized out>, 
    handle=140337996333040, name=0xf2658) at src/java.base/share/native/libjava/NativeLibraries.c:236
#17 0x00007fa301b358a6 in ffi_call_unix64 () at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/libffi/x86/unix64.S:105
#18 0x00007fa301b348a2 in ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, 
    closure=<optimized out>) at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/libffi/x86/ffi64.c:672
#19 0x00007fa301a02b94 in VM_BytecodeInterpreterCompressed::cJNICallout (isStatic=<optimized out>, function=<optimized out>, 
    returnStorage=<optimized out>, returnType=<optimized out>, javaArgs=<optimized out>, receiverAddress=0x58530, 
    _pc=<optimized out>, _sp=<optimized out>, this=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:2612
#20 VM_BytecodeInterpreterCompressed::callCFunction (returnType=<optimized out>, isStatic=<optimized out>, bp=<optimized out>, 
    javaArgs=<optimized out>, receiverAddress=<optimized out>, jniMethodStartAddress=<optimized out>, _pc=<optimized out>, 
    _sp=<optimized out>, this=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:2430
#21 VM_BytecodeInterpreterCompressed::runJNINative (_pc=<optimized out>, _sp=<optimized out>, this=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:2318
#22 VM_BytecodeInterpreterCompressed::run (this=0x7fa2fc00f680, this@entry=0x7fa301c65c30, vmThread=0x2)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:10977
#23 0x00007fa3019ed559 in bytecodeLoopCompressed (currentThread=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.inc:112
#24 0x00007fa301ac2152 in c_cInterpreter ()
    at /root/home/ahuo/src/openj9-openjdk-jdk24/build/linux-x86_64-server-release/vm/runtime/vm/xcinterp.s:157
#25 0x00007fa30195761f in internalRunStaticMethod (currentThread=currentThread@entry=0x1aa00, method=0x42a50, 
    returnsObject=returnsObject@entry=1, argCount=argCount@entry=4, arguments=arguments@entry=0x7fa301c65fa0)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/callin.cpp:743
#26 0x00007fa301954bb6 in lookupJNINative (currentThread=currentThread@entry=0x1aa00, nativeLibrary=0x0, 
    nativeMethod=nativeMethod@entry=0x43a428, 
    symbolName=symbolName@entry=0x7fa2fc6cd54b "Java_sun_nio_ch_UnixFileDispatcherImpl_write0", 
    signature=signature@entry=0x7fa301c66030 "ILLLJI")
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/bindnatv.cpp:1127
#27 0x00007fa301953aa7 in lookupNativeAddress (currentThread=currentThread@entry=0x1aa00, 
    nativeMethod=nativeMethod@entry=0x43a428, nativeLibrary=nativeLibrary@entry=0x0, longJNI=<optimized out>, 
    longJNI@entry=0x7fa2fc6cd500 "Java_sun_nio_ch_UnixFileDispatcherImpl_write0__Ljava_io_FileDescriptor_2JI", 
    shortJNI=shortJNI@entry=0x7fa2fc6cd54b "Java_sun_nio_ch_UnixFileDispatcherImpl_write0", 
    functionArgCount=functionArgCount@entry=6, bindJNINative=1)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/bindnatv.cpp:1235
#28 0x00007fa301954458 in bindNative (bindJNINative=<optimized out>, 
    shortJNI=0x7fa2fc6cd54b "Java_sun_nio_ch_UnixFileDispatcherImpl_write0", 
    longJNI=0x7fa2fc6cd500 "Java_sun_nio_ch_UnixFileDispatcherImpl_write0__Ljava_io_FileDescriptor_2JI", nativeMethod=0x43a428, 
    currentThread=0x1aa00) at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/bindnatv.cpp:1054
#29 resolveNativeAddress (currentThread=0x1aa00, nativeMethod=0x43a428, runtimeBind=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/bindnatv.cpp:967
#30 0x00007fa3019f806b in VM_BytecodeInterpreterCompressed::resolveNativeAddressWithErrorHandling (this=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:2142
#31 VM_BytecodeInterpreterCompressed::bindNative (_pc=<optimized out>, _sp=<optimized out>, this=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:2175
#32 VM_BytecodeInterpreterCompressed::run (this=0x7fa2fc00f680, this@entry=0x7fa301c667e0, vmThread=0x2)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.hpp:10679
#33 0x00007fa3019ed559 in bytecodeLoopCompressed (currentThread=<optimized out>)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/BytecodeInterpreter.inc:112
#34 0x00007fa301ac2152 in c_cInterpreter ()
    at /root/home/ahuo/src/openj9-openjdk-jdk24/build/linux-x86_64-server-release/vm/runtime/vm/xcinterp.s:157
#35 0x00007fa301959aa3 in runCallInMethod (env=0x1aa00, receiver=<optimized out>, clazz=0xf2e30, methodID=0x7fa2fc6c2848, 
    args=0x7fa301c66d58) at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/callin.cpp:1174
#36 0x00007fa30197e99d in gpProtectedRunCallInMethod (entryArg=0x7fa301c66d10)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/jnicsup.cpp:300
#37 0x00007fa301770df1 in omrsig_protect (portLibrary=0x7fa301be3440 <j9portLibrary>, fn=0x7fa301acd5e0 <signalProtectAndRunGlue>, 
    fn_arg=0x7fa301c66cd0, handler=0x7fa30197b740 <structuredSignalHandler>, handler_arg=0x1aa00, flags=506, result=0x7fa301c66cc8)
    at /root/home/ahuo/src/openj9-openjdk-jdk24/omr/port/unix/omrsignal.c:425
#38 0x00007fa301acd680 in gpProtectAndRun (function=0x7fa30197e960 <gpProtectedRunCallInMethod(void*)>, env=0x1aa00, 
    args=0x7fa301c66d10) at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/util/jniprotect.c:78
#39 0x00007fa301980442 in gpCheckCallin (env=0x1aa00, receiver=receiver@entry=0x0, cls=<optimized out>, methodID=<optimized out>, 
    args=args@entry=0x7fa301c66d58) at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/jnicsup.cpp:488
#40 0x00007fa30197e2b4 in callStaticVoidMethod (env=<optimized out>, cls=<optimized out>, methodID=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at /root/home/ahuo/src/openj9-openjdk-jdk24/openj9/runtime/vm/jnicgen.c:384
#41 0x00007fa301ec4a50 in invokeStaticMainWithArgs (env=0x1aa00, mainClass=mainClass@entry=0xf2e30, 
    mainArgs=mainArgs@entry=0xf2e18) at src/java.base/share/native/libjli/java.c:461
#42 0x00007fa301ec5ae2 in JavaMain (_args=<optimized out>) at src/java.base/share/native/libjli/java.c:713
#43 0x00007fa301ec8fed in ThreadJavaMain (args=<optimized out>) at src/java.base/unix/native/libjli/java_md.c:698
#44 0x00007fa301e78609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#45 0x00007fa301d9d353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
> !stackslots 0x0001aa00 
<1aa00> *** BEGIN STACK WALK, flags = 00400001 walkThread = 109,056 ***
<1aa00> 	ITERATE_O_SLOTS
<1aa00> 	RECORD_BYTECODE_PC_OFFSET
<1aa00> Initial values: walkSP = 0x00000000000F2630, PC = 0x0000000000000007, literals = 0x0000000000000000, A0 = 0x00000000000F2668, j2iFrame = 0x0000000000000000, decomp = 0x0000000000000000
<1aa00> JNI native method frame: bp = 0x00000000000F2650, sp = 0x00000000000F2630, pc = 0x0000000000000007, cp = 0x0000000000000000, arg0EA = 0x00000000000F2668, flags = 0x0000000000000000
<1aa00> 	Method: jdk/internal/loader/NativeLibrary.findEntry0(JLjava/lang/String;)J !j9method 0x00000000000525B8
<1aa00> 	Using signature mapper
<1aa00> 	Arguments starting at 0x00000000000F2668 for UDATA(0x0000000000000003) slots
<1aa00> 		I-Slot: a0[0x00000000000F2668] = 0x00000000000580C8
<1aa00> 		I-Slot: a1[0x00000000000F2660] = 0x00007FA2FC6B7FF0
<1aa00> 		O-Slot: a2[0x00000000000F2658] = 0x00000000FFF47408
<1aa00> Bytecode frame: bp = 0x00000000000F2680, sp = 0x00000000000F2670, pc = 0x00007FA2DE0C4ED5, cp = 0x00000000000588E0, arg0EA = 0x00000000000F2690, flags = 0x0000000000000000
<1aa00> 	Method: jdk/internal/loader/NativeLibraries$NativeLibraryImpl.find(Ljava/lang/String;)J !j9method 0x0000000000058AF8
<1aa00> 	Bytecode index = 5
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2690 for 0x0000000000000002 slots
<1aa00> 		I-Slot: a0[0x00000000000F2690] = 0x00000000A365C008
<1aa00> 		I-Slot: a1[0x00000000000F2688] = 0x00000000FFF47408
<1aa00> Bytecode frame: bp = 0x00000000000F26A8, sp = 0x00000000000F2698, pc = 0x00007FA2DE0C38B6, cp = 0x0000000000057930, arg0EA = 0x00000000000F26D8, flags = 0x0000000000000000
<1aa00> 	Method: jdk/internal/loader/NativeLibraries.find(Ljava/lang/String;)J !j9method 0x00000000000580C8
<1aa00> 	Bytecode index = 50
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F26D8 for 0x0000000000000006 slots
<1aa00> 		I-Slot: a0[0x00000000000F26D8] = 0x00000000A3637FD0
<1aa00> 		O-Slot: a1[0x00000000000F26D0] = 0x00000000FFF47408
<1aa00> 		O-Slot: t2[0x00000000000F26C8] = 0x00000000FFE50000
<1aa00> 		I-Slot: t3[0x00000000000F26C0] = 0x00000000A365C008
<1aa00> 		I-Slot: t4[0x00000000000F26B8] = 0x00000000000A68F8
<1aa00> 		I-Slot: t5[0x00000000000F26B0] = 0x0000000000000000
<1aa00> Bytecode frame: bp = 0x00000000000F26F0, sp = 0x00000000000F26E0, pc = 0x00007FA2DE09F00D, cp = 0x0000000000040850, arg0EA = 0x00000000000F2708, flags = 0x0000000000000000
<1aa00> 	Method: java/lang/ClassLoader.findNative0(Ljava/lang/ClassLoader;Ljava/lang/String;)J !j9method 0x0000000000042A70
<1aa00> 	Bytecode index = 25
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2708 for 0x0000000000000003 slots
<1aa00> 		I-Slot: a0[0x00000000000F2708] = 0x00000000A3635CA8
<1aa00> 		I-Slot: a1[0x00000000000F2700] = 0x00000000FFF47408
<1aa00> 		I-Slot: t2[0x00000000000F26F8] = 0x00000000A3637FD0
<1aa00> Bytecode frame: bp = 0x00000000000F2720, sp = 0x00000000000F2710, pc = 0x00007FA2DE09EFB2, cp = 0x0000000000040850, arg0EA = 0x00000000000F2750, flags = 0x0000000000000000
<1aa00> 	Method: java/lang/ClassLoader.findNative1(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)J !j9method 0x0000000000042A50
<1aa00> 	Bytecode index = 2
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2750 for 0x0000000000000006 slots
<1aa00> 		O-Slot: a0[0x00000000000F2750] = 0x00000000A3635CA8
<1aa00> 		I-Slot: a1[0x00000000000F2748] = 0x00000000FFF47408
<1aa00> 		O-Slot: a2[0x00000000000F2740] = 0x00000000A378F250
<1aa00> 		O-Slot: a3[0x00000000000F2738] = 0x00000000A3B212B8
<1aa00> 		I-Slot: t4[0x00000000000F2730] = 0x00000000000A5100
<1aa00> 		I-Slot: t5[0x00000000000F2728] = 0x00000000A36378A8
<1aa00> JNI call-in frame: bp = 0x00000000000F2778, sp = 0x00000000000F2758, pc = 0x00007FA301B47A28, cp = 0x0000000000000000, arg0EA = 0x00000000000F2778, flags = 0x0000000000010000
<1aa00> 	New ELS = 0x00007FA301C66A90
<1aa00> Generic method frame: bp = 0x00000000000F27A0, sp = 0x00000000000F2780, pc = 0x0000000000000002, cp = 0x0000000000000000, arg0EA = 0x00000000000F27C0, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/UnixFileDispatcherImpl.write0(Ljava/io/FileDescriptor;JI)I !j9method 0x000000000043A428
<1aa00> 	Using signature mapper
<1aa00> 	Arguments starting at 0x00000000000F27C0 for UDATA(0x0000000000000004) slots
<1aa00> 		O-Slot: a0[0x00000000000F27C0] = 0x00000000FFF39340
<1aa00> 		I-Slot: a1[0x00000000000F27B8] = 0x00007FA2DE207976
<1aa00> 		I-Slot: a2[0x00000000000F27B0] = 0x00007FA2FCC26330
<1aa00> 		I-Slot: a3[0x00000000000F27A8] = 0x0000000000000008
<1aa00> Bytecode frame: bp = 0x00000000000F27D8, sp = 0x00000000000F27C8, pc = 0x00007FA2DE205530, cp = 0x000000000043AA70, arg0EA = 0x00000000000F2800, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/UnixFileDispatcherImpl.write(Ljava/io/FileDescriptor;JI)I !j9method 0x000000000043A0E8
<1aa00> 	Bytecode index = 4
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2800 for 0x0000000000000005 slots
<1aa00> 		I-Slot: a0[0x00000000000F2800] = 0x00000000A372E730
<1aa00> 		I-Slot: a1[0x00000000000F27F8] = 0x00000000FFF39340
<1aa00> 		I-Slot: a2[0x00000000000F27F0] = 0x00000000A3864780
<1aa00> 		I-Slot: a3[0x00000000000F27E8] = 0x00007FA2FCC26330
<1aa00> 		I-Slot: a4[0x00000000000F27E0] = 0x0000000000000008
<1aa00> Bytecode frame: bp = 0x00000000000F2818, sp = 0x00000000000F2808, pc = 0x00007FA2DE206BEA, cp = 0x0000000000443670, arg0EA = 0x00000000000F2880, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/IOUtil.writeFromNativeBuffer(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZZILsun/nio/ch/NativeDispatcher;)I !j9method 0x0000000000443D30
<1aa00> 	Bytecode index = 130
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2880 for 0x000000000000000D slots
<1aa00> 		I-Slot: a0[0x00000000000F2880] = 0x00000000FFF39340
<1aa00> 		O-Slot: a1[0x00000000000F2878] = 0x00000000A3864780
<1aa00> 		I-Slot: a2[0x00000000000F2870] = 0x00000000000F2910
<1aa00> 		I-Slot: a3[0x00000000000F2868] = 0xFFFFFFFFFFFFFFFF
<1aa00> 		I-Slot: a4[0x00000000000F2860] = 0x0000000000000000
<1aa00> 		I-Slot: a5[0x00000000000F2858] = 0x0000000000000000
<1aa00> 		I-Slot: a6[0x00000000000F2850] = 0x00000000FFFFFFFF
<1aa00> 		I-Slot: a7[0x00000000000F2848] = 0x00000000A372E730
<1aa00> 		I-Slot: t8[0x00000000000F2840] = 0x0000000000000000
<1aa00> 		I-Slot: t9[0x00000000000F2838] = 0x0000000000000008
<1aa00> 		I-Slot: t10[0x00000000000F2830] = 0x0000000000000008
<1aa00> 		I-Slot: t11[0x00000000000F2828] = 0x0000000000000000
<1aa00> 		I-Slot: t12[0x00000000000F2820] = 0x00000000A3864780
<1aa00> Bytecode frame: bp = 0x00000000000F2898, sp = 0x00000000000F2888, pc = 0x00007FA2DE206AC0, cp = 0x0000000000443670, arg0EA = 0x00000000000F2910, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/IOUtil.write(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZZILsun/nio/ch/NativeDispatcher;)I !j9method 0x0000000000443D10
<1aa00> 	Bytecode index = 136
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2910 for 0x000000000000000F slots
<1aa00> 		I-Slot: a0[0x00000000000F2910] = 0x00000000FFF39340
<1aa00> 		O-Slot: a1[0x00000000000F2908] = 0x00000000FFF473B8
<1aa00> 		I-Slot: a2[0x00000000000F2900] = 0x0000000000000000
<1aa00> 		I-Slot: a3[0x00000000000F28F8] = 0xFFFFFFFFFFFFFFFF
<1aa00> 		I-Slot: a4[0x00000000000F28F0] = 0x0000000000000000
<1aa00> 		I-Slot: a5[0x00000000000F28E8] = 0x0000000000000000
<1aa00> 		I-Slot: a6[0x00000000000F28E0] = 0x00000000FFFFFFFF
<1aa00> 		I-Slot: a7[0x00000000000F28D8] = 0x00000000A372E730
<1aa00> 		I-Slot: t8[0x00000000000F28D0] = 0x0000000000000000
<1aa00> 		I-Slot: t9[0x00000000000F28C8] = 0x0000000000000008
<1aa00> 		I-Slot: t10[0x00000000000F28C0] = 0x0000000000000008
<1aa00> 		O-Slot: t11[0x00000000000F28B8] = 0x00000000A3864780
<1aa00> 		I-Slot: t12[0x00000000000F28B0] = 0x00000000FFF473B8
<1aa00> 		I-Slot: t13[0x00000000000F28A8] = 0x0000000000000000
<1aa00> 		I-Slot: t14[0x00000000000F28A0] = 0x00000000000F28D8
<1aa00> Bytecode frame: bp = 0x00000000000F2928, sp = 0x00000000000F2918, pc = 0x00007FA2DE206A12, cp = 0x0000000000443670, arg0EA = 0x00000000000F2960, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/IOUtil.write(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I !j9method 0x0000000000443CF0
<1aa00> 	Bytecode index = 10
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2960 for 0x0000000000000007 slots
<1aa00> 		I-Slot: a0[0x00000000000F2960] = 0x00000000FFF39340
<1aa00> 		I-Slot: a1[0x00000000000F2958] = 0x00000000FFF473B8
<1aa00> 		I-Slot: a2[0x00000000000F2950] = 0x00007FA2DE1FE1B7
<1aa00> 		I-Slot: a3[0x00000000000F2948] = 0xFFFFFFFFFFFFFFFF
<1aa00> 		I-Slot: a4[0x00000000000F2940] = 0x0000000000000000
<1aa00> 		I-Slot: a5[0x00000000000F2938] = 0x00000000FFFFFFFF
<1aa00> 		I-Slot: a6[0x00000000000F2930] = 0x00000000A372E730
<1aa00> Bytecode frame: bp = 0x00000000000F2978, sp = 0x00000000000F2968, pc = 0x00007FA2DE1FE1CF, cp = 0x0000000000437830, arg0EA = 0x00000000000F29C0, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/FileChannelImpl.implWrite(Ljava/nio/ByteBuffer;)I !j9method 0x0000000000438C98
<1aa00> 	Bytecode index = 163
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F29C0 for 0x0000000000000009 slots
<1aa00> 		O-Slot: a0[0x00000000000F29C0] = 0x00000000FFF39408
<1aa00> 		O-Slot: a1[0x00000000000F29B8] = 0x00000000FFF473B8
<1aa00> 		O-Slot: t2[0x00000000000F29B0] = 0x00000000FFF39498
<1aa00> 		I-Slot: t3[0x00000000000F29A8] = 0x0000000000000000
<1aa00> 		I-Slot: t4[0x00000000000F29A0] = 0x0000000000000000
<1aa00> 		I-Slot: t5[0x00000000000F2998] = 0x0000000000000000
<1aa00> 		I-Slot: t6[0x00000000000F2990] = 0x00000000000F29F8
<1aa00> 		I-Slot: t7[0x00000000000F2988] = 0x00007FA2DE14C79C
<1aa00> 		I-Slot: t8[0x00000000000F2980] = 0x00000000000A4EE0
<1aa00> Bytecode frame: bp = 0x00000000000F29D8, sp = 0x00000000000F29C8, pc = 0x00007FA2DE1FE100, cp = 0x0000000000437830, arg0EA = 0x00000000000F29E8, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/FileChannelImpl.write(Ljava/nio/ByteBuffer;)I !j9method 0x0000000000438C78
<1aa00> 	Bytecode index = 20
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F29E8 for 0x0000000000000002 slots
<1aa00> 		I-Slot: a0[0x00000000000F29E8] = 0x00000000FFF39408
<1aa00> 		I-Slot: a1[0x00000000000F29E0] = 0x00000000FFF473B8
<1aa00> Bytecode frame: bp = 0x00000000000F2A00, sp = 0x00000000000F29F0, pc = 0x00007FA2DE41106E, cp = 0x000000000050AA30, arg0EA = 0x00000000000F2A18, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/ChannelOutputStream.writeFully(Ljava/nio/ByteBuffer;)V !j9method 0x000000000050AF30
<1aa00> 	Bytecode index = 14
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2A18 for 0x0000000000000003 slots
<1aa00> 		O-Slot: a0[0x00000000000F2A18] = 0x00000000FFF39530
<1aa00> 		O-Slot: a1[0x00000000000F2A10] = 0x00000000FFF473B8
<1aa00> 		I-Slot: t2[0x00000000000F2A08] = 0x00000000000F2A7A
<1aa00> Bytecode frame: bp = 0x00000000000F2A30, sp = 0x00000000000F2A20, pc = 0x00007FA2DE411185, cp = 0x000000000050AA30, arg0EA = 0x00000000000F2A78, flags = 0x0000000000000000
<1aa00> 	Method: sun/nio/ch/ChannelOutputStream.write([BII)V !j9method 0x000000000050AF70
<1aa00> 	Bytecode index = 141
<1aa00> 	Sync object for synchronized method
<1aa00> 		Sync O-Slot[0x00000000000F2A38] = 0x00000000FFF39530
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2A78 for 0x0000000000000008 slots
<1aa00> 		I-Slot: a0[0x00000000000F2A78] = 0x00000000FFF39530
<1aa00> 		I-Slot: a1[0x00000000000F2A70] = 0x00000000A3799340
<1aa00> 		I-Slot: a2[0x00000000000F2A68] = 0x0000000000000000
<1aa00> 		I-Slot: a3[0x00000000000F2A60] = 0x0000000000000008
<1aa00> 		I-Slot: t4[0x00000000000F2A58] = 0x00000000FFF473B8
<1aa00> 		I-Slot: t5[0x00000000000F2A50] = 0x00007FA2FCA89E9F
<1aa00> 		I-Slot: t6[0x00000000000F2A48] = 0x00000000FFF39408
<1aa00> 		I-Slot: t7[0x00000000000F2A40] = 0x0000000000000000
<1aa00> Bytecode frame: bp = 0x00000000000F2A90, sp = 0x00000000000F2A80, pc = 0x00007FA2FCA89E9F, cp = 0x00000000003BFCE0, arg0EA = 0x00000000000F2B00, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/jvm/ClassWriter.writeClassFile(Ljava/io/OutputStream;Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V !j9method 0x00000000003C2678
<1aa00> 	Bytecode index = 1,263
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2B00 for 0x000000000000000E slots
<1aa00> 		O-Slot: a0[0x00000000000F2B00] = 0x00000000A3728638
<1aa00> 		O-Slot: a1[0x00000000000F2AF8] = 0x00000000FFF39530
<1aa00> 		I-Slot: a2[0x00000000000F2AF0] = 0x00000000A38CA8C0
<1aa00> 		I-Slot: t3[0x00000000000F2AE8] = 0x00000000A37173C8
<1aa00> 		I-Slot: t4[0x00000000000F2AE0] = 0x00000000A36CD4D8
<1aa00> 		I-Slot: t5[0x00000000000F2AD8] = 0x00000000A36CD4D8
<1aa00> 		I-Slot: t6[0x00000000000F2AD0] = 0x0000000000000021
<1aa00> 		I-Slot: t7[0x00000000000F2AC8] = 0x0000000000000000
<1aa00> 		I-Slot: t8[0x00000000000F2AC0] = 0x0000000000000007
<1aa00> 		I-Slot: t9[0x00000000000F2AB8] = 0x0000000000000307
<1aa00> 		I-Slot: t10[0x00000000000F2AB0] = 0x0000000000000002
<1aa00> 		I-Slot: t11[0x00000000000F2AA8] = 0x0000000000000000
<1aa00> 		I-Slot: t12[0x00000000000F2AA0] = 0x000000000000030D
<1aa00> 		I-Slot: t13[0x00000000000F2A98] = 0x00000000FFF46E28
<1aa00> Bytecode frame: bp = 0x00000000000F2B18, sp = 0x00000000000F2B08, pc = 0x00007FA2FCA897F0, cp = 0x00000000003BFCE0, arg0EA = 0x00000000000F2B58, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/jvm/ClassWriter.writeClass(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)Ljavax/tools/JavaFileObject; !j9method 0x00000000003C2658
<1aa00> 	Bytecode index = 128
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2B58 for 0x0000000000000008 slots
<1aa00> 		O-Slot: a0[0x00000000000F2B58] = 0x00000000A3728638
<1aa00> 		O-Slot: a1[0x00000000000F2B50] = 0x00000000A38CA8C0
<1aa00> 		I-Slot: t2[0x00000000000F2B48] = 0x00000000A38C58C8
<1aa00> 		I-Slot: t3[0x00000000000F2B40] = 0x00000000A36DCE98
<1aa00> 		O-Slot: t4[0x00000000000F2B38] = 0x00000000FFF37A28
<1aa00> 		O-Slot: t5[0x00000000000F2B30] = 0x00000000FFF39530
<1aa00> 		I-Slot: t6[0x00000000000F2B28] = 0x0000000000000000
<1aa00> 		I-Slot: t7[0x00000000000F2B20] = 0x00000000000F2B90
<1aa00> Bytecode frame: bp = 0x00000000000F2B70, sp = 0x00000000000F2B60, pc = 0x00007FA2FC8FAA9B, cp = 0x0000000000319470, arg0EA = 0x00000000000F2B90, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/JavaCompiler.genCode(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)Ljavax/tools/JavaFileObject; !j9method 0x000000000031C0D8
<1aa00> 	Bytecode index = 27
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2B90 for 0x0000000000000004 slots
<1aa00> 		O-Slot: a0[0x00000000000F2B90] = 0x00000000A36F7780
<1aa00> 		I-Slot: a1[0x00000000000F2B88] = 0x00000000A37F9168
<1aa00> 		O-Slot: a2[0x00000000000F2B80] = 0x00000000A37D91C0
<1aa00> 		I-Slot: t3[0x00000000000F2B78] = 0x00000000000F2BFA
<1aa00> Bytecode frame: bp = 0x00000000000F2BA8, sp = 0x00000000000F2B98, pc = 0x00007FA2FC8FD14A, cp = 0x0000000000319470, arg0EA = 0x00000000000F2BF8, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/JavaCompiler.generate(Ljava/util/Queue;Ljava/util/Queue;)V !j9method 0x000000000031C458
<1aa00> 	Bytecode index = 278
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2BF8 for 0x000000000000000A slots
<1aa00> 		O-Slot: a0[0x00000000000F2BF8] = 0x00000000A36F7780
<1aa00> 		I-Slot: a1[0x00000000000F2BF0] = 0x00000000FFF01170
<1aa00> 		O-Slot: a2[0x00000000000F2BE8] = 0x0000000000000000
<1aa00> 		O-Slot: t3[0x00000000000F2BE0] = 0x00000000FFF11B30
<1aa00> 		I-Slot: t4[0x00000000000F2BD8] = 0x00000000FFF11B10
<1aa00> 		O-Slot: t5[0x00000000000F2BD0] = 0x00000000A37F9168
<1aa00> 		O-Slot: t6[0x00000000000F2BC8] = 0x00000000A37D91C0
<1aa00> 		O-Slot: t7[0x00000000000F2BC0] = 0x0000000000000000
<1aa00> 		I-Slot: t8[0x00000000000F2BB8] = 0x00007FA2FC8FC982
<1aa00> 		I-Slot: t9[0x00000000000F2BB0] = 0x000000000031C3F8
<1aa00> Bytecode frame: bp = 0x00000000000F2C10, sp = 0x00000000000F2C00, pc = 0x00007FA2FC8FCFEB, cp = 0x0000000000319470, arg0EA = 0x00000000000F2C20, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/JavaCompiler.generate(Ljava/util/Queue;)V !j9method 0x000000000031C438
<1aa00> 	Bytecode index = 3
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2C20 for 0x0000000000000002 slots
<1aa00> 		I-Slot: a0[0x00000000000F2C20] = 0x00000000A36F7780
<1aa00> 		I-Slot: a1[0x00000000000F2C18] = 0x00000000FFF01170
<1aa00> Bytecode frame: bp = 0x00000000000F2C38, sp = 0x00000000000F2C28, pc = 0x00007FA2FC8FB2AD, cp = 0x0000000000319470, arg0EA = 0x00000000000F2C80, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V !j9method 0x000000000031C178
<1aa00> 	Bytecode index = 481
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2C80 for 0x0000000000000009 slots
<1aa00> 		O-Slot: a0[0x00000000000F2C80] = 0x00000000A36F7780
<1aa00> 		I-Slot: a1[0x00000000000F2C78] = 0x00000000FFE73E90
<1aa00> 		I-Slot: a2[0x00000000000F2C70] = 0x00000000A36B7140
<1aa00> 		I-Slot: a3[0x00000000000F2C68] = 0x0000000000000000
<1aa00> 		I-Slot: a4[0x00000000000F2C60] = 0x00000000A36CD4D8
<1aa00> 		I-Slot: t5[0x00000000000F2C58] = 0x00000000A36DE330
<1aa00> 		I-Slot: t6[0x00000000000F2C50] = 0x00007FA2DD2DD776
<1aa00> 		I-Slot: t7[0x00000000000F2C48] = 0x000000000020D0E8
<1aa00> 		I-Slot: t8[0x00000000000F2C40] = 0x0000000000000000
<1aa00> Bytecode frame: bp = 0x00000000000F2C98, sp = 0x00000000000F2C88, pc = 0x00007FA2DD2DD776, cp = 0x000000000020BD80, arg0EA = 0x00000000000F2D40, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result; !j9method 0x000000000020D0E8
<1aa00> 	Bytecode index = 622
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2D40 for 0x0000000000000015 slots
<1aa00> 		O-Slot: a0[0x00000000000F2D40] = 0x00000000A36608C0
<1aa00> 		O-Slot: a1[0x00000000000F2D38] = 0x00000000A36608E0
<1aa00> 		I-Slot: a2[0x00000000000F2D30] = 0x00000000A36608A8
<1aa00> 		I-Slot: t3[0x00000000000F2D28] = 0x00000000FFE80C88
<1aa00> 		I-Slot: t4[0x00000000000F2D20] = 0x00000000A36B7000
<1aa00> 		O-Slot: t5[0x00000000000F2D18] = 0x00000000A36B7040
<1aa00> 		I-Slot: t6[0x00000000000F2D10] = 0x0000000000000000
<1aa00> 		I-Slot: t7[0x00000000000F2D08] = 0x0000000000000001
<1aa00> 		I-Slot: t8[0x00000000000F2D00] = 0x0000000000000001
<1aa00> 		I-Slot: t9[0x00000000000F2CF8] = 0x00000000FFF01238
<1aa00> 		I-Slot: t10[0x00000000000F2CF0] = 0x0000000000000000
<1aa00> 		I-Slot: t11[0x00000000000F2CE8] = 0x00000000A36F7930
<1aa00> 		I-Slot: t12[0x00000000000F2CE0] = 0x00000000A36374C8
<1aa00> 		O-Slot: t13[0x00000000000F2CD8] = 0x00000000A36F7780
<1aa00> 		I-Slot: t14[0x00000000000F2CD0] = 0x00000000A36CD4D8
<1aa00> 		I-Slot: t15[0x00000000000F2CC8] = 0x0000000000000000
<1aa00> 		I-Slot: t16[0x00000000000F2CC0] = 0x000000000020FAE8
<1aa00> 		I-Slot: t17[0x00000000000F2CB8] = 0x0000000000000000
<1aa00> 		I-Slot: t18[0x00000000000F2CB0] = 0x00000000FFEA77A0
<1aa00> 		I-Slot: t19[0x00000000000F2CA8] = 0x00000000FFEA75C0
<1aa00> 		I-Slot: t20[0x00000000000F2CA0] = 0x00000000000F2CF0
<1aa00> Bytecode frame: bp = 0x00000000000F2D58, sp = 0x00000000000F2D48, pc = 0x00007FA2DD2DD45F, cp = 0x000000000020BD80, arg0EA = 0x00000000000F2D80, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/main/Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result; !j9method 0x000000000020D0C8
<1aa00> 	Bytecode index = 15
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2D80 for 0x0000000000000005 slots
<1aa00> 		O-Slot: a0[0x00000000000F2D80] = 0x00000000A36608C0
<1aa00> 		I-Slot: a1[0x00000000000F2D78] = 0x00000000FFE06C40
<1aa00> 		I-Slot: t2[0x00000000000F2D70] = 0x00000000FFE06C78
<1aa00> 		I-Slot: t3[0x00000000000F2D68] = 0x00007FA2DD2DC258
<1aa00> 		I-Slot: t4[0x00000000000F2D60] = 0x000000000020BD38
<1aa00> Bytecode frame: bp = 0x00000000000F2D98, sp = 0x00000000000F2D88, pc = 0x00007FA2DD2DC258, cp = 0x000000000020BBC0, arg0EA = 0x00000000000F2DA8, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/Main.compile([Ljava/lang/String;)I !j9method 0x000000000020BD38
<1aa00> 	Bytecode index = 12
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2DA8 for 0x0000000000000002 slots
<1aa00> 		I-Slot: a0[0x00000000000F2DA8] = 0x00000000FFFA85C8
<1aa00> 		I-Slot: t1[0x00000000000F2DA0] = 0x00000000FFFCDA30
<1aa00> Bytecode frame: bp = 0x00000000000F2DC0, sp = 0x00000000000F2DB0, pc = 0x00007FA2DD2DC211, cp = 0x000000000020BBC0, arg0EA = 0x00000000000F2DC8, flags = 0x0000000000000000
<1aa00> 	Method: com/sun/tools/javac/Main.main([Ljava/lang/String;)V !j9method 0x000000000020BD18
<1aa00> 	Bytecode index = 1
<1aa00> 	Using local mapper
<1aa00> 	Locals starting at 0x00000000000F2DC8 for 0x0000000000000001 slots
<1aa00> 		I-Slot: a0[0x00000000000F2DC8] = 0x00000000FFFA85C8
<1aa00> JNI call-in frame: bp = 0x00000000000F2DF0, sp = 0x00000000000F2DD0, pc = 0x00007FA301B47A28, cp = 0x0000000000000000, arg0EA = 0x00000000000F2DF0, flags = 0x0000000000020000
<1aa00> 	New ELS = 0x0000000000000000
<1aa00> JNI native method frame: bp = 0x00000000000F2E98, sp = 0x00000000000F2DF8, pc = 0x0000000000000007, cp = 0x0000000000000000, arg0EA = 0x00000000000F2E98, flags = 0x0000000000000010
<1aa00> 	Object pushes starting at 0x00000000000F2DF8 for 16 slots
<1aa00> 		Push[0x00000000000F2DF8] = 0x0000000000000000
<1aa00> 		Push[0x00000000000F2E00] = 0x0000000000000000
<1aa00> 		Push[0x00000000000F2E08] = 0x0000000000000000
<1aa00> 		Push[0x00000000000F2E10] = 0x0000000000000000
<1aa00> 		Push[0x00000000000F2E18] = 0x00000000A36608E0
<1aa00> 		Push[0x00000000000F2E20] = 0x00000000A35F0EE0
<1aa00> 		Push[0x00000000000F2E28] = 0x00000000A362FCD0
<1aa00> 		Push[0x00000000000F2E30] = 0x00000000A362FCD0
<1aa00> 		Push[0x00000000000F2E38] = 0x00000000A3660918
<1aa00> 		Push[0x00000000000F2E40] = 0x0000000000000000
<1aa00> 		Push[0x00000000000F2E48] = 0x00000000A362B280
<1aa00> 		Push[0x00000000000F2E50] = 0x00000000A35F5648
<1aa00> 		Push[0x00000000000F2E58] = 0x00000000A35F5568
<1aa00> 		Push[0x00000000000F2E60] = 0x00000000A35F04D0
<1aa00> 		Push[0x00000000000F2E68] = 0x00000000A35F27C8
<1aa00> 		Push[0x00000000000F2E70] = 0x00000000A35F0000
<1aa00> <end of stack>
<1aa00> *** END STACK WALK (rc = NONE) ***

@babsingh
Copy link
Contributor

@babsingh @TobiAjila Could the VM team take a further look at this issue?

Taking a look ...

babsingh added a commit to babsingh/openj9 that referenced this issue Jan 15, 2025
j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.

Related: eclipse-openj9#20870

Signed-off-by: Babneet Singh <[email protected]>
@babsingh
Copy link
Contributor

Opened #20940. Testing to see if it resolves this issue.

babsingh added a commit to babsingh/openj9 that referenced this issue Jan 15, 2025
j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.

Related: eclipse-openj9#20870

Signed-off-by: Babneet Singh <[email protected]>
tajila pushed a commit to tajila/openj9 that referenced this issue Jan 17, 2025
j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.

Related: eclipse-openj9#20870

Signed-off-by: Babneet Singh <[email protected]>
@JasonFengJ9
Copy link
Member Author

The error wasn't seen in the latest JDK24 runs.
Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm jdk24 jdk-head project:valhalla Used to track Project Valhalla related work test failure
Projects
None yet
Development

No branches or pull requests

6 participants