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

REGRESSION: More then 200 JCK1.5 tests fail with java crash on RedHat Linux 9.0

XMLWordPrintable

    • x86
    • linux



      Name: iaR10016 Date: 07/29/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b12, JDK1.5.0-b11
                       (not reproducible with JDK1.4.2 fcs, JDK1.4.1 fcs)
      JCK : JCK1.5-runtime
      Platform[s] : RedHat Linux 9 (Gnome2)
                        (I am not able to reproduce the failure on other systems I have)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
          all runtime interactive tests
          api/java_applet/Applet/index.html#ACMethods
          api/java_applet/Applet/index.html#GetLocale
          more then 150 api/java_awt tests:
            api/java_awt/AWTEventMulticaster/index.html#PublicMethod3
            api/java_awt/AWTEventMulticaster/index.html#PublicMethod4
            api/java_awt/AlphaComposite/index.html#FieldCLEARconst
            api/java_awt/AlphaComposite/index.html#FieldClear
            api/java_awt/AlphaComposite/index.html#FieldSrc
            api/java_awt/Button/AccessibleAWTButton/index.html#AccessibleAction
            api/java_awt/Canvas/descriptions.html#Ctor2
            api/java_awt/CardLayout/index.html#AddLayoutComponent
            ...
          more then 10 api/java_beans tests:
            api/java_beans/Encoder/index.html#setget
            api/java_beans/PersistenceDelegate/index.html#Methods
            api/java_beans/XMLEncoder/index.html#write
            api/java_beans/Beans/index.html#Bean
            ...
          api/javax_rmi/PortableRemoteObject/unexportObject.html#UnexportObject
          more then 20 api/javax_swing tests:
            api/javax_swing/Timer/descriptions.html#getset
            api/javax_swing/plaf/multi/MultiFileChooserUI/index.html#public
            api/javax_swing/plaf/metal/MetalButtonUI/index.html#public
            api/javax_swing/plaf/metal/MetalComboBoxUI/index.html#protected
            api/javax_swing/plaf/basic/BasicComboPopup/ListMouseHandler/index.html#public
            api/javax_swing/JPopupMenu/descriptions.html#setgetXXX
            ...
          api/javax_sound/sampled/Mixer/index.html#Mixer
          api/javax_sound/midi/MidiSystem/index.html#getFile
          api/org_omg/PortableServer/POA/index.html#fromTo
          api/org_omg/PortableServer/POA/index.html#create
          ...


      More then 200 JCK1.5 runtime api tests and 110 JCK1.5 runtime interactive api tests
      fail with crash using JDK1.5.0-b12 on RedHat Linux 9.
      I am not able to reproduce this failure with previous JDKs (1.4.2, 1.4.1).
      I am also not able to reproduce it on other Linux systems I have.

      It seems like all the tests run correctly and crash with unexpected signal 11 during
      exiting.

      The following test example demonstrates the failure:

      --------- test.java ---------
      import java.applet.*;
      public class test
      {
           public static void main(String[] args) {
              Applet a = new Applet();
              System.out.println("Execution completed!");
           }
      }

      -----------------------------

      Sample output is:
      ...
      bash-2.05b$ /net/linux-15/export/home/java/jdk1.5.0/linux/bin/java -showversion test
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b12)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b12, mixed mode)

      Execution completed!


      ****************
      Another exception has been detected while we were handling last error.
      Dumping information about last error:
      ERROR REPORT FILE = (N/A)
      PC = 0x420734c0
      SIGNAL = 11 (VM shutdown)
      FUNCTION NAME = (N/A)
      OFFSET = 0xFFFFFFFF
      LIBRARY NAME = (N/A)
      Please check ERROR REPORT FILE for further information, if there is any.
      Good bye.
      Aborted (core dumped)
      bash-2.05b$
      bash-2.05b$ /net/linux-15/export/home/java/jdk1.4.2/linux/bin/java -showversion test
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

      Execution completed!
      bash-2.05b$
      ...

      Test source location:
      =====================
      /java/re/jck/1.5/archive/fcs/binaries/JCK-runtime-15/tests/api/...

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b12/jck15/linux/redhat7.2_gnome_smp_server_linux-5/workDir/api/java_applet/Applet/index_GetLocale.jtr
      ...

      How to reproduce:
      =================
      Run the following script (you may need to change it's JDK and JCK variables):
      --- script start ---
      #!/bin/bash
      JCK="/java/re/jck/1.5/archive/fcs/binaries/JCK-runtime-15"
      JDK="/net/jdk/export/disk8/local.java/jdk1.5/linux"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      executeClass="javasoft.sqe.tests.api.java.applet.Applet.GetLocaleTests -TestURL file://$JCK/tests/api/java_applet/Applet/index.html#GetLocale"
      $JDK/bin/java -showversion $executeClass
      --- script end ---

      Script output:
      ==============

      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b12)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b12, mixed mode)

      Applet0001: Passed. OKAY
      Applet0002: Passed. OKAY
      Applet0003: Passed. OKAY
      ====== Applet0001 ======
      a= java.applet.Applet[panel0,0,0,0x0,invalid,layout=java.awt.FlowLayout]
      a.getLocale()=zh_TW
      ====== Applet0002 ======
      a= java.applet.Applet[panel1,0,0,0x0,invalid,layout=java.awt.FlowLayout]
      a.getLocale()=en_US
      defaultLocale=en_US
      ====== Applet0003 ======
      a= java.applet.Applet[panel2,0,0,0x0,invalid,layout=java.awt.FlowLayout]
      a.getLocale()=en_US
      defaultLocale=en_US
      newLocale=ru_RU
      defaultLocale=ru_RU
      STATUS:Passed.test cases: 3; all passed

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x420734C0 during VM shutdown
      Function=__libc_free+0x70
      Library=/lib/tls/libc.so.6


      Dynamic libraries:
      08048000-0804e000 r-xp 00000000 00:10 18150393 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/bin/java
      0804e000-0804f000 rw-p 00005000 00:10 18150393 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/bin/java
      40000000-40015000 r-xp 00000000 08:07 144834 /lib/ld-2.3.2.so
      40015000-40016000 rw-p 00014000 08:07 144834 /lib/ld-2.3.2.so
      40017000-4001e000 r-xp 00000000 00:10 18149789 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/i386/native_threads/libhpi.so
      4001e000-4001f000 rw-p 00006000 00:10 18149789 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/i386/native_threads/libhpi.so
      4001f000-40022000 r--s 00000000 00:10 18149827 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/ext/dnsns.jar
      40022000-4002c000 r-xp 00000000 08:07 48455 /lib/tls/libpthread-0.29.so
      4002c000-4002d000 rw-p 0000a000 08:07 48455 /lib/tls/libpthread-0.29.so
      4002f000-40031000 r-xp 00000000 08:07 144845 /lib/libdl-2.3.2.so
      40031000-40032000 rw-p 00002000 08:07 144845 /lib/libdl-2.3.2.so
      40033000-4034e000 r-xp 00000000 00:10 18149795 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/i386/client/libjvm.so
      4034e000-40369000 rw-p 0031b000 00:10 18149795 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/i386/client/libjvm.so
      4037e000-4039f000 r-xp 00000000 08:07 48453 /lib/tls/libm-2.3.2.so
      4039f000-403a0000 rw-p 00020000 08:07 48453 /lib/tls/libm-2.3.2.so
      403a0000-403a4000 rw-s 00000000 08:07 215039 /tmp/hsperfdata_ira/12594 (deleted)
      ...
      4212e000-42131000 rw-p 0012e000 08:07 48451 /lib/tls/libc-2.3.2.so
      42133000-43fc1000 r--s 00000000 00:10 18150297 /.automount/linux-15/root/export/home/java/jdk1.5.0/linux/jre/lib/rt.jar

      Heap at VM Abort:
      Heap
        def new generation total 576K, used 354K [0x45fd0000, 0x46070000, 0x464b0000)
         eden space 512K, 56% used [0x45fd0000, 0x46018bb0, 0x46050000)
         from space 64K, 100% used [0x46060000, 0x46070000, 0x46070000)
         to space 64K, 0% used [0x46050000, 0x46050000, 0x46060000)
        tenured generation total 1408K, used 126K [0x464b0000, 0x46610000, 0x49fd0000)
          the space 1408K, 8% used [0x464b0000, 0x464cf818, 0x464cfa00, 0x46610000)
        compacting perm gen total 4096K, used 2123K [0x49fd0000, 0x4a3d0000, 0x4dfd0000)
          the space 4096K, 51% used [0x49fd0000, 0x4a1e2ff8, 0x4a1e3000, 0x4a3d0000)

      Local Time = Tue Jul 29 12:56:51 2003
      Elapsed Time = 1
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b12 mixed mode)
      #
      # An error report file has been saved as hs_err_pid12594.log.
      # Please refer to the file for further information.
      #
      Script.sh: line 61: 12594 Aborted (core dumped) $JDK/bin/java -showversion -cp $CLASSPATH $executeClass

      Specific machine info:
      ======================
      Hostname: linux-5
      OS: RedHat Linux 9 (GNOME2)

      ======================================================================

            hhuangsunw Hui Huang (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: