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

[macos_aarch64] Thread::current() called on detached thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b16
    • aarch64
    • os_x

        Testing https://github.com/openjdk/jdk/pull/2200 reveals this crash in runtime/signal/TestSigsegv.java, runtime/signal/TestSigill.java, runtime/signal/TestSigfpe.java, runtime/signal/TestSigbus.java:

         stdout: [SIGSEGV: start testing: signal_num=11, mode=sigset, scenario=prepost
        SIGSEGV: signal handler using function 'sigset' has been set
        initVM: numOptions = 1
        vm_args.options[0].optionString = -XX:MaxRAMPercentage=6
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/thread.hpp:835
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S10503/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cf98c971-6e53-4a95-8508-c73a6e6600ff/runs/d61d15dc-f02e-4443-939e-406ee4965726/workspace/open/src/hotspot/share/runtime/thread.hpp:835), pid=3917, tid=771
        # assert(current != __null) failed: Thread::current() called on detached thread
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0) (fastdebug build 17-internal+0-LTS-2021-02-27-1954067.mikael.vidstedt.jdk-macosjib)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-internal+0-LTS-2021-02-27-1954067.mikael.vidstedt.jdk-macosjib, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
        # Core dump will be written. Default location: core.3917

              akozlov Anton Kozlov
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: