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

REGRESSION:specifying both -XX:-UseParallelGC and -XX:+UseParNewGC crashes JVM

XMLWordPrintable

    • gc
    • b28
    • generic, sparc
    • generic, solaris_8

      Name: rmT116609 Date: 09/30/2004


      FULL PRODUCT VERSION :
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
      Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      SunOS xxx 5.8 Generic_108528-24 sun4u sparc SUNW,Ultra-80

      A DESCRIPTION OF THE PROBLEM :
      I wanted to run with the serial gc but still use the parallel new generation collector so tried the option combination above. The JVM core dumped immediately.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      type something like "java -XX:-UseParallelGC -XX:+UseParNewGC -version".

      it crashes.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Either it works as I hoped it or tells me that the combination is not permitted. It shouldn't crash.
      ACTUAL -
      Abort (core dumped)

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xfe63b41c, pid=29252, tid=1
      #
      # Java VM: Java HotSpot(TM) Server VM (1.5.0-b64 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x63b41c]
      #
      # An error report file with more information is saved as hs_err_pid29252.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #


      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xfe63b41c, pid=29252, tid=1
      #
      # Java VM: Java HotSpot(TM) Server VM (1.5.0-b64 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x63b41c]
      #

      --------------- T H R E A D ---------------

      Current thread (0x00037190): JavaThread [_thread_in_vm, id=1]

      siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000c

      Registers:
       O0=0x0011c4b8 O1=0xfe6ba399 O2=0x00000002 O3=0x01000000
       O4=0x04000000 O5=0x00000001 O6=0xffbeedf8 O7=0xfe741aa4
       G1=0xfe5aec88 G2=0x00000004 G3=0x00000001 G4=0x00000000
       G5=0x0011c4d0 G6=0x00000000 G7=0x000326f8 Y=0x00000000
       PC=0xfe63b41c nPC=0xfe63b420


        Top of Stack: (sp=0xffbeedf8)
      0xffbeedf8: fe741a84 00000001 fe6f2000 fe741aa4
      0xffbeee08: 00005dac 00005c00 00006bec 00006800
      0xffbeee18: 00000000 ffbeef18 00000000 fe738a94
      0xffbeee28: fe5aec88 002c1e4c ffbeee58 fe4301e4
      0xffbeee38: 00000000 00000000 00000000 000b106c
      0xffbeee48: fe6f2000 00000000 000b106c 00000001
      0xffbeee58: fe3e61ac 0011c4b8 00000010 000b63b0
      0xffbeee68: fe6f2000 00035ad8 00000010 00000001

      Instructions: (pc=0xfe63b41c)
      0xfe63b40c: ea 06 20 14 81 c7 e0 08 81 e8 00 00 9d e3 bf a0
      0xfe63b41c: f8 06 20 0c 80 a7 20 00 08 40 00 0d ac 10 20 00

      Stack: [0xffb70000,0xffbf0000), sp=0xffbeedf8, free space=507k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x63b41c]
      V [libjvm.so+0x4301ec]
      V [libjvm.so+0x356070]
      V [libjvm.so+0x35cedc]
      V [libjvm.so+0x3418dc]
      V [libjvm.so+0x384554]
      V [libjvm.so+0x356540]
      C [java+0x1800] main+0x760


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )

      Other Threads:

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 2112K, used 40K [0xf0400000, 0xf0620000, 0xf1950000)
        eden space 2048K, 2% used [0xf0400000, 0xf040a3e8, 0xf0600000)
        from space 64K, 0% used [0xf0600000, 0xf0600000, 0xf0610000)
        to space 64K, 0% used [0xf0610000, 0xf0610000, 0xf0620000)
       tenured generation total 1408K, used 0K [0xf1950000, 0xf1ab0000, 0xf4400000)
         the space 1408K, 0% used [0xf1950000, 0xf1950000, 0xf1950200, 0xf1ab0000)
       compacting perm gen total 16384K, used 443K [0xf4400000, 0xf5400000, 0xf840000
      0)
         the space 16384K, 2% used [0xf4400000, 0xf446efc0, 0xf446f000, 0xf5400000)
      No shared spaces configured.

      Dynamic libraries:
      0x00010000 /home/murrap/jdk1.5.0/bin/java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
      0xfe000000 /home/murrap/jdk1.5.0/jre/lib/sparc/server/libjvm.so
      0xff2e0000 /usr/lib/libsocket.so.1
      0xff1e0000 /usr/lib/libsched.so.1
      0xff1b0000 /usr/lib/libCrun.so.1
      0xff180000 /usr/lib/libm.so.1
      0xff080000 /usr/lib/libnsl.so.1
      0xff300000 /usr/lib/libw.so.1
      0xff150000 /usr/lib/libmp.so.2
      0xff050000 /home/murrap/jdk1.5.0/jre/lib/sparc/native_threads/libhpi.so
      0xfe7d0000 /home/murrap/jdk1.5.0/jre/lib/sparc/libverify.so
      0xfe790000 /home/murrap/jdk1.5.0/jre/lib/sparc/libjava.so
      0xfe770000 /home/murrap/jdk1.5.0/jre/lib/sparc/libzip.so

      VM Arguments:
      jvm_args: -XX:-UseParallelGC -XX:+UseParNewGC
      java_command: <unknown>

      Environment Variables:
      JAVA_HOME=/home/murrap/j2sdk1_3_0
      PATH=/home/murrap/jtest/bin:/home/murrap/j2sdk1_3_0/bin:/usr/bin:/export/opt1/EM
      Cpower/bin:/etc
      LD_LIBRARY_PATH=/home/murrap/jdk1.5.0/jre/lib/sparc/server:/home/murrap/jdk1.5.0
      /jre/lib/sparc:/home/murrap/jdk1.5.0/jre/../lib/sparc
      SHELL=/bin/ksh
      HOSTTYPE=sparc
      OSTYPE=solaris
      MACHTYPE=sparc-sun-solaris


      --------------- S Y S T E M ---------------

      OS: Solaris 8 10/00 s28s_u2wos_11b SPARC
                 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 31 August 2000

      uname:SunOS 5.8 Generic_108528-24 sun4u (T1 libthread)
      rlimit: STACK 8192k, CORE infinity, NOFILE 1024, AS infinity
      load average:0.26 1.32 2.54

      CPU:total 4 has_v8, has_v9, has_vis1

      Memory: 8k page, physical 4194304k(2815784k free)

      vm_info: Java HotSpot(TM) Server VM (1.5.0-b64) for solaris-sparc, built on Sep
      15 2004 03:36:05 by unknown with unknown Workshop:0x550


      The problem was not reproducible with J2SE 1.4.2_05:

      java -version
      java version "1.4.2_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
      Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

      java -XX:-UseParallelGC -XX:+UseParNewGC -version
      java version "1.4.2_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
      Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)





      REPRODUCIBILITY :This bug can be reproduced always.
      (Incident Review ID: 315976)
      ======================================================================
      ###@###.### 2004-09-30

            ysr Y. Ramakrishna
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: