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

SA: jstack throws WrongTypeException

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b63
    • OS:
      generic

      Backports

        Description

        (This came as part of JDK-8027608 which seems to have many failure modes in it)

        $ java JucLock &
        [1] 81179
        $ jstack -F -l 81179

        Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
        at sun.tools.jstack.JStack.main(JStack.java:102)
        Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x00000005d56dd5f0
        at sun.jvm.hotspot.runtime.InstanceConstructor.newWrongTypeException(InstanceConstructor.java:62)
        at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:109)
        at sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:68)
        at sun.jvm.hotspot.oops.Oop.getKlassForOopHandle(Oop.java:211)
        at sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:251)
        at sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions(ObjectHeap.java:330)
        at sun.jvm.hotspot.oops.ObjectHeap.iterateSubtypes(ObjectHeap.java:287)
        at sun.jvm.hotspot.oops.ObjectHeap.iterateObjectsOfKlass(ObjectHeap.java:187)
        at sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.fillLocks(ConcurrentLocksPrinter.java:70)
        at sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.<init>(ConcurrentLocksPrinter.java:36)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:71)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
        at sun.jvm.hotspot.tools.JStack.run(JStack.java:66)
        at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:259)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:222)
        at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)
        ... 6 more

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sla Staffan Larsen (Inactive)
                  Reporter:
                  sla Staffan Larsen (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: