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

Unexpected StackOverflowError in "process reaper" thread

XMLWordPrintable

    • b32

        Test shows:

        Exception in thread "process reaper" java.lang.StackOverflowError
        at java.base/java.util.concurrent.ConcurrentHashMap.fullAddCount(ConcurrentHashMap.java:2576)
        at java.base/java.util.concurrent.ConcurrentHashMap.addCount(ConcurrentHashMap.java:2326)
        at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1075)
        at java.base/java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1541)
        at java.base/java.lang.invoke.MethodType$ConcurrentWeakInternSet.add(MethodType.java:1380)
        at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:327)
        at java.base/java.lang.invoke.MethodHandleNatives.findMethodHandleType(MethodHandleNatives.java:377)
        at java.base/java.util.concurrent.CompletableFuture.completeValue(CompletableFuture.java:305)
        at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2143)
        at java.base/java.lang.ProcessHandleImpl$1.run(ProcessHandleImpl.java:162)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)

        which is a very small stack to be exhibiting SOE.

        Testcase:

        jdk/modules/scenarios/container/ContainerTest.java

        Run command:

        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.189/linux-x64-debug.jdk/jdk-13/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1209/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cace545e-997e-47cd-b730-7ffcd73c5bc8/runs/2cface49-ac1e-4f35-90ec-7fbeb6b79638/testOutput/test-support/jtreg_open_test_jdk_jdk_lang/classes/2/jdk/modules/scenarios/container/ContainerTest.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.189/src.full/open/test/jdk/jdk/modules/scenarios/container:/scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1209/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cace545e-997e-47cd-b730-7ffcd73c5bc8/runs/2cface49-ac1e-4f35-90ec-7fbeb6b79638/testOutput/test-support/jtreg_open_test_jdk_jdk_lang/classes/2/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.189/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/testng.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -Xmx512m -XX:MaxRAMPercentage=6 -ea -esa -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot --module-path mlib -m container ]

          1. hs_err_pid21627.log
            80 kB
            Roger Riggs
          2. hs_err_pid22832.log
            80 kB
            Roger Riggs
          3. hs_err_pid3358.log
            76 kB
            Roger Riggs

              rriggs Roger Riggs
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: