JDK-8210725 : com/sun/jdi/RedefineClearBreakpoint.java fails with waitForPrompt timed out after 60 seconds
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,solaris
  • CPU: x86_64,sparc_64
  • Submitted: 2018-09-13
  • Updated: 2020-08-27
  • Resolved: 2018-09-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.10-oracleFixed 12 b13Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
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:1335)
	at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:315)
	at java.base/java.lang.invoke.MethodHandleNatives.findMethodHandleType(MethodHandleNatives.java:376)
	at java.base/java.util.concurrent.CompletableFuture.completeValue(CompletableFuture.java:305)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2072)
	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:834)
java.lang.RuntimeException: waitForPrompt timed out after 60 seconds, looking for '[a-zA-Z0-9_-][a-zA-Z0-9_-]*\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
	at lib.jdb.Jdb.waitForPrompt(Jdb.java:205)
	at lib.jdb.Jdb.waitForPrompt(Jdb.java:156)
	at lib.jdb.Jdb.command(Jdb.java:226)
	at lib.jdb.Jdb.quit(Jdb.java:251)
	at lib.jdb.Jdb.shutdown(Jdb.java:106)
	at lib.jdb.JdbTest.shutdown(JdbTest.java:153)
	at lib.jdb.JdbTest.run(JdbTest.java:98)
	at RedefineClearBreakpoint.main(RedefineClearBreakpoint.java:72)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:834)
Comments
Fix Request (11u) This backport improves testing and matches the codebases better (I see 11.0.10-oracle). Patch applies cleanly to 11u, com/sun/jdi tests pass in {fastdebug,release}. This bunch contains a rewrite and a few follow-ups: JDK-8210560, JDK-8210725, JDK-8210748.
25-08-2020

There's a webrev out to fix already: http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-September/025156.html
19-09-2018

Time to problem list?
19-09-2018

I'm moving this to core-svc/debugger for further investigation. Please move back if it turns out to be a JIT compiler issue.
17-09-2018

These failures are causing a lot of noise with the nightlies. We may need to quarantine them. The latest list of failures I saw included 2 more new tests on solaris-sparc: com/sun/jdi/RedefineClearBreakpoint.java com/sun/jdi/RedefineChangeClassOrder.java com/sun/jdi/RedefineAnnotation.java com/sun/jdi/JdbMissStep.java com/sun/jdi/EvalArgs.java
15-09-2018

The tests were all just updated from shell scripts to java as part of JDK-8210560.
14-09-2018