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

ZGC: Kitchensink24HStress.java crashes due to SIGSEGV

XMLWordPrintable

    • x86_64
    • linux

      The following test crashed due to SIGSEGV in the JDK14 CI:

      applications/kitchensink/Kitchensink24HStress.java

      Here's a snippet from the log file:

      [2020-01-30T04:21:44.753205Z] Gathering output for process 6513
      [stress.process.out] #
      [stress.process.out] [thread 19812 also had an error]
      [stress.process.out] [thread 6760 also had an error]
      [stress.process.out] [thread 6761 also had an error]
      [stress.process.out] # A fatal error has been detected by the Java Runtime Environment:
      [stress.process.out] #
      [stress.process.out] # SIGSEGV (0xb) at pc=0x00007fe1306e1000, pid=19752, tid=19806
      [stress.process.out] #
      [stress.process.out] # JRE version: Java(TM) SE Runtime Environment (14.0+34) (fastdebug build 14-ea+34-1444)
      [stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+34-1444, mixed mode, tiered, z gc, linux-amd64)
      [stress.process.out] # Problematic frame:
      [stress.process.out] #
      [stress.process.out] [error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007fe150490f2a]
      [stress.process.out]
      [stress.process.out] # 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/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/core.19752)
      [stress.process.out] #
      [stress.process.out] Unsupported internal testing APIs have been used.
      [stress.process.out]
      [stress.process.out] # An error report file with more information is saved as:
      [stress.process.out] # /opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/hs_err_pid19752.log
      [2020-01-30T04:22:51.068181Z] Gathering output for process 6911


      Here's the hs_err_pid file:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fe1306e1000, pid=19752, tid=19806
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+34) (fastdebug build 14-ea+34-1444)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+34-1444, mixed mode, tiered, z gc, linux-amd64)
      # Problematic frame:
      #
      [error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007fe150490f2a]

      # 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/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/core.19752)
      #
      # 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: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.parsers=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+34-1444/linux-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.so -XX:NativeMemoryTracking=detail applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S2204/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6ad733a2-2872-4b38-b257-4079d2e0585f/runs/fee7dd03-ec38-4b6c-b0eb-7b83d0d8b508/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java/scratch/0/kitchensink.final.properties

      Host: <host>, Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 58G, Oracle Linux Server release 7.6
      Time: Thu Jan 30 04:22:20 2020 UTC elapsed time: 71653 seconds (0d 19h 54m 13s)

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

      Current thread (0x00007fe148a7e740): JavaThread "ExceptionStressModule" [_thread_in_Java, id=19806, stack(0x00007fdefa6f2000,0x00007fdefa7f3000)]

      Stack: [0x00007fdefa6f2000,0x00007fdefa7f3000]
      [error occurred during error reporting (printing stack bounds), id 0xb, SIGSEGV (0xb) at pc=0x00007fe150490f2a]


      [error occurred during error reporting (printing native stack), id 0xb, SIGSEGV (0xb) at pc=0x00007fe150490f2a]


      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fe17915f7eb

      Register to memory mapping:

      RAX=
      [error occurred during error reporting (printing register info), id 0xb, SIGSEGV (0xb) at pc=0x00007fe150487830]

      Registers:
      RAX=0x00007fe1306ed93f, RBX=0x00000000000000bf, RCX=0x00007fdeb00008f0, RDX=0x00007fe148a7fd10
      RSP=0x00007fdefa7f17d8, RBP=0x00007fdefa7f1828, RSI=0x00007fe148a7fd10, RDI=0x00007fe148a7e740
      R8 =0x00007fe148a7fd10, R9 =0x00007fdeb0011090, R10=0x0000000000000000, R11=0x0000000000000008
      R12=0x0000000000000000, R13=0x00007fdefbe6bbdf, R14=0x00007fdefa7f1840, R15=0x00007fe148a7e740
      RIP=0x00007fe1306e1000, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00007fdefa7f17d8)
      0x00007fdefa7f17d8: 00007fe1306e0f24 00007fdefa7f17e0
      0x00007fdefa7f17e8: 00007fdefbe6bbe0 00007fdefa7f1840
      0x00007fdefa7f17f8: 00007fdefbe6d878 00007fdefaa5e798
      0x00007fdefa7f1808: 0000047566201758 00007fdefbe6bbf8

      Instructions: (pc=0x00007fe1306e1000)
      0x00007fe1306e0f00: 7f 00 00 61 7b 52 50 e1 7f 00 00 c0 4c 8b 75 c8
      0x00007fe1306e0f10: 48 8b f0 48 8b 65 b8 48 c7 45 f0 00 00 00 00 e8
      0x00007fe1306e0f20: 05 00 00 00 e9 ff 01 00 00 48 8d 44 24 08 4c 89
      0x00007fe1306e0f30: 6d c0 48 81 7d f0 00 00 00 00 0f 84 14 00 00 00
      0x00007fe1306e0f40: 48 bf d8 11 3e 51 e1 7f 00 00 48 83 e4 f0 e8 ed
      0x00007fe1306e0f50: 5f 5f 20 f4 49 8b ff c5 f8 77 49 89 af 60 03 00
      0x00007fe1306e0f60: 00 49 89 87 50 03 00 00 f7 c4 0f ab 10 6e 30 e1
      0x00007fe1306e0f70: 7f 00 00 40 ec a6 51 e1 7f 00

            neliasso Nils Eliasson (Inactive)
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: