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

java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java timed out

    Details

      Description

      This has been observed once in 9 b155 same binaries run.

      Please refer to the time out information:
      reason: User specified action: run main/othervm AcceptCauseFileDescriptorLeak root
      Mode: othervm [/othervm specified]
      Timeout information:
      Running jstack on process 62447
      2017-02-08 00:27:48
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (9-ea+155 mixed mode):

      "Attach Listener" #30 daemon prio=9 os_prio=64 tid=0x0000000000e27800 nid=0x56 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Thread-4" #29 daemon prio=5 os_prio=64 tid=0x0000000000e26000 nid=0x55 runnable [0xffff80ff97dfa000]
         java.lang.Thread.State: RUNNABLE
      at java.io.FileInputStream.readBytes(java.base@9-ea/Native Method)
      at java.io.FileInputStream.read(java.base@9-ea/FileInputStream.java:256)
      at java.lang.ProcessImpl$DeferredCloseInputStream.read(java.base@9-ea/ProcessImpl.java:805)
      at java.io.BufferedInputStream.fill(java.base@9-ea/BufferedInputStream.java:246)
      at java.io.BufferedInputStream.read1(java.base@9-ea/BufferedInputStream.java:286)
      at java.io.BufferedInputStream.read(java.base@9-ea/BufferedInputStream.java:345)
      - locked <0x00000000ff700000> (a java.io.BufferedInputStream)
      at java.io.FilterInputStream.read(java.base@9-ea/FilterInputStream.java:107)
      at jdk.test.lib.process.StreamPumper.run(StreamPumper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Thread-3" #28 daemon prio=5 os_prio=64 tid=0x0000000000e25800 nid=0x54 runnable [0xffff80ff97efb000]
         java.lang.Thread.State: RUNNABLE
      at java.io.FileInputStream.readBytes(java.base@9-ea/Native Method)
      at java.io.FileInputStream.read(java.base@9-ea/FileInputStream.java:256)
      at java.lang.ProcessImpl$DeferredCloseInputStream.read(java.base@9-ea/ProcessImpl.java:805)
      at java.io.BufferedInputStream.read1(java.base@9-ea/BufferedInputStream.java:284)
      at java.io.BufferedInputStream.read(java.base@9-ea/BufferedInputStream.java:345)
      - locked <0x00000000ff851630> (a java.io.BufferedInputStream)
      at java.io.BufferedInputStream.fill(java.base@9-ea/BufferedInputStream.java:246)
      at java.io.BufferedInputStream.read1(java.base@9-ea/BufferedInputStream.java:286)
      at java.io.BufferedInputStream.read(java.base@9-ea/BufferedInputStream.java:345)
      - locked <0x00000000ff880800> (a java.io.BufferedInputStream)
      at java.io.FilterInputStream.read(java.base@9-ea/FilterInputStream.java:107)
      at jdk.test.lib.process.StreamPumper.run(StreamPumper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "process reaper" #25 daemon prio=10 os_prio=64 tid=0x0000000000ddf800 nid=0x51 runnable [0xffff80ffbea2e000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ProcessHandleImpl.waitForProcessExit0(java.base@9-ea/Native Method)
      at java.lang.ProcessHandleImpl.lambda$completion$2(java.base@9-ea/ProcessHandleImpl.java:133)
      at java.lang.ProcessHandleImpl$$Lambda$5/2004913005.run(java.base@9-ea/Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1161)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "MainThread" #24 prio=5 os_prio=64 tid=0x0000000000a72000 nid=0x50 in Object.wait() [0xffff80ff97ffb000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000ff84f4c8> (a java.lang.ProcessImpl)
      at java.lang.Object.wait(java.base@9-ea/Object.java:516)
      at java.lang.ProcessImpl.waitFor(java.base@9-ea/ProcessImpl.java:494)
      - waiting to re-lock in wait() <0x00000000ff84f4c8> (a java.lang.ProcessImpl)
      at jdk.test.lib.process.ProcessTools.getOutput(ProcessTools.java:101)
      at jdk.test.lib.process.OutputAnalyzer.<init>(OutputAnalyzer.java:46)
      at AcceptCauseFileDescriptorLeak.execCmd(AcceptCauseFileDescriptorLeak.java:121)
      at AcceptCauseFileDescriptorLeak.main(AcceptCauseFileDescriptorLeak.java:65)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:543)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Service Thread" #22 daemon prio=9 os_prio=64 tid=0x0000000000a45800 nid=0x4e runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #21 daemon prio=8 os_prio=64 tid=0x0000000000914800 nid=0x4d in Object.wait() [0xffff80ff983ee000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000fff3f3c8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000fff3f3c8> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

      "Sweeper thread" #20 daemon prio=9 os_prio=64 tid=0x00000000008df800 nid=0x4c runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C1 CompilerThread14" #19 daemon prio=9 os_prio=64 tid=0x00000000008dd000 nid=0x4b waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread13" #18 daemon prio=9 os_prio=64 tid=0x00000000008d2800 nid=0x4a waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread12" #17 daemon prio=9 os_prio=64 tid=0x00000000008c0000 nid=0x49 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread11" #16 daemon prio=9 os_prio=64 tid=0x00000000008ad000 nid=0x48 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread10" #15 daemon prio=9 os_prio=64 tid=0x000000000089b000 nid=0x47 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread9" #14 daemon prio=9 os_prio=64 tid=0x0000000000890800 nid=0x46 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread8" #13 daemon prio=9 os_prio=64 tid=0x0000000000887800 nid=0x45 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread7" #12 daemon prio=9 os_prio=64 tid=0x0000000000872800 nid=0x44 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread6" #11 daemon prio=9 os_prio=64 tid=0x0000000000868800 nid=0x43 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread5" #10 daemon prio=9 os_prio=64 tid=0x0000000000857000 nid=0x42 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread4" #9 daemon prio=9 os_prio=64 tid=0x000000000082c800 nid=0x41 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread3" #8 daemon prio=9 os_prio=64 tid=0x0000000000809000 nid=0x40 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread2" #7 daemon prio=9 os_prio=64 tid=0x00000000007ff000 nid=0x3f waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread1" #6 daemon prio=9 os_prio=64 tid=0x00000000007fa800 nid=0x3e waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread0" #5 daemon prio=9 os_prio=64 tid=0x00000000007f8800 nid=0x3d waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Signal Dispatcher" #4 daemon prio=9 os_prio=64 tid=0x00000000007f7000 nid=0x3c runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Finalizer" #3 daemon prio=8 os_prio=64 tid=0x00000000007d5800 nid=0x3b in Object.wait() [0xffff80ff99cfd000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000fff0d118> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000fff0d118> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-ea/Finalizer.java:216)

      "Reference Handler" #2 daemon prio=10 os_prio=64 tid=0x00000000007cd800 nid=0x3a waiting on condition [0xffff80ff99dfe000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(java.base@9-ea/Native Method)
      at java.lang.ref.Reference.processPendingReferences(java.base@9-ea/Reference.java:163)
      at java.lang.ref.Reference.access$000(java.base@9-ea/Reference.java:44)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:138)

      "main" #1 prio=5 os_prio=64 tid=0x0000000000434000 nid=0x2 in Object.wait() [0xffff80ffbf18e000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000ffdf9fd0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000000ffdf9fd0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1427)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      "VM Thread" os_prio=64 tid=0x00000000007c1000 nid=0x39 runnable

      "GC Thread#0" os_prio=64 tid=0x0000000000449000 nid=0x3 runnable

      "GC Thread#1" os_prio=64 tid=0x000000000044a000 nid=0x4 runnable

      "GC Thread#2" os_prio=64 tid=0x000000000044b800 nid=0x5 runnable

      "GC Thread#3" os_prio=64 tid=0x000000000044d000 nid=0x6 runnable

      "GC Thread#4" os_prio=64 tid=0x000000000044e800 nid=0x7 runnable

      "GC Thread#5" os_prio=64 tid=0x0000000000450000 nid=0x8 runnable

      "GC Thread#6" os_prio=64 tid=0x0000000000454000 nid=0x9 runnable

      "GC Thread#7" os_prio=64 tid=0x0000000000455800 nid=0xa runnable

      "GC Thread#8" os_prio=64 tid=0x0000000000457000 nid=0xb runnable

      "GC Thread#9" os_prio=64 tid=0x0000000000458800 nid=0xc runnable

      "GC Thread#10" os_prio=64 tid=0x000000000045a000 nid=0xd runnable

      "GC Thread#11" os_prio=64 tid=0x000000000045b800 nid=0xe runnable

      "GC Thread#12" os_prio=64 tid=0x000000000045c800 nid=0xf runnable

      "GC Thread#13" os_prio=64 tid=0x000000000045e000 nid=0x10 runnable

      "GC Thread#14" os_prio=64 tid=0x000000000045f800 nid=0x11 runnable

      "GC Thread#15" os_prio=64 tid=0x0000000000461000 nid=0x12 runnable

      "GC Thread#16" os_prio=64 tid=0x0000000000462800 nid=0x13 runnable

      "GC Thread#17" os_prio=64 tid=0x0000000000464000 nid=0x14 runnable

      "GC Thread#18" os_prio=64 tid=0x0000000000465800 nid=0x15 runnable

      "GC Thread#19" os_prio=64 tid=0x0000000000467000 nid=0x16 runnable

      "GC Thread#20" os_prio=64 tid=0x0000000000468800 nid=0x17 runnable

      "GC Thread#21" os_prio=64 tid=0x000000000046a000 nid=0x18 runnable

      "GC Thread#22" os_prio=64 tid=0x000000000046b800 nid=0x19 runnable

      "G1 Main Marker" os_prio=64 tid=0x00000000004c0000 nid=0x32 runnable

      "G1 Marker#0" os_prio=64 tid=0x00000000004c1800 nid=0x33 runnable

      "G1 Marker#1" os_prio=64 tid=0x00000000004c3000 nid=0x34 runnable

      "G1 Marker#2" os_prio=64 tid=0x00000000004c4800 nid=0x35 runnable

      "G1 Marker#3" os_prio=64 tid=0x00000000004c6000 nid=0x36 runnable

      "G1 Marker#4" os_prio=64 tid=0x00000000004c7000 nid=0x37 runnable

      "G1 Marker#5" os_prio=64 tid=0x00000000004c8800 nid=0x38 runnable

      "G1 Refine#0" os_prio=64 tid=0x0000000000491000 nid=0x30 runnable

      "G1 Refine#1" os_prio=64 tid=0x000000000048f800 nid=0x2f runnable

      "G1 Refine#2" os_prio=64 tid=0x000000000048e000 nid=0x2e runnable

      "G1 Refine#3" os_prio=64 tid=0x000000000048c800 nid=0x2d runnable

      "G1 Refine#4" os_prio=64 tid=0x000000000048a800 nid=0x2c runnable

      "G1 Refine#5" os_prio=64 tid=0x0000000000489000 nid=0x2b runnable

      "G1 Refine#6" os_prio=64 tid=0x0000000000487800 nid=0x2a runnable

      "G1 Refine#7" os_prio=64 tid=0x0000000000486000 nid=0x29 runnable

      "G1 Refine#8" os_prio=64 tid=0x0000000000484800 nid=0x28 runnable

      "G1 Refine#9" os_prio=64 tid=0x0000000000482800 nid=0x27 runnable

      "G1 Refine#10" os_prio=64 tid=0x0000000000481000 nid=0x26 runnable

      "G1 Refine#11" os_prio=64 tid=0x000000000047f800 nid=0x25 runnable

      "G1 Refine#12" os_prio=64 tid=0x000000000047e000 nid=0x24 runnable

      "G1 Refine#13" os_prio=64 tid=0x000000000047c800 nid=0x23 runnable

      "G1 Refine#14" os_prio=64 tid=0x000000000047a800 nid=0x22 runnable

      "G1 Refine#15" os_prio=64 tid=0x0000000000479000 nid=0x21 runnable

      "G1 Refine#16" os_prio=64 tid=0x0000000000477800 nid=0x20 runnable

      "G1 Refine#17" os_prio=64 tid=0x0000000000476000 nid=0x1f runnable

      "G1 Refine#18" os_prio=64 tid=0x0000000000474000 nid=0x1e runnable

      "G1 Refine#19" os_prio=64 tid=0x0000000000472800 nid=0x1d runnable

      "G1 Refine#20" os_prio=64 tid=0x0000000000471000 nid=0x1c runnable

      "G1 Refine#21" os_prio=64 tid=0x000000000046f800 nid=0x1b runnable

      "G1 Refine#22" os_prio=64 tid=0x000000000046e000 nid=0x1a runnable

      "G1 Young RemSet Sampling" os_prio=64 tid=0x0000000000492800 nid=0x31 runnable

      "VM Periodic Task Thread" os_prio=64 tid=0x0000000000a49800 nid=0x4f waiting on condition

      JNI global references: 395

      --- Timeout information end.

        Activity

        Hide
        bpb Brian Burkhalter added a comment -
        Reassigning as this looks like a problem with the java.net test as opposed to something in java.io.
        Show
        bpb Brian Burkhalter added a comment - Reassigning as this looks like a problem with the java.net test as opposed to something in java.io.

          People

          • Assignee:
            michaelm Michael McMahon
            Reporter:
            xiaofeya Felix Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: