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

misc GC tests failed assert(check_alignment(result)) failed: address not aligned: 0x00000ff8baadbabe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 24
    • hotspot
    • gc
    • aarch64
    • linux, os_x

      The following test failed in the JDK24 CI:

      gc/logging/TestUnifiedLoggingSwitchStress.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/460)----------
      command: main -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
      reason: User specified action: run main/othervm -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
      started: Sat Jul 27 07:53:00 GMT 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.management,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      finished: Sat Jul 27 07:54:08 GMT 2024
      elapsed time (seconds): 67.812
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.management java.base
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(18/1461)----------
      For random generator using seed: -1064950552154265512
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-1064950552154265512" to command line.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S147109/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f5c15147-51e8-43fc-912e-ee802aeaf487/runs/4d94d6ec-f710-4a6b-8bec-2827077c637f/workspace/open/src/hotspot/share/oops/compressedKlass.inline.hpp:46), pid=95174, tid=43011
      # assert(check_alignment(result)) failed: address not aligned: 0x00000ff8baadbabe
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+8) (fastdebug build 24-ea+8-851)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+8-851, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Core dump will be written. Default location: core.95174
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S147458/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/66e9e5ab-8e2e-488c-9c67-248c5738107f/runs/31f0bc1e-22d9-4635-9ead-0aec786ead7d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/scratch/3/hs_err_pid95174.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(0/0)----------
      ----------rerun:(47/9030)*----------

      Here's the crashing thread's stack:

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

      Current thread (0x000000015901b010): WorkerThread "G1 Conc#1" [id=43011, stack(0x0000000300210000,0x0000000300413000) (2060K)]

      Stack: [0x0000000300210000,0x0000000300413000], sp=0x0000000300412a50, free space=2058k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x112f884] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x544 (compressedKlass.inline.hpp:46)
      V [libjvm.dylib+0x1130034] VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*)+0x0
      V [libjvm.dylib+0x54d450] print_error_for_unit_test(char const*, char const*, char*)+0x0
      V [libjvm.dylib+0x6ad578] G1RebuildRSAndScrubTask::G1RebuildRSAndScrubRegionClosure::scan_large_object(G1HeapRegion*, oop, MemRegion)+0x0
      V [libjvm.dylib+0x6acf70] G1RebuildRSAndScrubTask::G1RebuildRSAndScrubRegionClosure::scan_and_scrub_region(G1HeapRegion*, HeapWordImpl**)+0x1d8
      V [libjvm.dylib+0x6ac7d0] G1RebuildRSAndScrubTask::G1RebuildRSAndScrubRegionClosure::do_heap_region(G1HeapRegion*)+0x144
      V [libjvm.dylib+0x6fec04] G1HeapRegionManager::par_iterate(G1HeapRegionClosure*, G1HeapRegionClaimer*, unsigned int) const+0x104
      V [libjvm.dylib+0x6ac608] G1RebuildRSAndScrubTask::work(unsigned int)+0x104
      V [libjvm.dylib+0x11a9514] WorkerThread::run()+0x94
      V [libjvm.dylib+0x106fd60] Thread::call_run()+0xf4
      V [libjvm.dylib+0xe1a654] thread_native_entry(Thread*)+0x138
      C [libsystem_pthread.dylib+0x6f94] _pthread_start+0x88

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: