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

Jshell crashes when connected over VPN

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      FULL PRODUCT VERSION :
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+103-jigsaw-nightly-h4361-20160131)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+103-jigsaw-nightly-h4361-20160131, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      jshell fails to start when I am using vpn. It hangs for just over a minute completely unresponsive before crashing with error message as below. Everything works fine once I turn the VPN off


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Exception in thread "main" java.lang.InternalError: Failed remote launch: com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=options=-classpath , main=main=jdk.internal.jshell.remote.RemoteAgent 56728, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
      at jdk.jshell.JDIConnection.reportLaunchFail(jdk.jshell@9-ea/JDIConnection.java:344)
      at jdk.jshell.JDIConnection.launchTarget(jdk.jshell@9-ea/JDIConnection.java:310)
      at jdk.jshell.JDIConnection.open(jdk.jshell@9-ea/JDIConnection.java:121)
      at jdk.jshell.JDIEnv.init(jdk.jshell@9-ea/JDIEnv.java:49)
      at jdk.jshell.ExecutionControl.jdiGo(jdk.jshell@9-ea/ExecutionControl.java:268)
      at jdk.jshell.ExecutionControl.launch(jdk.jshell@9-ea/ExecutionControl.java:71)
      at jdk.jshell.JShell.executionControl(jdk.jshell@9-ea/JShell.java:613)
      at jdk.jshell.ClassTracker$ClassInfo.getReferenceTypeOrNull(jdk.jshell@9-ea/ClassTracker.java:81)
      at jdk.jshell.Unit.lambda$classesToLoad$3(jdk.jshell@9-ea/Unit.java:266)
      at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@9-ea/ArrayList.java:1422)
      at java.util.stream.ReferencePipeline$Head.forEach(java.base@9-ea/ReferencePipeline.java:591)
      at jdk.jshell.Unit.classesToLoad(jdk.jshell@9-ea/Unit.java:264)
      at jdk.jshell.Eval.lambda$compileAndLoad$13(jdk.jshell@9-ea/Eval.java:559)
      at java.util.stream.ReferencePipeline$7$1.accept(java.base@9-ea/ReferencePipeline.java:269)
      at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@9-ea/ArrayList.java:1422)
      at java.util.stream.AbstractPipeline.copyInto(java.base@9-ea/AbstractPipeline.java:482)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@9-ea/AbstractPipeline.java:472)
      at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(java.base@9-ea/ReduceOps.java:913)
      at java.util.stream.AbstractPipeline.evaluate(java.base@9-ea/AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.collect(java.base@9-ea/ReferencePipeline.java:511)
      at jdk.jshell.Eval.compileAndLoad(jdk.jshell@9-ea/Eval.java:560)
      at jdk.jshell.Eval.declare(jdk.jshell@9-ea/Eval.java:462)
      at jdk.jshell.Eval.processMethod(jdk.jshell@9-ea/Eval.java:386)
      at jdk.jshell.Eval.eval(jdk.jshell@9-ea/Eval.java:128)
      at jdk.jshell.JShell.eval(jdk.jshell@9-ea/JShell.java:350)
      at jdk.internal.jshell.tool.JShellTool.processCompleteSource(jdk.jshell@9-ea/JShellTool.java:1540)
      at jdk.internal.jshell.tool.JShellTool.processSource(jdk.jshell@9-ea/JShellTool.java:1528)
      at jdk.internal.jshell.tool.JShellTool.processSourceCatchingReset(jdk.jshell@9-ea/JShellTool.java:514)
      at jdk.internal.jshell.tool.JShellTool.run(jdk.jshell@9-ea/JShellTool.java:494)
      at jdk.internal.jshell.tool.JShellTool.resetState(jdk.jshell@9-ea/JShellTool.java:429)
      at jdk.internal.jshell.tool.JShellTool.start(jdk.jshell@9-ea/JShellTool.java:265)
      at jdk.internal.jshell.tool.JShellTool.start(jdk.jshell@9-ea/JShellTool.java:260)
      at jdk.internal.jshell.tool.JShellTool.main(jdk.jshell@9-ea/JShellTool.java:250)
      Caused by: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/java -classpath -Xdebug -Xrunjdwp:transport=dt_socket,address=*REMOVED*:56729,suspend=y jdk.internal.jshell.remote.RemoteAgent 56728
      at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(jdk.jdi@9-ea/AbstractLauncher.java:193)
      at com.sun.tools.jdi.AbstractLauncher.launch(jdk.jdi@9-ea/AbstractLauncher.java:132)
      at com.sun.tools.jdi.SunCommandLineLauncher.launch(jdk.jdi@9-ea/SunCommandLineLauncher.java:223)
      at jdk.jshell.JDIConnection.launchTarget(jdk.jshell@9-ea/JDIConnection.java:303)

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfield Robert Field
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: