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

SIGBUS in libz during CDS initialization

XMLWordPrintable

    • b24
    • aarch64
    • linux

      Test: runtime/cds/appcds/SharedArchiveConsistency.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0x7) at pc=0x0000fffe6e782a98, pid=3631323, tid=3631326
      #
      # JRE version: (19.0+23) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+23-1706, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
      # Problematic frame:
      # C [libz.so.1+0x2a98]
      #
      # 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/c82600aa-2448-475c-8c08-6f02a5b3f3af-S11695/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7271537d-9ec9-4c3f-a3ff-efb6ab628fe3/runs/1e5ba9c7-7c65-4bdc-ae08-a1cfa24125b1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/1/core.3631323)
      #
      #

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

      Command Line: -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S11695/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7271537d-9ec9-4c3f-a3ff-efb6ab628fe3/runs/1e5ba9c7-7c65-4bdc-ae08-a1cfa24125b1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp -XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA -Xshare:on -XX:SharedArchiveFile=/opt/mach5/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S11695/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7271537d-9ec9-4c3f-a3ff-efb6ab628fe3/runs/1e5ba9c7-7c65-4bdc-ae08-a1cfa24125b1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/1/15-delete-bytes-20h11m28s866.jsa -Dtest.timeout.factor=4.0 -XX:+UnlockDiagnosticVMOptions -XX:VerifyArchivedFields=1 -Xlog:cds -XX:+VerifySharedSpaces Hello

      Host: AArch64, 8 cores, 46G, Oracle Linux Server release 8.4
      Time: Wed May 18 20:11:28 2022 UTC elapsed time: 0.089824 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000fffe6802a6a0): JavaThread "Unknown thread" [_thread_in_vm, id=3631326, stack(0x0000fffe6c020000,0x0000fffe6c220000)]

      Stack: [0x0000fffe6c020000,0x0000fffe6c220000], sp=0x0000fffe6c21e030, free space=2040k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libz.so.1+0x2a98]
      V [libjvm.so+0xc81628] FileMapInfo::verify_region_checksum(int)+0x88
      V [libjvm.so+0xc83140] FileMapInfo::map_region(int, long, char*, ReservedSpace)+0x1bc
      V [libjvm.so+0xc85ee0] FileMapInfo::map_regions(int*, int, char*, ReservedSpace)+0x1a0
      V [libjvm.so+0x14c35ec] MetaspaceShared::map_archive(FileMapInfo*, char*, ReservedSpace)+0xac
      V [libjvm.so+0x14c64c0] MetaspaceShared::map_archives(FileMapInfo*, FileMapInfo*, bool)+0x220
      V [libjvm.so+0x14c6b48] MetaspaceShared::initialize_runtime_shared_and_meta_spaces()+0xb8
      V [libjvm.so+0x14b9454] Metaspace::global_initialize()+0x3b4
      V [libjvm.so+0x1937e5c] universe_init()+0xec
      V [libjvm.so+0xefd0a0] init_globals()+0x30
      V [libjvm.so+0x18e0fc4] Threads::create_vm(JavaVMInitArgs*, bool*)+0x2c4
      V [libjvm.so+0x108671c] JNI_CreateJavaVM+0xbc
      C [libjli.so+0x3c10] JavaMain+0x7c
      C [libjli.so+0x750c] ThreadJavaMain+0xc
      C [libpthread.so.0+0x7868] start_thread+0x188

            ccheung Calvin Cheung
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: