JDK-8335266 : compiler/interpreter/Test6833129 fails on x86_32
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-06-27
  • Updated: 2024-06-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Seems to be a recent regression. Shows up in GHA:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf632b5c7, pid=12013, tid=12037
#
# JRE version: OpenJDK Runtime Environment (24.0) (fastdebug build 24-internal-shipilev-cca85b6834b8e8a1dc1c96db023732d18d00f875)
# Java VM: OpenJDK Server VM (fastdebug 24-internal-shipilev-cca85b6834b8e8a1dc1c96db023732d18d00f875, mixed mode, sharing, tiered, g1 gc, linux-x86)
# Problematic frame:
# V  [libjvm.so+0x52b5c7]  oopDesc::size_given_klass(Klass*)+0x17
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/tmp -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=12.5 -J-Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk -J-Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/tmp -Dtest.compiler.opts= -Dtest.java.opts=-XX:-CreateCoredumpOnCrash -Dtest.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-24/fastdebug -Dcompile.jdk=/home/runner/work/jdk/jdk/bundles/jdk/jdk-24/fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native -Dtest.root=/home/runner/work/jdk/jdk/test/hotspot/jtreg -Dtest.name=compiler/interpreter/Test6833129.java -Dtest.file=/home/runner/work/jdk/jdk/test/hotspot/jtreg/compiler/interpreter/Test6833129.java -Dtest.src=/home/runner/work/jdk/jdk/test/hotspot/jtreg/compiler/interpreter -Dtest.src.path=/home/runner/work/jdk/jdk/test/hotspot/jtreg/compiler/interpreter -Dtest.classes=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/classes/1/compiler/interpreter/Test6833129.d -Dtest.class.path=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/classes/1/compiler/interpreter/Test6833129.d -Dtest.class.path.prefix=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/classes/1/compiler/interpreter/Test6833129.d:/home/runner/work/jdk/jdk/test/hotspot/jtreg/compiler/interpreter -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/home/runner/work/jdk/jdk/bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/tmp -XX:-CreateCoredumpOnCrash -Djava.library.path=/home/runner/work/jdk/jdk/bundles/tests/hotspot/jtreg/native -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot com.sun.javatest.regtest.agent.MainWrapper /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_compiler_2/compiler/interpreter/Test6833129.d/main.0.jta

Host: fv-az841-20, AMD EPYC 7763 64-Core Processor, 4 cores, 15G, Ubuntu 22.04.4 LTS
Time: Thu Jun 27 13:08:42 2024 UTC elapsed time: 0.582800 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread (0x618f5f90):  WorkerThread "GC Thread#3"            [id=12037, stack(0x9922d000,0x992ad000) (512K)]

Stack: [0x9922d000,0x992ad000],  sp=0x992ac0b0,  free space=508k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x52b5c7]  oopDesc::size_given_klass(Klass*)+0x17  (klass.hpp:295)
V  [libjvm.so+0xaaba23]  G1HeapRegion::verify_liveness_and_remset(VerifyOption) const+0x2c3  (oop.inline.hpp:153)
V  [libjvm.so+0xaac126]  G1HeapRegion::verify(VerifyOption) const+0x26  (g1HeapRegion.cpp:701)
V  [libjvm.so+0xabfd1f]  VerifyRegionClosure::do_heap_region(G1HeapRegion*)+0x10f  (g1HeapVerifier.cpp:268)
V  [libjvm.so+0xab39c4]  HeapRegionManager::par_iterate(HeapRegionClosure*, HeapRegionClaimer*, unsigned int) const+0x64  (g1HeapRegionManager.cpp:599)
V  [libjvm.so+0xabe3f4]  G1VerifyTask::work(unsigned int)+0x34  (g1HeapVerifier.cpp:309)
V  [libjvm.so+0x16054fc]  WorkerThread::run()+0x6c  (workerThread.cpp:70)
V  [libjvm.so+0x14c9fce]  Thread::call_run()+0xbe  (thread.cpp:225)
V  [libjvm.so+0x1149194]  thread_native_entry(Thread*)+0x144  (os_linux.cpp:858)
C  [libc.so.6+0x86071]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000008
Comments
Initially bisected to JDK-8330670, but that might only be a trigger. Update: Fails even before JDK-8330670, but much more rarely. A more accurate bisect points to JDK-8329126, which might indicate the native wrappers are borked on x86_32.
28-06-2024