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

Possible to receive signal before signal semaphore created

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Backports

        Description

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/rehn/source/jdk/vanilla-jdk/open/src/hotspot/os/linux/os_linux.cpp:2550), pid=7514, tid=7514
        # assert(ReduceSignalUsage) failed: signal semaphore should be created
        #
        # JRE version: (11.0) (fastdebug build )
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-adhoc.rehn.open, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
        # Core dump will be written. Default location: /home/rehn/source/jdk/vanilla-jdk/core.%p.%i.%s.%t
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

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

        Command Line: -Dtest.src=/home/rehn/source/jdk/vanilla-jdk/closed/test/jdk/com/oracle/jfr/cmd -Dtest.src.path=/home/rehn/source/jdk/vanilla-jdk/closed/test/jdk/com/oracle/jfr/cmd:/home/rehn/source/jdk/vanilla-jdk/open/test/jdk/lib/testlibrary:/home/rehn/source/jdk/vanilla-jdk/closed/test/jdk -Dtest.classes=/home/rehn/source/jdk/vanilla-jdk/JTwork/classes/com/oracle/jfr/cmd/TestSplit.d -Dtest.class.path=/home/rehn/source/jdk/vanilla-jdk/JTwork/classes/com/oracle/jfr/cmd/TestSplit.d:/home/rehn/source/jdk/vanilla-jdk/JTwork/classes/open/test/jdk/lib/testlibrary:/home/rehn/source/jdk/vanilla-jdk/JTwork/classes/closed/test/jdk -Dtest.vm.opts= -Dtest.tool.vm.opts= -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/rehn/source/jdk/vanilla-jdk/build/linux-x86_64-normal-server-fastdebug/images/jdk -Dcompile.jdk=/home/rehn/source/jdk/vanilla-jdk/build/linux-x86_64-normal-server-fastdebug/images/jdk -Dtest.timeout.factor=1.0 -Dtest.modules=jdk.jfr -Dtest.nativepath=/home/rehn/source/jdk/vanilla-jdk/build/linux-x86_64-normal-server-fastdebug/images/test/jdk/jtreg/native --add-modules=jdk.jfr -Djava.library.path=/home/rehn/source/jdk/vanilla-jdk/build/linux-x86_64-normal-server-fastdebug/images/test/jdk/jtreg/native -XX:+UnlockCommercialFeatures com.sun.javatest.regtest.agent.MainWrapper /home/rehn/source/jdk/vanilla-jdk/JTwork/com/oracle/jfr/cmd/TestSplit.d/main.1.jta

        Host: rehn-ws, Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz, 32 cores, 31G, Fedora release 27 (Twenty Seven)
        Time: Thu Apr 19 12:47:29 2018 CEST elapsed time: 0 seconds (0d 0h 0m 0s)

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

        Current thread is native thread

        Stack: [0x00007ffd7a7c0000,0x00007ffd7afbe000], sp=0x00007ffd7afb9010, free space=8164k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x182c91f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x25f
        V [libjvm.so+0x182d6df] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
        V [libjvm.so+0xaa8180] report_vm_error(char const*, int, char const*, char const*, ...)+0x100
        C [libpthread.so.0+0x12af0]

        ########################################

        By looping many short java programs and sending SIGINT to them randomly sometimes this happens.


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  rehn Robbin Ehn
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: