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

SAJDI: RuntimeException: should not reach here in oops.InstanceKlass.getFieldOffset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • hs25, 7
    • hotspot
    • svc
    • b17

      Lots of nsk/sajdi tests failing with an exception.

      Tests:
      nsk/sajdi/ArrayReference/getValue/getvalue001
      nsk/sajdi/ArrayReference/getValues/getvalues001
      nsk/sajdi/ArrayReference/getValues_ii/getvalues_ii001
      nsk/sajdi/ClassLoaderReference/visibleClasses/vsbclasses001
      nsk/sajdi/ClassType/interfaces/interfaces001
      nsk/sajdi/ClassType/interfaces/interfaces001
      nsk/sajdi/InterfaceType/superinterfaces/superintf001
      nsk/sajdi/Method/allLineLocations/linelocs001
      nsk/sajdi/Method/allLineLocations_ss/linelocs_ss001
      nsk/sajdi/Method/arguments/arguments001
      nsk/sajdi/Method/bytecodes/bytecodes001
      nsk/sajdi/Method/location/location001
      nsk/sajdi/Method/locationsOfLine_i/locofline_i001
      nsk/sajdi/Method/locationsOfLine_ssi/locofline_ssi001
      nsk/sajdi/Method/variables/variables001
      nsk/sajdi/ObjectReference/getValues/getvalues001
      nsk/sajdi/ObjectReference/owningThread/ownthrd002
      nsk/sajdi/PathSearchingVirtualMachine/classPath/classpath001
      nsk/sajdi/PrimitiveType/name/name001
      nsk/sajdi/PrimitiveValue/value/value001
      nsk/sajdi/ReferenceType/allFields/allfields001
      nsk/sajdi/ReferenceType/allLineLocations/linelocs001
      nsk/sajdi/ReferenceType/allLineLocations_ss/linelocs_ss001
      nsk/sajdi/ReferenceType/fieldByName/fldbyname001
      nsk/sajdi/ReferenceType/fields/fields001
      nsk/sajdi/ReferenceType/getValues/getvalues001
      nsk/sajdi/ReferenceType/locationsOfLine_i/locofline_i001
      nsk/sajdi/ReferenceType/locationsOfLine_ssi/locofline_ssi001
      nsk/sajdi/ReferenceType/methods/methods001
      nsk/sajdi/ReferenceType/methodsByName/methbyname001
      nsk/sajdi/ReferenceType/nestedTypes/nestedtypes001
      nsk/sajdi/ReferenceType/nestedTypes/nestedtypes002
      nsk/sajdi/ReferenceType/sourceDebugExtension/srcdebugx001
      nsk/sajdi/ReferenceType/visibleFields/vsbfields001
      nsk/sajdi/SAPIDAttachingConnector/attach/attach002
      nsk/sajdi/ThreadGroupReference/threadGroups/thrdgrps001
      nsk/sajdi/ThreadReference/frames/frames001
      nsk/sajdi/ThreadReference/ownedMonitors/ownmon002
      nsk/sajdi/ThreadReference/status/status001
      nsk/sajdi/VMCannotBeModifiedException/thrown/thrown001
      nsk/sajdi/VMCannotBeModifiedException/thrown/thrown002
      nsk/sajdi/VirtualMachine/allClasses/allclasses001
      nsk/sajdi/VirtualMachine/allThreads/allthreads001
      nsk/sajdi/VirtualMachine/canBeModified/canbemodif001
      nsk/sajdi/VirtualMachine/capabilities/caps001
      nsk/sajdi/VirtualMachine/capabilities/caps002
      nsk/sajdi/VirtualMachine/classesByName/clsbyname001
      nsk/sajdi/VirtualMachine/eventQueue/eventqueue001
      nsk/sajdi/VirtualMachine/eventRequestManager/reqmgr001
      nsk/sajdi/VirtualMachine/exit/exit001
      nsk/sajdi/VirtualMachine/getDefaultStratum/getdfltstrat001
      nsk/sajdi/VirtualMachine/mirrorOf/mirrorof001
      nsk/sajdi/VirtualMachine/mirrorOf_s/mirrorof_s001
      nsk/sajdi/VirtualMachine/process/process001
      nsk/sajdi/VirtualMachine/redefineClasses/redefine001
      nsk/sajdi/VirtualMachine/resume/resume001
      nsk/sajdi/VirtualMachine/setDebugTraceMode/tracemode001
      nsk/sajdi/VirtualMachine/setDefaultStratum/setdfltstrat001
      nsk/sajdi/VirtualMachine/suspend/suspend001
      nsk/sajdi/VirtualMachine/topLevelThreadGroups/topthrgroups001
      nsk/sajdi/VirtualMachine/virtualMachine/virtmachine001
      nsk/sajdi/jdb/options/connect/connect001

      nsk/sajdi/ArrayType/componentType/comptype001
      nsk/sajdi/ReferenceType/allMethods/allmethods001
      nsk/sajdi/ReferenceType/visibleMethods/vsbmethods001
      nsk/sajdi/ThreadReference/status/status002
      nsk/sajdi/jdb/options/connect/connect003

      Failure:

      [2013-02-01T04:47:26.99] Exception in thread "main" java.lang.RuntimeException: should not reach here
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.InstanceKlass.getFieldOffset(InstanceKlass.java:327)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.Field.<init>(Field.java:47)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.OopField.<init>(OopField.java:42)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.InstanceKlass.newField(InstanceKlass.java:915)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:869)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.InstanceKlass.iterateStaticFieldsInternal(InstanceKlass.java:574)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.oops.InstanceKlass.iterateStaticFields(InstanceKlass.java:562)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:889)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:882)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.runtime.VM.getSystemProperty(VM.java:876)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.jdi.VirtualMachineImpl.version(VirtualMachineImpl.java:808)
      [2013-02-01T04:47:26.99] at sun.jvm.hotspot.jdi.VirtualMac
      [2013-02-01T04:47:27.09] ebugServerAttachingConnector
      [2013-02-01T04:47:27.09] binder> name: sun.jvm.hotspot.jdi.SAPIDAttachingConnector
      [2013-02-01T04:47:27.09] binder> Connector found: sun.jvm.hotspot.jdi.SAPIDAttachingConnector (defaults: pid=)
      [2013-02-01T04:47:27.09] binder> Attaching connector arguments:
      [2013-02-01T04:47:27.09] binder> pid: 2579
      [2013-02-01T04:47:27.09] binder> Attach to target VM
      [2013-02-01T04:47:27.09] binder> Target VM attached
      [2013-02-01T04:47:27.09] binder> Target VM info:
      [2013-02-01T04:47:27.09] script> Debugger finished with exit status: 1
      [2013-02-01T04:47:27.09] script> # ERROR: Debugger class returned fail status: 1
      [2013-02-01T04:47:27.09] script>
      [2013-02-01T04:47:27.09] script> Kill debuggee VM process for pid: 2579
      [2013-02-01T04:47:27.09] script> Kill process: 2579
      [2013-02-01T04:47:27.09] script>
      [2013-02-01T04:47:27.09] script> Test exit status: 97
      [2013-02-01T04:47:27.09] hineImpl.name(VirtualMachineImpl.java:814)
      [2013-02-01T04:47:27.09] at nsk.share.sajdi.Debugee.printInfo(Debugee.java:62)
      [2013-02-01T04:47:27.09] at nsk.share.sajdi.Binder.bindToDebugee(Binder.java:46)
      [2013-02-01T04:47:27.09] at nsk.sajdi.ReferenceType.sourceDebugExtension.srcdebugx001.runIt(srcdebugx001.java:58)
      [2013-02-01T04:47:27.09] at nsk.sajdi.ReferenceType.sourceDebugExtension.srcdebugx001.run(srcdebugx001.java:26)
      [2013-02-01T04:47:27.09] at nsk.sajdi.ReferenceType.sourceDebugExtension.srcdebugx001.main(srcdebugx001.java:21)
      [2013-02-01T04:47:27.09] # Test level exit status: 97
      # Host info: Linux vm-amd64-09 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 i686 GNU/Linux

            Unassigned Unassigned
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: