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

C2: igv_print() crash unexpectedly when called from debugger

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      generic
    • OS:
      generic

      Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/qingfeng.yy/openjdk16_so_warning/jdk/src/hotspot/share/opto/idealGraphPrinter.cpp:771), pid=69202, tid=69299
      # fatal error: Couldn't connect to visualizer at 127.0.0.1:4444
      #
      # JRE version: OpenJDK Runtime Environment (17.0) (slowdebug build 17-internal+0-adhoc.qingfengyy.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (slowdebug 17-internal+0-adhoc.qingfengyy.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xaaaf59] IdealGraphPrinter::init_network_stream()+0x107
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # 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: -Dapplication.home=/home/qingfeng.yy/openjdk16_so_warning/jdk/build/linux-x86_64-server-slowdebug/images/jdk --add-modules=ALL-DEFAULT -Xms8m -XX:-OptoRemoveUseless -Dtest.vm.opts=-XX:-OptoRemoveUseless -Dtest.tool.vm.opts=-J-XX:-OptoRemoveUseless -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/qingfeng.yy/openjdk16_so_warning/jdk/build/linux-x86_64-server-slowdebug/images/jdk -Dcompile.jdk=/home/qingfeng.yy/openjdk16_so_warning/jdk/build/linux-x86_64-server-slowdebug/images/jdk -Dtest.timeout.factor=5.0 -Dtest.root=/home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg -Dtest.name=compiler/c2/Test7179138_1.java -Dtest.file=/home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2/Test7179138_1.java -Dtest.src=/home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2 -Dtest.src.path=/home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2 -Dtest.classes=/home/qingfeng.yy/openjdk16_so_warning/jdk/JTwork/classes/0/compiler/c2/Test7179138_1.d -Dtest.class.path=/home/qingfeng.yy/openjdk16_so_warning/jdk/JTwork/classes/0/compiler/c2/Test7179138_1.d -Djdk.module.main=jdk.compiler jdk.compiler/com.sun.tools.javac.Main -d /home/qingfeng.yy/openjdk16_so_warning/jdk/JTwork/classes/0/compiler/c2/Test7179138_1.d -sourcepath /home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2 -classpath /home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2:/home/qingfeng.yy/openjdk16_so_warning/jdk/JTwork/classes/0/compiler/c2/Test7179138_1.d /home/qingfeng.yy/openjdk16_so_warning/jdk/test/hotspot/jtreg/compiler/c2/Test7179138_1.java

      Host: e69e13043.et15sqa, Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz, 96 cores, 503G, Alibaba Group Enterprise Linux Server release 7.2 (Paladin)
      Time: Thu Mar 18 13:17:57 2021 CST elapsed time: 25.978210 seconds (0d 0h 0m 25s)

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

      Current thread (0x00007ffff02bfb70): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=69299, stack(0x00007fff79afb000,0x00007fff79bfc000)]


      Current CompileTask:
      C2: 25978 16 4 java.lang.Object::<init> (1 bytes)

      Stack: [0x00007fff79afb000,0x00007fff79bfc000], sp=0x00007fff79bf8d10, free space=1015k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xaaaf59] IdealGraphPrinter::init_network_stream()+0x107
      V [libjvm.so+0xaa8001] IdealGraphPrinter::init(char const*, bool, bool)+0x93
      V [libjvm.so+0xaa7e8c] IdealGraphPrinter::IdealGraphPrinter()+0x46
      V [libjvm.so+0xaa7d0a] IdealGraphPrinter::printer()+0x84
      V [libjvm.so+0x7dd5b2] Compile::should_print(int)+0x68
      V [libjvm.so+0xaaa6eb] IdealGraphPrinter::print_method(char const*, int)+0x2b
      V [libjvm.so+0x7dc118] Compile::igv_print_method_to_file(char const*, bool)+0xf0
      V [libjvm.so+0x7dbef8] igv_print()+0x1d
      C 0x00007fff79bf8ebf

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yyang Yi Yang
              Reporter:
              yyang Yi Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: