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

[JDK1.2.2_15] SIGBUS in GC

XMLWordPrintable

    • 17
    • sparc
    • solaris_8

      Solaris JDK 1.2.2_15 crashes in GC.
      The following error on Solaris 8 system.
      (attached file stderr1.txt.gz contains complete trace)

      ====================================================
      Gen[1](train): size=8Mb, free=768kb, maxAlloc=768kb.
      Post-GC verifying heap: gen0 gen1SIGBUS 10 bus error
          si_signo [10]: BUS
          si_errno [0]:
          si_code [1]: BUS_ADRALN [addr: 0x112805]

              stackpointer=FEDA14C0
       *** Garbage Collection in process, a thread
       *** dump is not possible.
      ====================================================

      I created the sample program reproducing this
      phenomenon. (attached file sample.tar.gz)
      And the command script is as follows.
      (In this program, Java XML Pack Summer 02 is used.)

      ====================================================
      JAXP=/home/okazaki/lib/java_xml_pack-summer-02-01/jaxp-1.2_01
      CLASSPATH=.
      for i in $JAXP/*.jar
      do
          CLASSPATH=$CLASSPATH:$i
      done
      JAVA_HOME=/home/okazaki/Solaris_JDK_1.2.2_15
      export JAVA_HOME
      $JAVA_HOME/bin/javac *.java
      $JAVA_HOME/bin/rmic StarRemoteImpl
      $JAVA_HOME/bin/rmiregistory &
      $JAVA_HOME/bin/java -Djava.rmi.server.hostname=localhost -Djava.security.policy=policy StarRemoteImpl &
      $JAVA_HOME/bin/java -Xmx10m -Xoss400k -Xss200k -Xincgc -verbose:gc -verbose:gc -Xverifyheap StarSerialize draft.sxd draft.sxd draft.sxd draft.sxd
      ====================================================

      The program has the following structure.

      [StarOffice file]
           |
         parse (for creating complex data structure)
           |
       +---v-----------+ +----------------+
       | StarSerialize |---- RMI ---->| StarRemoteImpl |
       +---------------+ +----------------+

      StarSerialize only calls StarRemoteImpl#star using RMI.
      RMI parameter contains 2000~3000 objects (40~50kb).



      ###@###.### 2003-05-27

      I could reproduced SIGBUS using java_g (1.2.2_15).
      Attached file stderr17.txt contains complete trace.

            chrisphi Chris Phillips
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: