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

Crash in memmove when called from libzip

XMLWordPrintable

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      VM crash when running the Scala REPL

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      See https://gist.github.com/lrytz/b5b611d28094a4efcafe

      REPRODUCIBILITY :
      This bug can be reproduced always.


      stack :
      Stack: [0x000070000011a000,0x000070000061a000], sp=0x0000700000613a30, free space=5094k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libsystem_platform.dylib+0x4f49] _platform_memmove$VARIANT$Haswell+0x29
      C [libzip.dylib+0x302d] newEntry+0x2c8
      C [libzip.dylib+0x3554] ZIP_GetEntry2+0xd4
      C [libzip.dylib+0x234f] Java_java_util_zip_ZipFile_getEntry+0xcf
      J 3526 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0x000000011050640e [0x0000000110506340+0xce]
      J 3691 C1 java.util.zip.ZipFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream; (304 bytes) @ 0x00000001102e75cc [0x00000001102e7240+0x38c]
      j scala.reflect.io.FileZipArchive$FileEntry$1.input()Ljava/io/InputStream;+8
      j scala.reflect.io.AbstractFile.toByteArray()[B+1
      j scala.tools.nsc.symtab.classfile.AbstractFileReader.<init>(Lscala/reflect/io/AbstractFile;)V+11
      j scala.tools.nsc.symtab.classfile.ClassfileParser.parse(Lscala/reflect/io/AbstractFile;Lscala/reflect/internal/Symbols$Symbol;)V+191
      j scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader$$anonfun$doComplete$2.apply$mcV$sp()V+18
      j scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader$$anonfun$doComplete$2.apply()V+1
      j scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader$$anonfun$doComplete$2.apply()Ljava/lang/Object;+1

        1. hs_err_pid1730.log
          79 kB
          Abhijit Roy
        2. hs_err_pid967.log
          79 kB
          Abhijit Roy
        3. Screen Shot 2016-07-23 at 3.52.46 pm.png
          172 kB
          Abhijit Roy

            coffeys Sean Coffey
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: