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

VM crashes because of something related to LoaderConstraintEntry in 6.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs10
    • 5.0u12, 5.0u6, 6
    • hotspot
    • b13
    • generic, x86
    • generic, linux_redhat_3.0, windows_xp

        VM crashes with the attached test case.

        Configuration :
          - WindowsXP(SP2, japanese)
          - CPU : Core 2 duo (2.4GHz)
          - Mem : 2GB
          - JDK : 6.0/5.0u11


        Reproduce :

         1. Compile *.java and create .jar files (Please see make.csh)

         javac *.java
         jar -cvf base.jar A.class B.class C.class D.class E.class Base.class TestLoader.class
         jar -cvf derived.jar Derived.class TheCompiler.class Launcher.class
         del *.class

         2. Invoke the following command line.(This is described in run_one.csh)
        java -client -XX:PermSize=128m -XX:MaxPermSize=128m -Xms256m -Xmx256m -XX:CompileThreshold=2 -cp base.jar TestLoader 1000 "<PATH_TO_JAR>"

        ex.
         If you created derived.jar under D:\users\tbaba\test1.win\derived.jar,
         "<PATH_TO_JAR>" is "file:///D:/users/tbaba/test1.win/derived.jar".
         which is, command line will be
          d:\>java -client -XX:PermSize=128m -XX:MaxPermSize=128m -Xms256m -Xmx256m -XX:CompileThreshold=2 -cp base.jar TestLoader 1000 "file:///D:/users/tbaba/test1.win/derived.jar"


        RESULT:

        D:\users\tbaba\test1.win>java -version
        java version "1.6.0"
        Java(TM) SE Runtime Environment (build 1.6.0-b105)
        Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)

        D:\users\tbaba\test1.win>java -client -XX:PermSize=128m -XX:MaxPermSize=
        128m -Xms256m -Xmx256m -XX:CompileThreshold=2 -cp base.jar TestLoader 1000 "file
        :///D:/users/tbaba/test1.win/derived.jar"
        Adding many loader constraints. Please wait....................................
        ..............
        TEST Start!
        #
        # An unexpected error has been detected by Java Runtime Environment:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d99e672, pid=1860, tid=1572
        #
        # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
        # Problematic frame:
        # V [jvm.dll+0x12e672]
        #
        # An error report file with more information is saved as hs_err_pid1860.log
        #
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        #

        NOTE :
         - This does not seem to occur single processor.
         - This occurs in Windows, not in Solaris/Linux.

              dholmes David Holmes
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: