deephaven / deephaven-core

Deephaven Community Core
Other
255 stars 81 forks source link

Java 19 test failure in PartitionedTableTest.testTransformPartitionedTableThenMerge #2965

Open niloc132 opened 1 year ago

niloc132 commented 1 year ago

At this time seems to only happen in java 19.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f237e1fc9b5, pid=3056, tid=3073
#
# JRE version: OpenJDK Runtime Environment Temurin-19+36 (19.0+36) (build 19+36)
# Java VM: OpenJDK 64-Bit Server VM Temurin-19+36 (19+36, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xf189b5]  TypeKlassPtr::get_con() const+0x25
#
# 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/runner/work/deephaven-core/deephaven-core/engine/table/core.3056)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

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

Command Line: -DConfiguration.rootFile=dh-tests.prop -Dconfiguration.quiet=true -Ddevroot=/home/runner/work/deephaven-core/deephaven-core -Dorg.gradle.internal.worker.tmpdir=/home/runner/work/deephaven-core/deephaven-core/engine/table/build/tmp/testOutOfBand/work -Dorg.gradle.native=false -Dworkspace=/home/runner/work/deephaven-core/deephaven-core/tmp/workspace -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=/home/runner/work/deephaven-core/deephaven-core/engine/table/build/dh-compiler-directives.txt -XX:DisableIntrinsic=_currentThread -Xmx6g -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 4'

Host: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz, 2 cores, 6G, Ubuntu 22.04.1 LTS
Time: Tue Oct  4 19:22:19 2022 UTC elapsed time: 112.784318 seconds (0d 0h 1m 52s)

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

Current thread (0x00007f23780c8b80):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=3073, stack(0x00007f235020f000,0x00007f235030f000)]

Current CompileTask:
C2: 112784 20058       4       io.deephaven.engine.rowset.impl.sortedranges.SortedRangesPacked::applyShiftOnNew (56 bytes)

Stack: [0x00007f235020f000,0x00007f235030f000],  sp=0x00007f2350309c90,  free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xf189b5]  TypeKlassPtr::get_con() const+0x25
V  [libjvm.so+0xe8d99b]  CmpPNode::sub(Type const*, Type const*) const+0x2eb
V  [libjvm.so+0xd0eeb3]  PhaseIterGVN::transform_old(Node*)+0x133
V  [libjvm.so+0xd0bc66]  PhaseIterGVN::optimize()+0x116
V  [libjvm.so+0x60cc36]  PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x236
V  [libjvm.so+0x60a8b2]  Compile::Optimize()+0xa62
V  [libjvm.so+0x60c4dc]  Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xe2c
V  [libjvm.so+0x54b2d0]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x120
V  [libjvm.so+0x614af1]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe91
V  [libjvm.so+0x615860]  CompileBroker::compiler_thread_loop()+0x500
V  [libjvm.so+0xf02840]  JavaThread::thread_main_inner()+0x2a0
V  [libjvm.so+0xf09900]  Thread::call_run()+0xc0
V  [libjvm.so+0xcbecd8]  thread_native_entry(Thread*)+0xd8
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f20113189b5, pid=96275, tid=96677
#
# JRE version: OpenJDK Runtime Environment Temurin-19+36 (19.0+36) (build 19+36)
# Java VM: OpenJDK 64-Bit Server VM Temurin-19+36 (19+36, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xf189b5]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/colin/workspace/illumon/core.new/engine/table/core.96275)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

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

Command Line: -DConfiguration.rootFile=dh-tests.prop -Dconfiguration.quiet=true -Ddevroot=/home/colin/workspace/illumon/core.new -Dorg.gradle.internal.worker.tmpdir=/home/colin/workspace/illumon/core.new/engine/table/build/tmp/testOutOfBand/work -Dorg.gradle.native=false -Dworkspace=/home/colin/workspace/illumon/core.new/tmp/workspace -XX:+UnlockDiagnosticVMOptions -XX:CompilerDirectivesFile=/home/colin/workspace/illumon/core.new/engine/table/build/dh-compiler-directives.txt -XX:DisableIntrinsic=_currentThread -Xmx6g -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 6'

Host: AMD Ryzen Threadripper 1950X 16-Core Processor, 128 cores, 46G, Arch Linux
Time: Thu Oct  6 09:53:06 2022 CDT elapsed time: 102.161676 seconds (0d 0h 1m 42s)

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

Current thread (0x00007f1fa41297f0):  JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=96677, stack(0x00007f1f93e00000,0x00007f1f93f00000)]

Current CompileTask:
C2: 102161 17900       4       io.deephaven.engine.rowset.impl.sortedranges.SortedRangesPacked::applyShiftOnNew (56 bytes)

Repro'd in github actions (3/3 failures) as well as locally (2/3 failures), by running the full :engine-table:testOutOfBand with -PtestRuntimeVersion=19.

devinrsmith commented 1 year ago

I've been unable to reproduce so far.

devinrsmith commented 1 year ago

Additional failures of this nature on Java 20, https://github.com/deephaven/deephaven-core/pull/3644