ADDITIONAL SYSTEM INFORMATION :
Java 17 / ubuntu
This is a CI/CD env so I don't have full access to get exact version numbers for the OS.
A DESCRIPTION OF THE PROBLEM :
We've been building and testing Apache POI on different Java installs for years. On OpenJDK 17, the test runs regularly fail with a SIGSEGV failure.
REGRESSION : Last worked in version 16.0.2
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
* Check out https://github.com/apache/poi
* ./gradlew poi-ooxml:test
* warning - this can take quite a few mins to run
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Successful compile and test run
ACTUAL -
https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/38/ is one example build where this failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5246b70be0, pid=21730, tid=21917
#
# JRE version: OpenJDK Runtime Environment (17.0+35) (build 17+35-2724)
# Java VM: OpenJDK 64-Bit Server VM (17+35-2724, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# J 34089 c2 com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(Lorg/w3c/dom/Node;ZZLjava/util/Map;)Lorg/w3c/dom/Node; java.xml@17 (1038 bytes) @ 0x00007f5246b70be0 [0x00007f5246b70320+0x00000000000008c0]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/jenkins/jenkins-agent/workspace/POI/POI-DSL-1.17/poi-ooxml/hs_err_pid21730.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
FREQUENCY : often