abhishekrb19 commented on PR #18128: URL: https://github.com/apache/druid/pull/18128#issuecomment-2967825145
Hmm, one of the indexing module UTs `org.apache.druid.indexing.common.task.IndexTaskTest` crashed with a segfault with JDK 21 (21.0.7): ``` Error: Command was /bin/sh -c cd '/home/runner/work/druid/druid/indexing-service' && '/opt/hostedtoolcache/Java_Zulu_jdk/21.0.7-6/x64/bin/java' '-javaagent:/home/runner/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/runner/work/druid/druid/indexing-service/target/jacoco-e94850aa.exec,excludes=org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskClientSyncImpl.class' '--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED' '--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED' '--add-opens=java.base/java.nio=ALL-UNNAMED' '--add-opens=java.base/sun.nio.ch=ALL-UNNAMED' '--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED' '--add-opens=java.base/java.io=ALL-UNNAMED' '--add-opens=java.base/java.lang=ALL-UNNAMED' '--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED' '--add-opens=java.base/java.util=ALL-UNNAMED' '-Djava.security.manager=allow' '-Xmx2048m' '-XX:MaxDirectMemorySize=2500m' '-XX:+ExitOnOutOfMemory Error' '-XX:+HeapDumpOnOutOfMemoryError' '-Duser.language=en' '-Duser.GroupByQueryRunnerTest.javacountry=US' '-Dfile.encoding=UTF-8' '-Duser.timezone=UTC' '-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager' '-Daws.region=us-east-1' '-Ddruid.test.stupidPool.poison=true' '-XX:OnOutOfMemoryError=/home/runner/work/druid/druid/dev/chmod-heap-dumps.sh' '-XX:HeapDumpPath=/home/runner/work/druid/druid/target' '-Ddruid.indexing.doubleStorage=double' '-jar' '/home/runner/work/druid/druid/indexing-service/target/surefire/surefirebooter-20250612170805114_4173.jar' '/home/runner/work/druid/druid/indexing-service/target/surefire' '2025-06-12T16-52-22_610-jvmRun1' 'surefire-20250612170805114_4171tmp' 'surefire_3-20250612170805114_4172tmp' Error: Error occurred in starting fork, check output in log Error: Process Exit Code: 134 Error: Crashed tests: Error: org.apache.druid.indexing.common.task.IndexTaskTest Error: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? ``` The relevant segfault from the dump [hs_err_pid5889.log](https://github.com/user-attachments/files/20714478/hs_err_pid5889.log): ``` ➜ -cat ./indexing-service/hs_err_pid5889.log # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f79a1912099, pid=5889, tid=5904 # # JRE version: OpenJDK Runtime Environment Zulu21.42+21-CRaC-CA (21.0.7+6) (build 21.0.7+6-LTS) # Java VM: OpenJDK 64-Bit Server VM Zulu21.42+21-CRaC-CA (21.0.7+6-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # V [libjvm.so+0xf12099] BoolNode::Ideal(PhaseGVN*, bool)+0x19 # # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" (or dumping to /home/runner/work/druid/druid/indexing-service/core.5889) # # If you would like to submit a bug report, please visit: # http://www.azul.com/support/ # --------------- S U M M A R Y ------------ Command Line: -javaagent:/home/runner/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/runner/work/druid/druid/indexing-service/target/jacoco-e94850aa.exec,excludes=org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskClientSyncImpl.class --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Djava.security.manager=allow -Xmx2048m -XX:MaxDirectMemorySize=2500m -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.GroupByQueryRunnerTest.javacountry=US -Dfile.encoding=UTF-8 -Duser.timezone=UTC -Djava.util.lo gging.manager=org.apache.logging.log4j.jul.LogManager -Daws.region=us-east-1 -Ddruid.test.stupidPool.poison=true -XX:OnOutOfMemoryError=/home/runner/work/druid/druid/dev/chmod-heap-dumps.sh -XX:HeapDumpPath=/home/runner/work/druid/druid/target -Ddruid.indexing.doubleStorage=double /home/runner/work/druid/druid/indexing-service/target/surefire/surefirebooter-20250612170805114_4173.jar /home/runner/work/druid/druid/indexing-service/target/surefire 2025-06-12T16-52-22_610-jvmRun1 surefire-20250612170805114_4171tmp surefire_3-20250612170805114_4172tmp Host: AMD EPYC 7763 64-Core Processor, 4 cores, 15G, Ubuntu 24.04.2 LTS Time: Thu Jun 12 17:09:46 2025 UTC elapsed time: 101.849667 seconds (0d 0h 1m 41s) --------------- T H R E A D --------------- Current thread (0x00007f799c1c8b30): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5904, stack(0x00007f7980da2000,0x00007f7980ea2000) (1024K)] Current CompileTask: C2:101849 41665 4 com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector::_addFields (1077 bytes) Stack: [0x00007f7980da2000,0x00007f7980ea2000], sp=0x00007f7980e9d690, free space=1005k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xf12099] BoolNode::Ideal(PhaseGVN*, bool)+0x19 V [libjvm.so+0xd608ee] PhaseIterGVN::transform_old(Node*)+0x9e V [libjvm.so+0x6b4d2a] Conv2BNode::Ideal(PhaseGVN*, bool)+0x17a V [libjvm.so+0xd608ee] PhaseIterGVN::transform_old(Node*)+0x9e V [libjvm.so+0xd5c599] PhaseIterGVN::optimize()+0xf9 V [libjvm.so+0x672279] Compile::Optimize()+0xfc9 V [libjvm.so+0x6739d6] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xf36 V [libjvm.so+0x59a64b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x18b V [libjvm.so+0x679e6e] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc9e V [libjvm.so+0x67d198] CompileBroker::compiler_thread_loop()+0x738 V [libjvm.so+0x931400] JavaThread::thread_main_inner()+0x1e0 V [libjvm.so+0xf82da8] Thread::call_run()+0xa8 V [libjvm.so+0xd0df9a] thread_native_entry(Thread*)+0xda C [libc.so.6+0x9caa4] siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x000000000000002c ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
