Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8355230

Crash in fuzzer tests: assert(n != nullptr) failed: must not be null

XMLWordPrintable

      Test: applications/javafuzzer/JF_5000Tests.java

      -Xmx1G -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::* -Xcomp Test_1990.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/d2398cde-9325-49c3-b030-8961a4f0a253-S59383/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8acc841d-0f00-4881-991d-9aa84d86b21d/runs/aa75f155-bc2e-40ee-aba9-a9847f740b8e/workspace/open/src/hotspot/share/opto/phaseX.hpp:283), pid=2690492, tid=2690509
      # assert(n != nullptr) failed: must not be null
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+20) (fastdebug build 25-ea+20-LTS-2278)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+20-LTS-2278, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x13f1dd4] TypeNode::Ideal(PhaseGVN*, bool)+0xb50
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/d2398cde-9325-49c3-b030-8961a4f0a253-S63813/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bf77c96a-fcb5-4312-90fb-28aa5a6b07e0/runs/f0fe884f-333a-4f6a-8fe2-107bc9161489/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_javafuzzer_JF_5000Tests_java/scratch/0/generated/javafuzzer_tests/core.2690492)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Xmx1G -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::* -Xcomp Test_1990

      Host: AArch64, 8 cores, 30G, Oracle Linux Server release 9.5
      Time: Sat Apr 19 04:22:08 2025 UTC elapsed time: 0.569033 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffff80264200): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=2690509, stack(0x0000ffff681e9000,0x0000ffff683e7000) (2040K)]


      Current CompileTask:
      C2:569 53 !b 4 Test_1990::mainTest (626 bytes)

      Stack: [0x0000ffff681e9000,0x0000ffff683e7000], sp=0x0000ffff683e18a0, free space=2018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13f1dd4] TypeNode::Ideal(PhaseGVN*, bool)+0xb50 (phaseX.hpp:283)
      V [libjvm.so+0x7b6128] CastIINode::Ideal(PhaseGVN*, bool)+0x9c (castnode.cpp:104)
      V [libjvm.so+0x14e7df0] PhaseIterGVN::transform_old(Node*)+0xe8 (phaseX.cpp:668)
      V [libjvm.so+0x14de298] PhaseIterGVN::optimize()+0xd8 (phaseX.cpp:1054)
      V [libjvm.so+0x93e490] Compile::Optimize()+0x248 (compile.cpp:2307)
      V [libjvm.so+0x941280] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1620 (compile.cpp:860)
      V [libjvm.so+0x77cddc] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2b8 (c2compiler.cpp:141)
      V [libjvm.so+0x94faf8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x9d4 (compileBroker.cpp:2307)
      V [libjvm.so+0x9509ac] CompileBroker::compiler_thread_loop()+0x62c (compileBroker.cpp:1951)
      V [libjvm.so+0xe2e648] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:773)
      V [libjvm.so+0x176772c] Thread::call_run()+0xac (thread.cpp:231)
      V [libjvm.so+0x145fc3c] thread_native_entry(Thread*)+0x12c (os_linux.cpp:875)
      C [libc.so.6+0x80188] start_thread+0x2d8

            roland Roland Westrelin
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: