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

gc/shenandoah/oom/TestThreadFailure asserts on darwin aarch64 with failed: address not aligned: 0x00000008baadbabe

XMLWordPrintable

    • gc
    • aarch64
    • iOS

      The hs_err file shows the following :

      /jtreg_hotspot_tier1_work/JTwork/gc/shenandoah/oom/TestThreadFailure/hs_err_pid32954.log
      Sat Dec 31 08:30:17 CET 2022

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/darwinaarch64/jdk/src/hotspot/share/oops/compressedOops.inline.hpp:135), pid=32954, tid=23811
      # assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe
      #
      # JRE version: OpenJDK Runtime Environment (21.0) (fastdebug build 21-internal-adhoc.openjdk.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 21-internal-adhoc.openjdk.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, bsd-aarch64)
      # Core dump will be written. Default location: /cores/core.32954
      #
      # 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: -Xmx32m -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC TestThreadFailure test

      Host: xyz, "Macmini" arm64, 8 cores, 16G, Darwin 21.5.0, macOS 12.4 (21F79)
      Time: Sat Dec 31 08:30:15 2022 CET elapsed time: 18.860825 seconds (0d 0h 0m 18s)

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

      Current thread (0x0000000100906d00): WorkerThread "Shenandoah GC Threads#1" [stack: 0x0000000171ac8000,0x0000000171ccb000] [id=23811]

      Stack: [0x0000000171ac8000,0x0000000171ccb000], sp=0x0000000171cca860, free space=2058k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x117ba38] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x4bc (compressedOops.inline.hpp:135)
      V [libjvm.dylib+0x117c308] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, char*)+0x40
      V [libjvm.dylib+0x576990] report_vm_error(char const*, int, char const*, char const*, ...)+0x80
      V [libjvm.dylib+0xede580] ShenandoahAsserts::assert_correct(void*, oop, char const*, int)+0x1b8
      V [libjvm.dylib+0xedf2ec] ShenandoahAsserts::assert_not_forwarded(void*, oop, char const*, int)+0x5c
      V [libjvm.dylib+0xf558b8] void ShenandoahMark::mark_through_ref<narrowOop>(narrowOop*, Padded<BufferedOverflowTaskQueue<ShenandoahMarkTask, (MEMFLAGS)5, 131072u>, 64ul>*, ShenandoahMarkingContext*, bool)+0x70
      V [libjvm.dylib+0xf5d4f0] void OopOopIterateDispatch<ShenandoahMarkRefsClosure>::Table::oop_oop_iterate<InstanceKlass, narrowOop>(ShenandoahMarkRefsClosure*, oop, Klass*)+0x128
      V [libjvm.dylib+0xf58440] void oopDesc::oop_iterate<ShenandoahMarkRefsClosure>(ShenandoahMarkRefsClosure*)+0x100
      V [libjvm.dylib+0xf58074] void ShenandoahMark::do_task<ShenandoahMarkRefsClosure, (StringDedupMode)0>(Padded<BufferedOverflowTaskQueue<ShenandoahMarkTask, (MEMFLAGS)5, 131072u>, 64ul>*, ShenandoahMarkRefsClosure*, unsigned short*, StringDedup::Requests*, ShenandoahMarkTask*)+0x35c
      V [libjvm.dylib+0xf54ff0] void ShenandoahMark::mark_loop_work<ShenandoahMarkRefsClosure, true, (StringDedupMode)0>(ShenandoahMarkRefsClosure*, unsigned short*, unsigned int, TaskTerminator*, StringDedup::Requests*)+0x5e0
      V [libjvm.dylib+0xf5354c] void ShenandoahMark::mark_loop_prework<true, (StringDedupMode)0>(unsigned int, TaskTerminator*, ShenandoahReferenceProcessor*, StringDedup::Requests*)+0x1e0
      V [libjvm.dylib+0xf05ac4] ShenandoahConcurrentMarkingTask::work(unsigned int)+0x188
      V [libjvm.dylib+0x11d7a44] WorkerThread::run()+0x94
      V [libjvm.dylib+0x10d22c8] Thread::call_run()+0x220
      V [libjvm.dylib+0xdc0a54] thread_native_entry(Thread*)+0x160
      C [libsystem_pthread.dylib+0x726c] _pthread_start+0x94

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: