assert(addp->is_AddP()) failed: must be AddP during EA with -XX:-UseCompressedOops

XMLWordPrintable

    • b05
    • generic
    • linux

        How to reproduce:
        1) jdk fastdebug build
        2) make test TEST=test/jdk/tools/jpackage/share/AsyncTest.java JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZGC"
        3) It failed intermittently. In my local test, it failed on Linux/AArch64 and Linux/x86_64. The failure probability is about 1/2 runs

        Note-1: this test case was introduced in JDK-8333727
        Note-2: I tried the following commits and the three commits failed all.
            a) a89018582160a, i.e. the commit of JDK-8333727
            b) 6950503dcf786, i.e. the latest commit in jdk26 branch
            c) 6ae3e064352a5, i.e. the latest commit in mainline

        Here shows the snippet of error log.
        Attached please find the full log.

        STDOUT:
        [03:43:06.881] Parsing [--jpt-run=AsyncTest]...
        [03:43:06.964] AsyncTest -> [public void AsyncTest.test() throws java.lang.Exception]
        [03:43:07.019] Create: AsyncTest.test
        [03:43:07.036] [ RUN ] AsyncTest.test
        [03:43:07.302] TRACE: Bundler deb enabled
        [03:43:07.366] TRACE: exec: Execute tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6); discard out+err...
        [03:43:08.831] TRACE: exec: Done. Exit code: 0
        [03:43:08.839] TRACE: assertEquals(0): Check command tool provider [javac -d test/jar-workdir --release 11 /tmp/jdk-src/test/jdk/tools/jpackage/apps/Hello.java](6) exited with 0 code
        [03:43:08.842] TRACE: exec: Execute tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9); discard out+err...
        [03:43:08.904] TRACE: exec: Done. Exit code: 0
        [03:43:08.904] TRACE: assertEquals(0): Check command tool provider [jar -c -f test/hello.jar -e Hello -C test/jar-workdir .](9) exited with 0 code
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/tmp/jdk-src/src/hotspot/share/opto/escape.cpp:3701), pid=102226, tid=102356
        # assert(addp->is_AddP()) failed: must be AddP
        #
        # JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-git-a6462d641cb)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-git-a6462d641cb, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
        # Problematic frame:
        # V [libjvm.so+0xc0fe54][thread 102357 also had an error]
          ConnectionGraph::get_addp_base(Node*)+0x494
        #
        # Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (alternatively, falling back to /tmp/jtwork/jdk/scratch/0/core.102226)
        #
        # An error report file with more information is saved as:
        # /tmp/jtwork/jdk/scratch/0/hs_err_pid102226.log
        [thread 102359 also had an error]
        [thread 102358 also had an error]
        [thread 102341 also had an error]

        ------ Timeout during error reporting after 120 s. ------
        # [ timer expired, abort... ]

              Assignee:
              Quan Anh Mai
              Reporter:
              Hao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: