Skip to content

Valhalla segfault in StrictStaticTests.java StrictStaticTests_C2only #24395

Description

@hangshao0

Failure link

https://hyc-runtimes-jenkins.swg-devops.com/view/Valhalla%20Tests/job/Test_JDKnext_valhalla_openjdk_x86-64_linux/157/

Failure output (captured from console output)

19:21:56  STDERR:
19:21:56  Unhandled exception
19:21:56  Type=Segmentation error vmState=0x00000000
19:21:56  J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
19:21:56  Handler1=00007FA0DFB95B50 Handler2=00007FA0DF8E1900 InaccessibleAddress=00000004FFE68C30 Sending_Process=ffe68c30
19:21:56  RDI=00000000001A8300 RSI=0000000000000001 RAX=0000000000000000 RBX=0000000000305E00
19:21:56  RCX=00000004FFE68C30 RDX=00000000FFF94500 R8=00007FA0DFFF30E0 R9=00007FA0E0033510
19:21:56  R10=00007FA0B29F5710 R11=0000000000000000 R12=00000000001A8300 R13=00000000FFE68C30
19:21:56  R14=00007FA0DFFFA980 R15=00007FA0DFFFA980
19:21:56  RIP=00007FA0DFB71ED0 GS=0000 FS=0000 RSP=00007FA0B29F6170
19:21:56  EFlags=0000000000010202 CS=0033 RBP=0000000000000002 ERR=0000000000000006
19:21:56  TRAPNO=000000000000000E OLDMASK=0000000000000000 CR2=00000004FFE68C30
19:21:56  xmm0=0000000000000000 (f: 0.000000, d: 0.000000e+00)
19:21:56  xmm1=00000000001fa0e8 (f: 2072808.000000, d: 1.024103e-317)
19:21:56  xmm2=00007fa0b29f57e8 (f: 2996787200.000000, d: 6.933133e-310)
19:21:56  xmm3=0000000000000001 (f: 1.000000, d: 4.940656e-324)
19:21:56  xmm4=0000000000000001 (f: 1.000000, d: 4.940656e-324)
19:21:56  xmm5=0000000000000005 (f: 5.000000, d: 2.470328e-323)
19:21:56  xmm6=00007fa057e10e6c (f: 1474367104.000000, d: 6.933057e-310)
19:21:56  xmm7=00000000001fa060 (f: 2072672.000000, d: 1.024036e-317)
19:21:56  xmm8=00007fa057e1d93a (f: 1474418944.000000, d: 6.933057e-310)
19:21:56  xmm9=000003c10000745f (f: 29791.000000, d: 2.039238e-311)
19:21:56  xmm10=0000000000000000 (f: 0.000000, d: 0.000000e+00)
19:21:56  xmm11=00000000001fa461 (f: 2073697.000000, d: 1.024542e-317)
19:21:56  xmm12=0000000000000000 (f: 0.000000, d: 0.000000e+00)
19:21:56  xmm13=00000000ffe70068 (f: 4293328896.000000, d: 2.121186e-314)
19:21:56  xmm14=00000000001fa0e9 (f: 2072809.000000, d: 1.024104e-317)
19:21:56  xmm15=0000000000000000 (f: 0.000000, d: 0.000000e+00)
19:21:56  Module=/home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/default/libj9vm29.so
19:21:56  Module_base_address=00007FA0DFB4E000
19:21:56  Target=2_90_20260720_2340 (Linux 4.18.0-553.144.1.el8_10.x86_64)
19:21:56  CPU=amd64 (4 logical CPUs) (0x1e1129000 RAM)
19:21:56  ----------- Stack Backtrace -----------
19:21:56  setInitStatus+0x2f0 (0x00007FA0DFB71ED0 [libj9vm29.so+0x23ed0])
19:21:56  classInitStateMachine+0x1a60 (0x00007FA0DFB73EC0 [libj9vm29.so+0x25ec0])
19:21:56  Java_sun_misc_Unsafe_ensureClassInitialized+0x6a (0x00007FA0D252DCFA [libjclse29.so+0x3fcfa])
19:21:56   (0x00007FA057857B99 [<unknown>+0x0])
19:21:56  ---------------------------------------
19:21:56  JVMDUMP039I Processing dump event "gpf", detail "" at 2026/07/20 16:21:49 - please wait.
19:21:56  JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/core.20260720.162149.91600.0001.dmp' in response to an event
19:21:56  JVMDUMP010I System dump written to /home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/core.20260720.162149.91600.0001.dmp
19:21:56  JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/javacore.20260720.162149.91600.0002.txt' in response to an event
19:21:56  JVMDUMP010I Java dump written to /home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/javacore.20260720.162149.91600.0002.txt
19:21:56  JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/Snap.20260720.162149.91600.0003.trc' in response to an event
19:21:56  JVMDUMP010I Snap dump written to /home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/Snap.20260720.162149.91600.0003.trc
19:21:56  JVMDUMP032I JVM requested JIT dump using '/home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/jitdump.20260720.162149.91600.0004.dmp' in response to an event
19:21:56  JVMDUMP051I JIT dump occurred in 'MainThread' thread 0x00000000001A8300
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/invoke/MethodHandles$Lookup.ensureInitialized(Ljava/lang/Class;)Ljava/lang/Class;
19:21:56  JVMDUMP053I JIT dump is recompiling StrictStaticTests.testFailedWrites(Z)V
19:21:56  JVMDUMP053I JIT dump is recompiling StrictStaticTests.testFailedWrites()V
19:21:56  JVMDUMP053I JIT dump is recompiling StrictStaticTests.main([Ljava/lang/String;)V
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/invoke/LambdaForm$DMH/0x000000007811a180.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/invoke/LambdaForm$MH/0x00000000781249a0.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/invoke/LambdaForm$MH/0x0000000078121510.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
19:21:56  JVMDUMP053I JIT dump is recompiling com/sun/javatest/regtest/agent/MainMethodHelper.executeModernMainClass(Ljava/lang/Class;[Ljava/lang/String;)V
19:21:56  JVMDUMP053I JIT dump is recompiling com/sun/javatest/regtest/agent/MainWrapper$MainTask.run()V
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V
19:21:56  JVMDUMP053I JIT dump is recompiling java/lang/Thread.run()V
19:21:56  JVMDUMP010I JIT dump written to /home/jenkins/workspace/Test_JDKnext_valhalla_openjdk_x86-64_linux/aqa-tests/TKG/output_17845894994363/hotspot_valhalla_runtime_j9_0/work/scratch/0/jitdump.20260720.162149.91600.0004.dmp
19:21:56  JVMDUMP056I Processed dump event "gpf", detail "" at 2026/07/20 16:21:53 (4.288 seconds).

This failure seems intermittent, 30x grinder on the latest nightly build all passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions