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

-XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: hs21
    • Fix Version/s: hs21
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b12
    • Introduced In Version:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        % /java/re/jdk/7/promoted/all/b142/binaries/solaris-i586/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -Xcomp t
        Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 29488
        at java.lang.String.substring(String.java:1955)
        at java.io.UnixFileSystem.normalize(UnixFileSystem.java:69)
        at java.io.UnixFileSystem.normalize(UnixFileSystem.java:89)
        at java.io.File.<init>(File.java:253)
        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:619)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:362)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:352)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:351)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:328)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:194)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:358)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:472)

        And with JDK6 new VM crash with -XX:-UnrollLimitCheck:

        % cp /java/re/jdk/7/promoted/all/b142/binaries/solaris-i586/jre/lib/i386/server/libjvm.so /export/kvn/jdk6u25/fastdebug/jre/lib/i386/server/

        % /export/kvn/jdk6u25/fastdebug/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -XX:CICompilerCount=1 -Xbatch -Xcomp t
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0xfaa6b18a, pid=20822, tid=2
        #
        # JRE version: 6.0_25-b03
        # Java VM: Java HotSpot(TM) Server VM (21.0-b12 compiled mode solaris-x86 )
        # Problematic frame:
        # J java.io.UnixFileSystem.normalize(Ljava/lang/String;)Ljava/lang/String;
        #
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /export/kvn/VM/hs_err_pid20822.log

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: