This triggers when running make test TEST="gtest:all" with aarch64 openjdk slowdebug:
......
[----------] 1 test from G1CommittedRegionMapTest
[ RUN ] G1CommittedRegionMapTest.serial
[ OK ] G1CommittedRegionMapTest.serial (6 ms)
[----------] 1 test from G1CommittedRegionMapTest (6 ms total)
[----------] 3 tests from G1ServiceThread
[ RUN ] G1ServiceThread.test_add_vm
[ OK ] G1ServiceThread.test_add_vm (1000 ms)
[ RUN ] G1ServiceThread.test_add_while_waiting_vm
assert failed: assert(limit == bottom) failed: the region limit should be at bottomassert failed: assert(limit == bottom) failed: the region limit should be at bottomassert failed: assert(limit == bottom) failed: the region limit should be at bottom[thread 293938 also had an error][thread 294262 also had an error]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/fyang/jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:1931), pid=293932, tid=294261
# assert(limit == bottom) failed: the region limit should be at bottom
#
# JRE version: OpenJDK Runtime Environment (23.0) (slowdebug build 23-internal-adhoc.fyang.jdk)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 23-internal-adhoc.fyang.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/fyang/jdk/build/linux-aarch64-server-slowdebug/test-support/gtest_all_server/core.293932)
#
# An error report file with more information is saved as:
# /home/fyang/jdk/build/linux-aarch64-server-slowdebug/test-support/gtest_all_server/hs_err_pid293932.log
[ OK ] G1ServiceThread.test_add_while_waiting_vm (1000 ms)
[ RUN ] G1ServiceThread.test_add_run_once_vm
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
/usr/bin/bash: line 1: 293932 Aborted (core dumped) /home/fyang/jdk/build/linux-aarch64-server-slowdebug/images/test/hotspot/gtest/server/gtestLauncher -jdk /home/fyang/jdk/build/linux-aarch64-server-slowdebug/images/jdk --gtest_output=xml:/home/fyang/jdk/build/linux-aarch64-server-slowdebug/test-results/gtest_all_server/gtest.xml --gtest_catch_exceptions=0 > >(/usr/bin/tee /home/fyang/jdk/build/linux-aarch64-server-slowdebug/test-results/gtest_all_server/gtest.txt)
Finished running test 'gtest:all/server'
Test report is stored in build/linux-aarch64-server-slowdebug/test-results/gtest_all_server
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
gtest:all/server 0 0 0 0
==============================
TEST SUCCESS
Finished building target 'test' in configuration 'linux-aarch64-server-slowdebug'