"assert(thread->is_VM_thread() || thread->is_Java_thread()) failed: Must be VMThread or JavaThread" on macosx-aarch64-26

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • 27
    • Affects Version/s: 26
    • Component/s: hotspot
    • Cause Known

      One test crashed with

      # Internal Error (/open/src/hotspot/os/posix/signals_posix.cpp:1680), pid=73381, tid=192627
      # assert(thread->is_VM_thread() || thread->is_Java_thread()) failed: Must be VMThread or JavaThread
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+27) (fastdebug build 26-ea+27-2778)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+27-2778, mixed mode, tiered, compressed class ptrs, z gc, bsd-aarch64)


      Current thread (0x0000000bae969e10): Thread "Unknown thread" [id=192627, stack(0x00000004ce428000,0x00000004ce62b000) (2060K)]

      Stack: [0x00000004ce428000,0x00000004ce62b000], sp=0x00000004ce62a6e0, free space=2057k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x12744c4] VMError::report(outputStream*, bool)+0x1b70 (signals_posix.cpp:1680)
      V [libjvm.dylib+0x1277dc8] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x55c
      V [libjvm.dylib+0x5e4be4] print_error_for_unit_test(char const*, char const*, char*)+0x0
      V [libjvm.dylib+0x1064dc0] set_signal_handler(int)+0x0
      C [libsystem_platform.dylib+0x3744] _sigtramp+0x38
      C [libsystem_malloc.dylib+0x2a8a0] _xzm_free+0x15c
      V [libjvm.dylib+0x11b4068] Thread::~Thread()+0x68
      V [libjvm.dylib+0x94e07c] JavaThread::~JavaThread()+0xc
      V [libjvm.dylib+0x11bd0a0] ThreadsSMRSupport::smr_delete(JavaThread*)+0x58
      V [libjvm.dylib+0x11b3ed8] Thread::call_run()+0x134
      V [libjvm.dylib+0xf01a98] thread_native_entry(Thread*)+0x138
      C [libsystem_pthread.dylib+0x6c08] _pthread_start+0x88

      when running on macosx-aarch64-26.

            Assignee:
            David Holmes
            Reporter:
            Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: