JDK-7016880 : SA-JDI: RuntimeException: wrong type on stack (found: v expected: r)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-02-03
  • Updated: 2023-12-13
  • Resolved: 2016-08-08
Related Reports
Relates :  
Description
A test throws the following exception with jdk7 b126 on linux-amd64:

# ERROR: Exception when getting stack trace
# ERROR: java.lang.RuntimeException: wrong type on stack (found: v expected: r)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.checkType(GenerateOopMap.java:1536)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.ppop1(GenerateOopMap.java:1623)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.doMethod(GenerateOopMap.java:1766)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.interp1(GenerateOopMap.java:1383)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.interpBB(GenerateOopMap.java:802)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.interpAll(GenerateOopMap.java:1107)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.doInterpretation(GenerateOopMap.java:980)
# ERROR: 	at sun.jvm.hotspot.oops.GenerateOopMap.computeMap(GenerateOopMap.java:2208)
# ERROR: 	at sun.jvm.hotspot.interpreter.OopMapForCacheEntry.computeMap(OopMapForCacheEntry.java:80)
# ERROR: 	at sun.jvm.hotspot.interpreter.OopMapCacheEntry.fill(OopMapCacheEntry.java:53)
# ERROR: 	at sun.jvm.hotspot.oops.Method.getMaskFor(Method.java:239)
# ERROR: 	at sun.jvm.hotspot.runtime.InterpretedVFrame.getLocals(InterpretedVFrame.java:53)
# ERROR: 	at sun.jvm.hotspot.jdi.StackFrameImpl.getArgumentValues(StackFrameImpl.java:211)
...

Comments
Closing as WNF. Removing sajdi tests.
08-08-2016