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

Compiler crashed (intermittently)

XMLWordPrintable

    • b116
    • Not verified

      Observed compiler crashed from one test, intermittently

      ----------direct:(42/3788)----------
      An exception has occurred in the compiler ((version info not available)). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.RuntimeException: java.nio.channels.ClosedChannelException
      at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:302)
      at jdk.internal.jimage.BasicImageReader.getResourceBuffer(java.base@9-ea/BasicImageReader.java:346)
      at jdk.internal.jimage.BasicImageReader.getResource(java.base@9-ea/BasicImageReader.java:320)
      at jdk.internal.jimage.ImageReader.getResource(java.base@9-ea/ImageReader.java:685)
      at jdk.internal.jrtfs.JrtFileSystem.getFileContent(java.base@9-ea/JrtFileSystem.java:183)
      at jdk.internal.jrtfs.AbstractJrtFileSystem.newInputStream(java.base@9-ea/AbstractJrtFileSystem.java:273)
      at jdk.internal.jrtfs.AbstractJrtPath.newInputStream(java.base@9-ea/AbstractJrtPath.java:705)
      at jdk.internal.jrtfs.JrtFileSystemProvider.newInputStream(java.base@9-ea/JrtFileSystemProvider.java:342)
      at java.nio.file.Files.newInputStream(java.base@9-ea/Files.java:152)
      at com.sun.tools.javac.file.PathFileObject.openInputStream(jdk.compiler@9-ea/PathFileObject.java:436)
      at com.sun.tools.javac.jvm.ClassReader.readClassFile(jdk.compiler@9-ea/ClassReader.java:2513)
      at com.sun.tools.javac.code.ClassFinder.fillIn(jdk.compiler@9-ea/ClassFinder.java:358)
      at com.sun.tools.javac.code.ModuleFinder$1.complete(jdk.compiler@9-ea/ModuleFinder.java:311)
      at com.sun.tools.javac.code.Symbol.complete(jdk.compiler@9-ea/Symbol.java:602)
      at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(jdk.compiler@9-ea/Symbol.java:1219)
      at com.sun.tools.javac.comp.Modules$2.complete(jdk.compiler@9-ea/Modules.java:456)
      at com.sun.tools.javac.code.Symtab.lambda$enterModule$10(jdk.compiler@9-ea/Symtab.java:748)
      at com.sun.tools.javac.code.Symbol.complete(jdk.compiler@9-ea/Symbol.java:602)
      at com.sun.tools.javac.comp.Modules.computeTransitiveClosure(jdk.compiler@9-ea/Modules.java:901)
      at com.sun.tools.javac.comp.Modules.allModules(jdk.compiler@9-ea/Modules.java:864)
      at com.sun.tools.javac.comp.Modules.enter(jdk.compiler@9-ea/Modules.java:209)
      at com.sun.tools.javac.main.JavaCompiler.initModules(jdk.compiler@9-ea/JavaCompiler.java:1020)
      at com.sun.tools.javac.main.JavaCompiler.initModules(jdk.compiler@9-ea/JavaCompiler.java:1012)
      at com.sun.tools.javac.main.JavaCompiler.compile(jdk.compiler@9-ea/JavaCompiler.java:906)
      at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:261)
      at com.sun.tools.javac.main.Main.compile(jdk.compiler@9-ea/Main.java:143)
      at com.sun.tools.javac.Main.compile(jdk.compiler@9-ea/Main.java:73)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.RegressionCompileCommand.run(RegressionCompileCommand.java:248)
      at com.sun.javatest.regtest.agent.CompileActionHelper.runCompile(CompileActionHelper.java:92)
      at com.sun.javatest.regtest.agent.AgentServer.doCompile(AgentServer.java:208)
      at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:179)
      at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:59)
      Caused by: java.nio.channels.ClosedChannelException
      at sun.nio.ch.FileChannelImpl.ensureOpen(java.base@9-ea/FileChannelImpl.java:108)
      at sun.nio.ch.FileChannelImpl.read(java.base@9-ea/FileChannelImpl.java:722)
      at jdk.internal.jimage.BasicImageReader.readBuffer(java.base@9-ea/BasicImageReader.java:299)
      ... 34 more
      result: Error. compiler crashed (exit code 4)

            jlaskey Jim Laskey
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: