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

attach005 failed with java.io.IOException: jvm.dll not loaded by target process

XMLWordPrintable

    • x86
    • windows

      In my JDK7-B113 Win32 baseline testing, the following VM/NSK test failed:

          nsk/jdi/AttachingConnector/attach/attach005

      The test only failed in the Server VM, fastdebug bits, -Xmixed config.

      Here are some snippets from the .log file:

      [2010-10-11T02:45:44.48] Transport shmem is supported at windows-i586^M
      [2010-10-11T02:45:46.40] Transport is supported on this platform, execute test
      [2010-10-11T02:45:46.40] Start listening debuggee VM: c:/work/local/baseline_jdks/1.7.0_b113/windows-i586/bin/java -server-fast -showversion -Xmixed -XX:DefaultMaxRAMFraction=8 -Xdebug -Xnoagent -agentlib:jdwp=transport=dt_shmem,server=y,suspend=y nsk.jdi.AttachingConnector.attach.attach004.attach004t -verbose -arch=windows-i586 -waittime=2 -debugee.vmkind=java -transport.address=dynamic -testWorkDir .
      [2010-10-11T02:45:46.40] CYGWIN_NT-5.1 oliver-lt 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
      [2010-10-11T02:45:46.40] Cygwin detected, converting Cygwin PID to Windows PID
      [2010-10-11T02:45:46.40] Cygwin PID 4384 corresponds to Windows PID 4384
      [2010-10-11T02:45:46.40] Debuggee VM PID: 4384
      [2010-10-11T02:45:46.40] Start debugger VM: c:/work/local/baseline_jdks/1.7.0_b113/windows-i586/bin/java -client -Xmixed -showversion nsk.jdi.AttachingConnector.attach.attach004.attach004 -debuggeePID 4384 -waitVMStartEvent -verbose -arch=windows-i586 -waittime=2 -debugee.vmkind=java -transport.address=dynamic -testWorkDir .
      [2010-10-11T02:45:46.40] VM option 'DefaultMaxRAMFraction=8'
      [2010-10-11T02:45:46.40] Listening for transport dt_shmem at address: javadebug
      [2010-10-11T02:45:50.82] Connector name=com.sun.jdi.ProcessAttach
      [2010-10-11T02:45:50.82] description=Attaches to debuggee by process-id (pid)
      [2010-10-11T02:45:50.82] transport=local
      [2010-10-11T02:45:50.82] Connection attempt #0 failed: java.io.IOException: jvm.dll not loaded by target process
      [2010-10-11T02:45:50.82] java.io.IOException: jvm.dll not loaded by target process
      [2010-10-11T02:45:50.82] at com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:104)
      [2010-10-11T02:45:50.82] at nsk.share.jdi.ConnectorTest.tryAttach(ConnectorTest.java:145)
      [2010-10-11T02:45:50.82] at nsk.jdi.AttachingConnector.attach.attach004.attach004.doTest(attach004.java:96)
      [2010-10-11T02:45:50.82] at nsk.share.jdi.ConnectorTest.runIt(ConnectorTest.java:109)
      [2010-10-11T02:45:50.82] at nsk.jdi.AttachingConnector.attach.attach004.attach004.run(attach004.java:44)
      [2010-10-11T02:45:50.82] at nsk.jdi.AttachingConnector.attach.attach004.attach004.main(attach004.java:40)


      <snip>


      [2010-10-11T02:47:43.37] Connection attempt #29 failed: java.io.IOException: jvm.dll not loaded by target process
      [2010-10-11T02:47:43.37] java.io.IOException: jvm.dll not loaded by target process
      [2010-10-11T02:47:43.37] at com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:104)
      [2010-10-11T02:47:43.37] at nsk.share.jdi.ConnectorTest.tryAttach(ConnectorTest.java:145)
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.doTest(attach004.java:96)
      [2010-10-11T02:47:47.39] at nsk.share.jdi.ConnectorTest.runIt(ConnectorTest.java:109)
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.run(attach004.java:44)
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.main(attach004.java:40)
      [2010-10-11T02:47:47.39] # ERROR: FAILURE: all attempts to connect to the debuggee VM failed
      [2010-10-11T02:47:47.39] # ERROR: Unable to attach the debugee VM
      [2010-10-11T02:47:47.39] Unexpected exception: java.lang.NullPointerException
      [2010-10-11T02:47:47.39] java.lang.NullPointerException
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.doTest(attach004.java:101)
      [2010-10-11T02:47:47.39] at nsk.share.jdi.ConnectorTest.runIt(ConnectorTest.java:109)
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.run(attach004.java:44)
      [2010-10-11T02:47:47.39] at nsk.jdi.AttachingConnector.attach.attach004.attach004.main(attach004.java:40)
      [2010-10-11T02:47:47.39]
      [2010-10-11T02:47:47.39]
      [2010-10-11T02:47:47.39] #>
      [2010-10-11T02:47:47.39] #> SUMMARY: Following errors occured
      [2010-10-11T02:47:47.39] #> during test execution:
      [2010-10-11T02:47:47.39] #>
      [2010-10-11T02:47:47.39] # ERROR: FAILURE: all attempts to connect to the debuggee VM failed
      [2010-10-11T02:47:47.39] # ERROR: Unable to attach the debugee VM
      [2010-10-11T03:00:47.58] Waiting until debuggee finishes (PID: 4384)
      [2010-10-11T03:00:47.58] # Cygwin watchdog kill: 5692 2992 4384
      [2010-10-11T03:00:47.58] java version "1.7.0-ea"
      [2010-10-11T03:00:47.61] Java(TM) SE Runtime Environment (build 1.7.0-ea-b113)
      [2010-10-11T03:00:47.61] Java HotSpot(TM) Client VM (build 20.0-b01, mixed mode)
      [2010-10-11T03:00:47.61]
      [2010-10-11T03:00:47.61] # Test level exit status: 151
      [2010-10-11T03:00:47.65]

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: