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

Change 7161732 breaks SA on Windows

XMLWordPrintable

    • svc
    • b13
    • generic
    • windows

        Since change 7161732 (Improve handling of thread_id in OSThread), most of the sajdi tests on Windows fails with:

        Attaching to target VM
         # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
         # ERROR: java.io.IOException
         java.io.IOException
          at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
         Caused by: 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:601)
          at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
          at sun.jvm.hotspot.jdi
         .SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
          ... 3 more
         Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
          at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
          at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
          at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
          at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
          at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
          at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
          at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
          at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
          ... 9 more
        Since change 7161732, most of the sajdi tests on Windows fail with:

        Attaching to target VM
         # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
         # ERROR: java.io.IOException
         java.io.IOException
          at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
          at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
         Caused by: 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:601)
          at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
          at sun.jvm.hotspot.jdi
         .SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
          ... 3 more
         Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
          at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
          at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
          at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
          at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
          at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
          at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
          at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
          at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
          ... 9 more

              rbackman Rickard Backman (Inactive)
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: