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

SIG11 crash in ContiguousSpace::prepare_for_compaction on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.4.2_05
    • hotspot
    • None
    • gc
    • x86
    • linux_redhat_3.0, linux_redhat_8.0

      The customer is seeing a crash in JDK 1.4.2_05 on RedHat Linux 3.0 Enterprise Server:

      Unexpected Signal : 11 occurred at PC=0xB727CF55
      Function=(null)
      Library=/usr/java/j2sdk1.4.2_05/jre/lib/i386/server/libjvm.so

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.



      Dynamic libraries:
      08048000-08056000 r-xp 00000000 68:03 82496
      /usr/java/j2sdk1.4.2_05/bin/java
      08056000-08059000 rw-p 0000d000 68:03 82496
      /usr/java/j2sdk1.4.2_05/bin/java
      95950000-95a15000 r-xp 00000000 68:02 196735 /lib/libcrypto.so.0.9.6b
      95a15000-95a21000 rw-p 000c5000 68:02 196735 /lib/libcrypto.so.0.9.6b
      95a24000-95a50000 r-xp 00000000 68:02 196712 /lib/libssl.so.0.9.6b
      95a50000-95a53000 rw-p 0002b000 68:02 196712 /lib/libssl.so.0.9.6b
      95a5a000-95a5e000 r-xp 00000000 68:08 393226
      /home/partypoker/lib/libSSLSocket.so
      95a5e000-95a5f000 rw-p 00003000 68:08 393226
      /home/partypoker/lib/libSSLSocket.so
      96979000-9697a000 r-xp 00000000 68:03 133275
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/librmi.so
      9697a000-9697b000 rw-p 00000000 68:03 133275
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/librmi.so
      97717000-97726000 r-xp 00000000 68:02 196657 /lib/libresolv-2.3.2.so
      97726000-97727000 rw-p 0000f000 68:02 196657 /lib/libresolv-2.3.2.so
      97729000-9772d000 r-xp 00000000 68:02 196642 /lib/libnss_dns-2.3.2.so
      9772d000-9772e000 rw-p 00003000 68:02 196642 /lib/libnss_dns-2.3.2.so
      9776e000-9777e000 r-xp 00000000 68:03 133273
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libnet.so
      9777e000-9777f000 rw-p 0000f000 68:03 133273
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libnet.so
      97971000-97972000 r--s 00000000 68:08 262148 /home/partypoker/rng.jar
      97972000-97b94000 r--s 00000000 68:08 262149 /home/partypoker/server.jar
      97b94000-97ba8000 r--s 00000000 68:08 393218
      /home/partypoker/lib/activation.jar
      97ba8000-97be5000 r--s 00000000 68:08 393219
      /home/partypoker/lib/bsh-1.2b5.jar
      97be5000-97d06000 r--s 00000000 68:08 393231
      /home/partypoker/lib/classes12.jar
      97d06000-97d2b000 r--s 00000000 68:08 393221
      /home/partypoker/lib/crysec.jar
      97d2b000-97d33000 r--s 00000000 68:08 393220
      /home/partypoker/lib/gnu-regexp.jar
      97d33000-97da6000 r--s 00000000 68:08 393233
      /home/partypoker/lib/jboss-jmx.jar
      97da6000-97efd000 r--s 00000000 68:08 393232
      /home/partypoker/lib/jbossall-client.jar
      97efd000-97f00000 r--s 00000000 68:08 393222
      /home/partypoker/lib/jcert.jar
      97f00000-97f05000 r--s 00000000 68:08 393223
      /home/partypoker/lib/jdbcpool-0.99.jar
      97f05000-97f07000 r--s 00000000 68:08 393224
      /home/partypoker/lib/jnet.jar
      97f07000-97f85000 r--s 00000000 68:08 393225
      /home/partypoker/lib/jsse.jar
      97f85000-97fdb000 r--s 00000000 68:08 393227
      /home/partypoker/lib/log4j-1.2.7.jar
      97fdb000-98013000 r--s 00000000 68:08 393228
      /home/partypoker/lib/mail.jar
      98013000-9806d000 r--s 00000000 68:08 393229
      /home/partypoker/lib/sslava_debug.jar
      9806d000-98228000 r--s 00000000 68:08 393230
      /home/partypoker/lib/xerces.jar
      98228000-98244000 r--s 00000000 68:03 246883
      /usr/java/j2sdk1.4.2_05/jre/lib/ext/sunjce_provider.jar
      98244000-98300000 r--s 00000000 68:03 247733
      /usr/java/j2sdk1.4.2_05/jre/lib/ext/localedata.jar
      9843a000-98447000 r--s 00000000 68:03 246881
      /usr/java/j2sdk1.4.2_05/jre/lib/ext/ldapsec.jar
      98447000-9844a000 r--s 00000000 68:03 246880
      /usr/java/j2sdk1.4.2_05/jre/lib/ext/dnsns.jar
      b4d88000-b52e1000 r--s 00000000 68:03 182436
      /usr/java/j2sdk1.4.2_05/jre/lib/charsets.jar
      b52e1000-b52f2000 r--s 00000000 68:03 182435
      /usr/java/j2sdk1.4.2_05/jre/lib/jce.jar
      b52f2000-b53cf000 r--s 00000000 68:03 182443
      /usr/java/j2sdk1.4.2_05/jre/lib/jsse.jar
      b53cf000-b53e5000 r--s 00000000 68:03 182444
      /usr/java/j2sdk1.4.2_05/jre/lib/sunrsasign.jar
      b542f000-b6dd3000 r--s 00000000 68:03 182445
      /usr/java/j2sdk1.4.2_05/jre/lib/rt.jar
      b6dd3000-b6de7000 r-xp 00000000 68:03 133277
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libzip.so
      b6de7000-b6dea000 rw-p 00013000 68:03 133277
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libzip.so
      b6dea000-b6e0a000 r-xp 00000000 68:03 133262
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libjava.so
      b6e0a000-b6e0c000 rw-p 0001f000 68:03 133262
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libjava.so
      b6e0c000-b6e1c000 r-xp 00000000 68:03 133276
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libverify.so
      b6e1c000-b6e1e000 rw-p 0000f000 68:03 133276
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/libverify.so
      b6e1e000-b6e29000 r-xp 00000000 68:02 196645 /lib/libnss_files-2.3.2.so
      b6e29000-b6e2a000 rw-p 0000a000 68:02 196645 /lib/libnss_files-2.3.2.so
      b6e2d000-b6e31000 rw-s 00000000 68:02 98313
      /tmp/hsperfdata_gmedia/28364
      b6e31000-b6e39000 r-xp 00000000 68:03 51145
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/native_threads/libhpi.so
      b6e39000-b6e3a000 rw-p 00007000 68:03 51145
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/native_threads/libhpi.so
      b6e3a000-b6e5b000 r-xp 00000000 68:02 98310 /lib/tls/libm-2.3.2.so
      b6e5b000-b6e5c000 rw-p 00020000 68:02 98310 /lib/tls/libm-2.3.2.so
      b6e5c000-b6e6e000 r-xp 00000000 68:02 196629 /lib/libnsl-2.3.2.so
      b6e6e000-b6e6f000 rw-p 00011000 68:02 196629 /lib/libnsl-2.3.2.so
      b6e78000-b742a000 r-xp 00000000 68:03 149428
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/server/libjvm.so
      b742a000-b7483000 rw-p 005b1000 68:03 149428
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/server/libjvm.so
      b7498000-b75ca000 r-xp 00000000 68:02 98607 /lib/tls/libc-2.3.2.so
      b75ca000-b75cd000 rw-p 00131000 68:02 98607 /lib/tls/libc-2.3.2.so
      b75d0000-b75d2000 r-xp 00000000 68:02 196625 /lib/libdl-2.3.2.so
      b75d2000-b75d3000 rw-p 00001000 68:02 196625 /lib/libdl-2.3.2.so
      b75d3000-b75e0000 r-xp 00000000 68:02 98312 /lib/tls/libpthread-0.60.so
      b75e0000-b75e1000 rw-p 0000c000 68:02 98312 /lib/tls/libpthread-0.60.so
      b75eb000-b7600000 r-xp 00000000 68:02 196612 /lib/ld-2.3.2.so
      b7600000-b7601000 rw-p 00014000 68:02 196612 /lib/ld-2.3.2.so

      Heap at VM Abort:
      Heap
       def new generation total 1152K, used 854K [0x98ee0000, 0x99020000,
      0x9b5c0000)
        eden space 1024K, 75% used [0x98ee0000, 0x98fa1a70, 0x98fe0000)
        from space 128K, 62% used [0x99000000, 0x99013da0, 0x99020000)
        to space 128K, 0% used [0x98fe0000, 0x98fe0000, 0x99000000)
       tenured generation total 7892K, used 7757K [0x9b5c0000, 0x9bd75000,
      0xaece0000)
         the space 7892K, 98% used [0x9b5c0000, 0x9bd534e0, 0x9ba1c200,
      0x9bd75000)
       compacting perm gen total 16384K, used 11529K [0xaece0000, 0xafce0000,
      0xb2ce0000)
         the space 16384K, 70% used [0xaece0000, 0xaf8227a0, 0xaf822800,
      0xafce0000)

      Local Time = Mon Aug 2 04:13:37 2004
      Elapsed Time = 2029
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002EF
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.2_05-b04 mixed mode)
      #
      # An error report file has been saved as hs_err_pid28364.log.
      # Please refer to the file for further information.
      #
              
      Using the command line:

      /usr/java/j2sdk1.4.2_05/bin/java -server -XX:+ShowMessageBoxOnError
      -Xmx350m -Djava.library.path=/home/partypoker/lib
      -Djava.security.policy=$PP_HOME/policy
      com.partypoker.server.GameServerDaemon $GS_HOME/CommonGS.config
      $GS_HOME/GS1.config $GS_HOME/DummyGS1.config >${console_log_file} 2>&1

      They've been able to get a pstack and some thread detail from gdb:

      $ pstack 29624

              29624: /usr/java/j2sdk1.4.2_05/bin/java -server
      -XX:+ShowMessageBoxOnError -Xmx350m -Djava.library.path=/home/partypoker/lib
      -Djava...
              (No symbols found)
              0xb75da1fb: ???? (805ab1c, 805ab04, b747fd44, 805ab1c, 805ab04, 0) +
      a4
              0xb722ae1d: ???? (805ab1c, 805ab04, b747fd44, 8281b60, 8281b60,
      bfff7520) + 64
              0xb72191c6: ???? (805aad0, 0, 0, b747fd44, 8281b60, b714e9f4) + 20
              0xb72a50a1: ???? (805813c, b71682d4, 8281c00, 10004, b7388e2a, 0)
              0xb716837e: ???? (b746e2a0, b75cca98, bfff96d4, 805830c, b714e9f4,
      805b518) + 2060
              0x08049b33: ???? (3, 80583d0, bfff9700, 0, b75cca98, b7600600) + 40
              0xb74ad768: ???? (8049250, a, bfff96d4, 8048dc0, 805430c, b75f7ad0)
      + 40006938

      (See attached for gdb output)

      The really interesting piece seems to be from Thread 84:

      #6 <signal handler called>
      #7 0xb727cf55 in ContiguousSpace::prepare_for_compaction () from
      /usr/java/j2sdk1.4.2_05/jre/lib/i386/server/libjvm.so
      Previous frame inner to this frame (corrupt stack?)

      This looks like a number of previous BugIDs, some supposedly fixed, and some closed as unreproducable.

            pbk Peter Kessler
            mbowyer Mark Bowyer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: