-
Sub-task
-
Resolution: Fixed
-
P2
-
25
-
+ uname -a
Linux iZbp135q6mmbspbpzo7wx0Z 5.10.134-17.2.al8.aarch64 #1 SMP Fri Aug 9 15:44:30 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
+ cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (OpenAnolis Edition)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
VARIANT="OpenAnolis Edition"
VARIANT_ID="openanolis"
ALINUX_MINOR_ID="2104"
ALINUX_UPDATE_ID="10"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
+ free -h
total used free shared buff/cache available
Mem: 245Gi 1.1Gi 239Gi 0.0Ki 5.5Gi 242Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 1
Core(s) per socket: 64
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
BIOS Vendor ID: Alibaba Cloud
Model: 0
Model name: Neoverse-N2
BIOS Model name: virt-rhel7.6.0
Stepping: r0p0
CPU MHz: 3000.000
CPU max MHz: 3000.0000
CPU min MHz: 3000.0000
BogoMIPS: 100.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
L3 cache: 65536K
NUMA node0 CPU(s): 0-63
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
+ ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ java -version
openjdk version "24" 2025-03-18
OpenJDK Runtime Environment (build 24+-7a1e832e)
OpenJDK 64-Bit Server VM (build 24+-7a1e832e, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (24+-7a1e832e) for linux-aarch64 JRE (24+-7a1e832e), built on 2024-10-08T12:01:47Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git log -n 1
+ head -n 1
commit 0460978e7c769624cacdb528277a99914b327e30
+ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tone/run/jtreg/gcc-toolchain/gcc-14.2.0-binary/bin/../libexec/gcc/aarch64-unknown-linux-gnu/14.2.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: configure --prefix=/home/yansendao/tone/tone-matrix-compiler/csmith/gcc-14.2.0-binary --disable-multilib --enable-languages=c,c+,objc,obj-c+,fortran,lto
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.0 (GCC)+ uname -a Linux iZbp135q6mmbspbpzo7wx0Z 5.10.134-17.2.al8.aarch64 #1 SMP Fri Aug 9 15:44:30 CST 2024 aarch64 aarch64 aarch64 GNU/Linux + cat /etc/os-release NAME="Alibaba Cloud Linux" VERSION="3 (OpenAnolis Edition)" ID="alinux" ID_LIKE="rhel fedora centos anolis" VERSION_ID="3" VARIANT="OpenAnolis Edition" VARIANT_ID="openanolis" ALINUX_MINOR_ID="2104" ALINUX_UPDATE_ID="10" PLATFORM_ID="platform:al8" PRETTY_NAME="Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/" + free -h total used free shared buff/cache available Mem: 245Gi 1.1Gi 239Gi 0.0Ki 5.5Gi 242Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: aarch64 Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM BIOS Vendor ID: Alibaba Cloud Model: 0 Model name: Neoverse-N2 BIOS Model name: virt-rhel7.6.0 Stepping: r0p0 CPU MHz: 3000.000 CPU max MHz: 3000.0000 CPU min MHz: 3000.0000 BogoMIPS: 100.00 L1d cache: 64K L1i cache: 64K L2 cache: 1024K L3 cache: 65536K NUMA node0 CPU(s): 0-63 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh + ldd --version ldd (GNU libc) 2.32 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. + java -version openjdk version "24" 2025-03-18 OpenJDK Runtime Environment (build 24+-7a1e832e) OpenJDK 64-Bit Server VM (build 24+-7a1e832e, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (24+-7a1e832e) for linux-aarch64 JRE (24+-7a1e832e), built on 2024-10-08T12:01:47Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git log -n 1 + head -n 1 commit 0460978e7c769624cacdb528277a99914b327e30 + gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/tmp/tone/run/jtreg/gcc-toolchain/gcc-14.2.0-binary/bin/../libexec/gcc/aarch64-unknown-linux-gnu/14.2.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: configure --prefix=/home/yansendao/tone/tone-matrix-compiler/csmith/gcc-14.2.0-binary --disable-multilib --enable-languages=c,c+ ,objc,obj-c +,fortran,lto Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.2.0 (GCC)
-
b15
-
x86_64, aarch64
-
linux
---------
Original report:
The make fails log snippet from gcc14 with enable asan:
==184198==ERROR: AddressSanitizer: heap-use-after-free on address 0x5130000e7691 at pc 0xffff77b089e8 bp 0xffff46eeae90 sp 0xffff46eeaea8
READ of size 1 at 0x5130000e7691 thread T16 (C1 CompilerThre)
#0 0xffff77b089e4 in CompileBroker::invoke_compiler_on_method(CompileTask*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:2377
#1 0xffff77b09e48 in CompileBroker::compiler_thread_loop() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1975
#2 0xffff78d2c9a4 in JavaThread::thread_main_inner() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/javaThread.cpp:776
#3 0xffff78d49c28 in JavaThread::run() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/javaThread.cpp:761
#4 0xffff7b532ed8 in Thread::call_run() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/thread.cpp:231
#5 0xffff7a3f4b50 in thread_native_entry /tmp/tone/run/jtreg/jdk-repo/src/hotspot/os/linux/os_linux.cpp:877
#6 0xffff8e3e0c24 in asan_thread_start ../../.././libsanitizer/asan/asan_interceptors.cpp:234
#7 0xffff8da37f70 in start_thread (/lib64/libpthread.so.0+0x7f70) (BuildId: 0d3d7285cc0e5a0a08cdc7580b1719454ac2f2a8)
#8 0xffff8daf8f98 in thread_start (/lib64/libc.so.6+0x28f98) (BuildId: aabb4443d2eba4b2527cdf66d7295d1d61db58b0)
0x5130000e7691 is located 273 bytes inside of 378-byte region [0x5130000e7580,0x5130000e76fa)
freed by thread T16 (C1 CompilerThre) here:
#0 0xffff8e45632c in free ../../.././libsanitizer/asan/asan_malloc_linux.cpp:52
#1 0xffff77b3fc18 in CHeapObjBase::operator delete(void*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.hpp:172
#2 0xffff77b3fc18 in CHeapObj<(MemTag)7>::operator delete(void*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.hpp:217
#3 0xffff77b3fc18 in DirectivesStack::release(DirectiveSet*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:745
#4 0xffff77b05870 in CompileBroker::invoke_compiler_on_method(CompileTask*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:2343
#5 0xffff77b09e48 in CompileBroker::compiler_thread_loop() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1975
#6 0xffff78d2c9a4 in JavaThread::thread_main_inner() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/javaThread.cpp:776
#7 0xffff78d49c28 in JavaThread::run() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/javaThread.cpp:761
#8 0xffff7b532ed8 in Thread::call_run() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/thread.cpp:231
#9 0xffff7a3f4b50 in thread_native_entry /tmp/tone/run/jtreg/jdk-repo/src/hotspot/os/linux/os_linux.cpp:877
#10 0xffff8e3e0c24 in asan_thread_start ../../.././libsanitizer/asan/asan_interceptors.cpp:234
#11 0xffff8daf8f98 in thread_start (/lib64/libc.so.6+0x28f98) (BuildId: aabb4443d2eba4b2527cdf66d7295d1d61db58b0)
previously allocated by thread T1 here:
#0 0xffff8e457448 in malloc ../../.././libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0xffff7a3c9540 in os::malloc(unsigned long, MemTag, NativeCallStack const&) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/runtime/os.cpp:657
#2 0xffff76bda738 in AllocateHeap(unsigned long, MemTag, NativeCallStack const&, AllocFailStrategy::AllocFailEnum) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.cpp:41
#3 0xffff76bda738 in AllocateHeap(unsigned long, MemTag, AllocFailStrategy::AllocFailEnum) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.cpp:51
#4 0xffff77b3c5ac in CHeapObjBase::operator new(unsigned long, MemTag) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.hpp:127
#5 0xffff77b3c5ac in CHeapObj<(MemTag)7>::operator new(unsigned long) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/memory/allocation.hpp:181
#6 0xffff77b3c5ac in DirectiveSet::clone(DirectiveSet const*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:616
#7 0xffff77b4559c in DirectiveSetPtr::cloned() /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:359
#8 0xffff77b4559c in DirectiveSet::compilecommand_compatibility_init(methodHandle const&) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:431
#9 0xffff77b499c8 in DirectiveSet::compilecommand_compatibility_init(methodHandle const&) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:385
#10 0xffff77b499c8 in DirectivesStack::getMatchingDirective(methodHandle const&, AbstractCompiler*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilerDirectives.cpp:787
#11 0xffff77b15cc0 in CompileTask::initialize(int, methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, bool) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileTask.cpp:123
#12 0xffff77aff7fc in CompileBroker::create_compile_task(CompileQueue*, int, methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, bool) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1639
#13 0xffff77aff7fc in CompileBroker::compile_method_base(methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, bool, Thread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1326
#14 0xffff77b02168 in CompileBroker::compile_method(methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, DirectiveSet*, JavaThread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1487
#15 0xffff77b03cdc in CompileBroker::compile_method(methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, JavaThread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compileBroker.cpp:1360
#16 0xffff77a1e2e8 in CompilationPolicy::compile(methodHandle const&, int, CompLevel, JavaThread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilationPolicy.cpp:815
#17 0xffff77a21f20 in CompilationPolicy::method_invocation_event(methodHandle const&, methodHandle const&, CompLevel, nmethod*, JavaThread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilationPolicy.cpp:1151
#18 0xffff77a2a66c in CompilationPolicy::event(methodHandle const&, methodHandle const&, int, int, CompLevel, nmethod*, JavaThread*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/compiler/compilationPolicy.cpp:736
#19 0xffff78c207f8 in InterpreterRuntime::frequency_counter_overflow_inner(JavaThread*, unsigned char*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/interpreter/interpreterRuntime.cpp:1074
#20 0xffff78c21054 in InterpreterRuntime::frequency_counter_overflow(JavaThread*, unsigned char*) /tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/interpreter/interpreterRuntime.cpp:1023
- caused by
-
JDK-8351938 C2: Print compilation bailouts with PrintCompilation compile command
-
- Closed
-
- duplicates
-
JDK-8352108 "COMPILE SKIPPED: concurrent class loading" cause tests intermittent fails
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/e29d4055
-
Review(master) openjdk/jdk/24073
-
Review(master) openjdk/jdk/24074