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

AppCDS SharedArchiveFileOption.java fails due to SIGBUS when disk failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 13, 14, 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed due to SIGBUS in the JDK14 CI:

      runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java

      Here's a snippet of the failure from the task's stdout:

      2019-12-19T18:19:25,462Z] [0.059s][info][cds] Mapped static region #1 at base 0x0000000127af9000 top 0x0000000127f23000 (ReadWrite)
      [2019-12-19T18:19:25,462Z] [0.059s][info][cds] Mapped static region #2 at base 0x0000000127f23000 top 0x0000000128647000 (ReadOnly)
      [2019-12-19T18:19:25,463Z] [0.059s][info][cds] Mapped static region #3 at base 0x0000000128647000 top 0x0000000128648000 (MiscCode)
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] # A fatal error has been detected by the Java Runtime Environment:
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] # SIGBUS (0xa) at pc=0x0000000109a0c127, pid=7456, tid=7939
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] # JRE version: (14.0+29) (fastdebug build )
      [2019-12-19T18:19:25,463Z] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+29-1369, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
      [2019-12-19T18:19:25,463Z] # Problematic frame:
      [2019-12-19T18:19:25,463Z] # V [libjvm.dylib+0x40c127] SharedDataRelocator<false>::do_bit(unsigned long)+0x51
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] # Core dump will be written. Default location: core.7456
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] # An error report file with more information is saved as:
      [2019-12-19T18:19:25,463Z] # /mesos/work_dir/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S1121/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5ac513f2-3aad-4e86-a658-7de4625aea6c/runs/9f7787bd-9151-4860-a0a7-bbf0f9d3219b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_cds_relocation/scratch/0/hs_err_pid7456.log
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] #
      [2019-12-19T18:19:25,463Z] Current thread is 7939
      [2019-12-19T18:19:25,463Z] Dumping core ...
      [2019-12-19T18:19:25,463Z] ];
      [2019-12-19T18:19:25,463Z] stderr: []
      [2019-12-19T18:19:25,463Z] exitValue = 134
      [2019-12-19T18:19:25,463Z]
      [2019-12-19T18:19:25,464Z] java.lang.RuntimeException: 'Buffer-space to target-space delta' missing from stdout/stderr
      [2019-12-19T18:19:25,464Z]
      [2019-12-19T18:19:25,464Z] at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:187)
      [2019-12-19T18:19:25,464Z] at SharedArchiveFileOption.lambda$doTest$2(SharedArchiveFileOption.java:84)
      [2019-12-19T18:19:25,464Z] at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:147)
      [2019-12-19T18:19:25,464Z] at SharedArchiveFileOption.doTest(SharedArchiveFileOption.java:83)
      [2019-12-19T18:19:25,464Z] at SharedArchiveFileOption.testCustomBase(SharedArchiveFileOption.java:49)
      [2019-12-19T18:19:25,464Z] at DynamicArchiveTestBase.runTest(DynamicArchiveTestBase.java:70)
      [2019-12-19T18:19:25,464Z] at SharedArchiveFileOption.main(SharedArchiveFileOption.java:39)
      [2019-12-19T18:19:25,464Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2019-12-19T18:19:25,464Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [2019-12-19T18:19:25,464Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2019-12-19T18:19:25,464Z] at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      [2019-12-19T18:19:25,464Z] at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      [2019-12-19T18:19:25,464Z] at java.base/java.lang.Thread.run(Thread.java:832)
      [2019-12-19T18:19:25,464Z]
      [2019-12-19T18:19:25,464Z] JavaTest Message: Test threw exception: java.lang.RuntimeException
      [2019-12-19T18:19:25,464Z] JavaTest Message: shutting down test
      [2019-12-19T18:19:25,464Z]
      [2019-12-19T18:19:25,465Z]
      [2019-12-19T18:19:25,465Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Buffer-space to target-space delta' missing from stdout/stderr
      [2019-12-19T18:19:25,465Z] --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: