eclipse / omr

Eclipse OMR™ Cross platform components for building reliable, high performance language runtimes
http://www.eclipse.org/omr
Other
940 stars 394 forks source link

Assertion failed: setEvaluationPriority cannot be called after the node has already been evaluated #6808

Open Spencer-Comin opened 1 year ago

Spencer-Comin commented 1 year ago
Creating support/modules_libs/java.desktop/libjsound.so from 18 file(s)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 115 files for openj9.dtfjview
Compiling 1298 files for BUILD_J9DDR_TEST_CLASSES
Note: /jit/team/spencer/11/reference/build/linux-s390x-normal-server-release/support/j9jcl/openj9.dtfjview/share/classes/com/ibm/jvm/dtfjview/commands/OpenCommand.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Generating javadoc for openj9 source files
Compiling 4 files for BUILD_JIGSAW_TOOLS
Assertion failed at /jit/team/spencer/11/reference/omr/compiler/il/OMRNode.cpp:4516: 0
VMState: 0x0005ff04
    setEvaluationPriority cannot be called after the node has already been evaluated
compiling sun/nio/fs/UnixPath.getName(I)Lsun/nio/fs/UnixPath; at level: warm

Assert hit while building a debug build of OpenJDK 11 on z/Linux OpenJDK 11: 260117acee5b77771a3ce19cc6f5804872e4f9b9 OMR: 1c49c4a411f5c2120c8b7a18f3eda4a6290f2355 OpenJ9: 225d3896faac8bae25f9aab4a39ce06cbf85b9d4

Following the instructions at https://github.com/eclipse-openj9/openj9/blob/master/doc/build-instructions/Build_Instructions_V11.md without using Docker and with the following environment variables set:

cflags="-Og -ggdb3 -fno-inline -DDEBUG"
EXTRA_CMAKE_ARGS="-DJ9JIT_EXTRA_CFLAGS=\"$cflags\" -DJ9JIT_EXTRA_CXXFLAGS=\"$cflags\" -DOMR_SEPARATE_DEBUG_INFO=OFF"
cjjdespres commented 1 month ago

This one still happens fairly regularly for me, most recently on xlinux, JDK21. I've been commenting out the assert when I need a debug build.