The following test failed in the JDK24 CI:
com/sun/jdi/InvokeHangTest.java
Here's a snippet from the log file:
#section:driver
----------messages:(10/313)----------
command: driver InvokeHangTest
reason: User specified action: run driver InvokeHangTest
started: Sat Aug 03 00:47:25 GMT 2024
Mode: agentvm
Agent id: 20
Timeout signalled after 1200 seconds
Timeout information:
--- Timeout information end.
finished: Sat Aug 03 01:17:59 GMT 2024
elapsed time (seconds): 1833.984
----------configuration:(14/1910)----------
<snip>
----------System.err:(31/1827)----------
[0ms] run args: [InvokeHangTarg]
[401103ms] failure: Debuggee appears to be hung
at java.base/java.lang.Thread.getStackTrace(Thread.java:2389)
at TestScaffold.failure(TestScaffold.java:491)
at InvokeHangTest$1.run(InvokeHangTest.java:257)
java.lang.RuntimeException: Invalid debuggee exitValue: 134
at TestScaffold.waitForVMDisconnect(TestScaffold.java:787)
at TestScaffold.resumeToVMDisconnect(TestScaffold.java:1015)
at TestScaffold.listenUntilVMDisconnect(TestScaffold.java:743)
at InvokeHangTest.runTests(InvokeHangTest.java:277)
at TestScaffold.startTests(TestScaffold.java:468)
at InvokeHangTest.main(InvokeHangTest.java:153)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
com.sun.jdi.VMDisconnectedException
at jdk.jdi/com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:304)
at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:1176)
at jdk.jdi/com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:89)
at jdk.jdi/com.sun.tools.jdi.JDWP$ObjectReference$InvokeMethod.waitForReply(JDWP.java:4840)
at jdk.jdi/com.sun.tools.jdi.ObjectReferenceImpl.invokeMethod(ObjectReferenceImpl.java:410)
at InvokeHangTest.doInvoke(InvokeHangTest.java:161)
at InvokeHangTest.breakpointReached(InvokeHangTest.java:207)
at TestScaffold$EventHandler.notifyEvent(TestScaffold.java:193)
at TestScaffold$EventHandler.run(TestScaffold.java:277)
at java.base/java.lang.Thread.run(Thread.java:1575)
----------System.out:(506/25586)----------
vmOpts: '-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S159521/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0301a846-998b-4c27-9c1c-a8b008be2cb3/runs/cea9ff9b-8e13-4965-9875-09efd1c8e529/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa'
javaOpts: '-XX:+UseZGC -XX:-ZGenerational'
Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
JVM version:24-ea
JDI version: 24.0
JVM description: Java Debug Interface (Reference Implementation) version 24.0
Java Debug Wire Protocol (Reference Implementation) version 24.0
JVM Debug Interface version 24.0
JVM version 24-ea (Java HotSpot(TM) 64-Bit Server VM, mixed mode, sharing)
Howdy!
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:1
Debuggee: Thread[#34,Thread 2,5,main] is running:1
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:2
Debuggee: Thread[#33,Thread 1,5,main] is running:3
Debuggee: Thread[#33,Thread 1,5,main] is running:4
Debuggee: Thread[#33,Thread 1,5,main] is running:5
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:2
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:6
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:7
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:8
Debuggee: Thread[#33,Thread 1,5,main] is running:9
Debuggee: Thread[#33,Thread 1,5,main] is running:10
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:3
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:4
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:11
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:12
Debuggee: Thread[#33,Thread 1,5,main] is running:13
Debuggee: Thread[#33,Thread 1,5,main] is running:14
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:5
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:15
Debuggee: Thread[#33,Thread 1,5,main] is running:16
Debuggee: Thread[#33,Thread 1,5,main] is running:17
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:6
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:7
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:8
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:9
Debuggee: Thread[#33,Thread 1,5,main] is running:18
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:10
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:19
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:20
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:21
Debuggee: Thread[#33,Thread 1,5,main] is running:22
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:11
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:12
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:13
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:23
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:14
Debuggee: Thread[#34,Thread 2,5,main] is running:15
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:24
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:16
Debuggee: Thread[#34,Thread 2,5,main] is running:17
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:25
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:18
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:26
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:27
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:19
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:28
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:20
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:21
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:29
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:30
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:22
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:23
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:31
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:32
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:33
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:24
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:25
Debuggee: Thread[#33,Thread 1,5,main] is running:34
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:35
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:26
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:36
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:27
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:37
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:38
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:28
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:39
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:40
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:29
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:30
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:41
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:42
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:43
Debuggee: Thread[#34,Thread 2,5,main] is running:31
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:32
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:33
Debuggee: Thread[#34,Thread 2,5,main] is running:34
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:35
Debuggee: Thread[#33,Thread 1,5,main] is running:44
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:36
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:45
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:46
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:37
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:38
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:47
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:39
Debuggee: Thread[#33,Thread 1,5,main] is running:48
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:49
Debuggee: Thread[#33,Thread 1,5,main] is running:50
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:40
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:41
Debuggee: Thread[#33,Thread 1,5,main] is running:51
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:52
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:42
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:53
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:54
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:43
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:44
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:55
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:45
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:56
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:46
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:47
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:57
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:48
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:49
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:58
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:59
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:50
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:51
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:60
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:61
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:52
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:53
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:62
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:63
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:54
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:64
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:65
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:55
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:56
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:66
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:67
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:57
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#33,Thread 1,5,main] is running:68
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:58
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:69
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:70
Debuggee: invokeee finished
Debuggee: Thread[#33,Thread 1,5,main] is running:71
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:59
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:60
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:72
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:61
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:73
Debuggee: Thread[#33,Thread 1,5,main] is running:74
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:62
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:63
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:75
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:76
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:77
Debuggee: Thread[#34,Thread 2,5,main] is running:64
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:78
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:65
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:66
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:67
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:79
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:80
Debuggee: Thread[#33,Thread 1,5,main] is running:81
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:68
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:69
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:82
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
bkpts = 69
bkpts = 69
----------stderr:(1/63)----------
at java.base/java.lang.Thread.getStackTrace(Thread.java:2389)
result: Error. Agent error: java.lang.Exception: Agent 20 timed out with a timeout of 1200 seconds; check console log for any additional details
The following bug has the same failure mode and was fixed
in jdk21-b15:
JDK-8290200 com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
com/sun/jdi/InvokeHangTest.java
Here's a snippet from the log file:
#section:driver
----------messages:(10/313)----------
command: driver InvokeHangTest
reason: User specified action: run driver InvokeHangTest
started: Sat Aug 03 00:47:25 GMT 2024
Mode: agentvm
Agent id: 20
Timeout signalled after 1200 seconds
Timeout information:
--- Timeout information end.
finished: Sat Aug 03 01:17:59 GMT 2024
elapsed time (seconds): 1833.984
----------configuration:(14/1910)----------
<snip>
----------System.err:(31/1827)----------
[0ms] run args: [InvokeHangTarg]
[401103ms] failure: Debuggee appears to be hung
at java.base/java.lang.Thread.getStackTrace(Thread.java:2389)
at TestScaffold.failure(TestScaffold.java:491)
at InvokeHangTest$1.run(InvokeHangTest.java:257)
java.lang.RuntimeException: Invalid debuggee exitValue: 134
at TestScaffold.waitForVMDisconnect(TestScaffold.java:787)
at TestScaffold.resumeToVMDisconnect(TestScaffold.java:1015)
at TestScaffold.listenUntilVMDisconnect(TestScaffold.java:743)
at InvokeHangTest.runTests(InvokeHangTest.java:277)
at TestScaffold.startTests(TestScaffold.java:468)
at InvokeHangTest.main(InvokeHangTest.java:153)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
com.sun.jdi.VMDisconnectedException
at jdk.jdi/com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:304)
at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:1176)
at jdk.jdi/com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:89)
at jdk.jdi/com.sun.tools.jdi.JDWP$ObjectReference$InvokeMethod.waitForReply(JDWP.java:4840)
at jdk.jdi/com.sun.tools.jdi.ObjectReferenceImpl.invokeMethod(ObjectReferenceImpl.java:410)
at InvokeHangTest.doInvoke(InvokeHangTest.java:161)
at InvokeHangTest.breakpointReached(InvokeHangTest.java:207)
at TestScaffold$EventHandler.notifyEvent(TestScaffold.java:193)
at TestScaffold$EventHandler.run(TestScaffold.java:277)
at java.base/java.lang.Thread.run(Thread.java:1575)
----------System.out:(506/25586)----------
vmOpts: '-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S159521/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0301a846-998b-4c27-9c1c-a8b008be2cb3/runs/cea9ff9b-8e13-4965-9875-09efd1c8e529/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa'
javaOpts: '-XX:+UseZGC -XX:-ZGenerational'
Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
JVM version:24-ea
JDI version: 24.0
JVM description: Java Debug Interface (Reference Implementation) version 24.0
Java Debug Wire Protocol (Reference Implementation) version 24.0
JVM Debug Interface version 24.0
JVM version 24-ea (Java HotSpot(TM) 64-Bit Server VM, mixed mode, sharing)
Howdy!
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:1
Debuggee: Thread[#34,Thread 2,5,main] is running:1
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:2
Debuggee: Thread[#33,Thread 1,5,main] is running:3
Debuggee: Thread[#33,Thread 1,5,main] is running:4
Debuggee: Thread[#33,Thread 1,5,main] is running:5
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:2
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:6
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:7
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:8
Debuggee: Thread[#33,Thread 1,5,main] is running:9
Debuggee: Thread[#33,Thread 1,5,main] is running:10
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:3
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:4
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:11
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:12
Debuggee: Thread[#33,Thread 1,5,main] is running:13
Debuggee: Thread[#33,Thread 1,5,main] is running:14
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:5
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:15
Debuggee: Thread[#33,Thread 1,5,main] is running:16
Debuggee: Thread[#33,Thread 1,5,main] is running:17
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:6
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:7
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:8
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:9
Debuggee: Thread[#33,Thread 1,5,main] is running:18
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:10
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:19
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:20
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:21
Debuggee: Thread[#33,Thread 1,5,main] is running:22
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:11
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:12
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:13
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:23
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:14
Debuggee: Thread[#34,Thread 2,5,main] is running:15
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:24
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:16
Debuggee: Thread[#34,Thread 2,5,main] is running:17
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:25
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:18
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:26
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:27
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:19
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:28
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:20
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:21
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:29
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:30
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:22
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:23
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:31
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:32
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:33
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:24
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:25
Debuggee: Thread[#33,Thread 1,5,main] is running:34
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:35
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:26
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:36
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:27
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:37
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:38
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:28
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:39
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:40
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:29
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:30
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:41
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:42
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:43
Debuggee: Thread[#34,Thread 2,5,main] is running:31
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:32
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:33
Debuggee: Thread[#34,Thread 2,5,main] is running:34
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:35
Debuggee: Thread[#33,Thread 1,5,main] is running:44
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:36
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:45
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:46
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:37
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:38
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:47
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:39
Debuggee: Thread[#33,Thread 1,5,main] is running:48
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:49
Debuggee: Thread[#33,Thread 1,5,main] is running:50
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:40
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:41
Debuggee: Thread[#33,Thread 1,5,main] is running:51
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:52
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:42
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:53
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:54
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:43
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:44
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:55
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:45
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:56
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:46
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:47
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:57
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:48
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:49
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:58
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:59
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:50
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:51
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:60
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:61
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:52
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:53
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:62
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:63
Debuggee: invokeee finished
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:54
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:64
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:65
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:55
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:56
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:66
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:67
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:57
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debuggee: Thread[#33,Thread 1,5,main] is running:68
Debugger: Invoke done
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:58
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:69
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:70
Debuggee: invokeee finished
Debuggee: Thread[#33,Thread 1,5,main] is running:71
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:59
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:60
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:72
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:61
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:73
Debuggee: Thread[#33,Thread 1,5,main] is running:74
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:62
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:63
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:75
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:76
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:77
Debuggee: Thread[#34,Thread 2,5,main] is running:64
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: Thread[#33,Thread 1,5,main] is running:78
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:65
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: Thread[#34,Thread 2,5,main] is running:66
Debuggee: invokeee finished
Debuggee: Thread[#34,Thread 2,5,main] is running:67
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:79
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
Debuggee: Thread[#33,Thread 1,5,main] is running:80
Debuggee: Thread[#33,Thread 1,5,main] is running:81
Debuggee: invokeee in thread Thread[#34,Thread 2,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#34,Thread 2,5,main] is running:68
Debugger: Breakpoint hit at InvokeHangTarg:105
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=108)
Debuggee: Thread[#34,Thread 2,5,main] is running:69
Debuggee: invokeee in thread Thread[#33,Thread 1,5,main]
Debuggee: invokeee finished
Debugger: Invoke done
Debuggee: Thread[#33,Thread 1,5,main] is running:82
Debugger: Breakpoint hit at InvokeHangTarg:121
Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=113)
bkpts = 69
bkpts = 69
----------stderr:(1/63)----------
at java.base/java.lang.Thread.getStackTrace(Thread.java:2389)
result: Error. Agent error: java.lang.Exception: Agent 20 timed out with a timeout of 1200 seconds; check console log for any additional details
The following bug has the same failure mode and was fixed
in jdk21-b15:
- relates to
-
JDK-8218463 com/sun/jdi/InvokeHangTest.java fail "java.lang.Exception: InvokeHangTest: failed; bkpts = 64"
- Open
-
JDK-8290200 com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
- Resolved