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

JCK1.4: Some api/java_awt, api/java_swing tests crash VM in headless mode

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 11/19/2001


      JDK : JDK1.4.0-beta-b86
      JCK : JCK1.4-b12
      Platform[s] : RedHat Linux 7.1, RedHat Linux 6.2
      switch/Mode : -Djava.awt.headless=true -Xfuture
                       (the tests pass with default switches)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/java2d/image/BufferedImage/index.html#GetTesttestCase11
                       api/java_awt/Component/descriptions.html#prepareImage
                       api/java_awt/MediaTracker/index.html#CheckImage
                       api/java_awt/MediaTracker/index.html#ErrorImage
                       api/java_awt/MediaTracker/index.html#RemoveImage
                       api/java_awt/MediaTracker/index.html#StatusImage
                       api/java_awt/MediaTracker/index.html#WaitImage
                       api/javax_swing/colorchooser/AbstractColorChooserPanel/index.html#main
                       api/javax_swing/ImageIcon/index.html#Ctor
                       api/javax_swing/ImageIcon/index.html#Misc
                       api/javax_swing/JColorChooser/AccessibleJColorChooser/index.html#AccessibleContext
                       api/javax_swing/JColorChooser/AccessibleJColorChooser/index.html#Ctor
                       api/javax_swing/JColorChooser/index.html#Ctor
                       api/javax_swing/JColorChooser/index.html#fields
                       api/javax_swing/JColorChooser/index.html#misc
                       api/javax_swing/JOptionPane/descriptions.html#Ctor
                       api/javax_swing/JOptionPane/descriptions.html#fields
                       api/javax_swing/JOptionPane/descriptions.html#setgetXXX
                       api/javax_swing/text/html/ImageView/index.html#main

      Some JCK1.4 api tests crash VM in headless mode under RedHat Linux 7.1, RedHat Linux 6.2 with
      unexpected exit codes 1, 134.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/MediaTracker/CheckImageTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/JColorChooser/AccessibleJColorChooser/AccessibleContextTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/JColorChooser/fieldsTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/JOptionPane/fieldsTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/JOptionPane/setgetXXXTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/text/html/ImageView/mainTests.java
      ...

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/java_awt/MediaTracker/index_CheckImage.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/JColorChooser/AccessibleJColorChooser/index_AccessibleContext.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/JColorChooser/index_fields.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/JOptionPane/descriptions_fields.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/JOptionPane/descriptions_setgetXXX.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/text/html/ImageView/index_main.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/javax_swing/colorchooser/AbstractColorChooserPanel/index_main.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b86-new/jck14/linux/redhat7.1_kde2_client_headless_linux-14/workDir/api/java_awt/java2d/image/BufferedImage/index_GetTesttestCase11.jtr
      ...

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 7.1
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.javax.swing.JColorChooser.AccessibleJColorChooser.AccessibleContextTests"
      $JAVA_HOME/bin/java -Djava.awt.headless=true -Xfuture ${executeClass}
      ---------Script END----------------------

      Test output:
      =============
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x4CAF282B
      Function=XQueryExtension+0x17
      Library=/usr/X11R6/lib/libX11.so.6

      Current Java thread:
              at sun.awt.X11SurfaceData.initIDs(Native Method)
              at sun.awt.X11SurfaceData.<clinit>(X11SurfaceData.java:165)
              at sun.awt.motif.X11ImageRepresentation.createImage(X11ImageRepresentation.java:35)
              at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:227)
              at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:478)
              - locked <0x440d5268> (a sun.awt.motif.X11ImageRepresentation)
              at javax.swing.colorchooser.SyntheticImageGenerator.run(SyntheticImage.java:150)

      Dynamic libraries:
      08048000-0804d000 r-xp 00000000 00:0d 7819 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/bin/java
      0804d000-0804e000 rw-p 00004000 00:0d 7819 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/bin/java
      40000000-40016000 r-xp 00000000 08:0a 259 /lib/ld-2.2.2.so
      40016000-40017000 rw-p 00015000 08:0a 259 /lib/ld-2.2.2.so
      40018000-40021000 r-xp 00000000 00:0d 7249 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/native_threads/libhpi.so
      40021000-40022000 rw-p 00008000 00:0d 7249 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/native_threads/libhpi.so
      40022000-40023000 r--p 00000000 08:0a 42990 /usr/lib/locale/en_US/LC_IDENTIFICATION
      40023000-40030000 r-xp 00000000 08:0a 77667 /lib/i686/libpthread-0.9.so
      40030000-40038000 rw-p 0000c000 08:0a 77667 /lib/i686/libpthread-0.9.so
      40038000-4003b000 r-xp 00000000 08:0a 77680 /lib/libdl-2.2.2.so
      4003b000-4003c000 rw-p 00002000 08:0a 77680 /lib/libdl-2.2.2.so
      4003c000-40162000 r-xp 00000000 08:0a 77663 /lib/i686/libc-2.2.2.so
      40162000-40168000 rw-p 00125000 08:0a 77663 /lib/i686/libc-2.2.2.so
      4016c000-4042a000 r-xp 00000000 00:0d 7255 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/client/libjvm.so
      4042a000-40572000 rw-p 002bd000 00:0d 7255 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/client/libjvm.so
      40586000-40599000 r-xp 00000000 08:0a 261 /lib/libnsl-2.2.2.so
      40599000-4059b000 rw-p 00012000 08:0a 261 /lib/libnsl-2.2.2.so
      4059d000-405d1000 r-xp 00000000 08:0a 44125 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      405d1000-405dd000 rw-p 00033000 08:0a 44125 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      405df000-40602000 r-xp 00000000 08:0a 77665 /lib/i686/libm-2.2.2.so
      40602000-40603000 rw-p 00022000 08:0a 77665 /lib/i686/libm-2.2.2.so
      40603000-40614000 r-xp 00000000 00:0d 7259 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libverify.so
      40614000-40616000 rw-p 00010000 00:0d 7259 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libverify.so
      40616000-40637000 r-xp 00000000 00:0d 7260 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libjava.so
      40637000-40639000 rw-p 00020000 00:0d 7260 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libjava.so
      4063a000-4064e000 r-xp 00000000 00:0d 7262 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libzip.so
      4064e000-40651000 rw-p 00013000 00:0d 7262 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libzip.so
      40651000-41cb7000 r--s 00000000 00:0d 7796 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar
      41cf9000-41d10000 r--s 00000000 00:0d 7288 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/sunrsasign.jar
      41d10000-41d7e000 r--s 00000000 00:0d 7296 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jsse.jar
      41d7e000-41d91000 r--s 00000000 00:0d 7289 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jce.jar
      41d91000-42012000 r--s 00000000 00:0d 7757 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/charsets.jar
      440ba000-440bb000 r--p 00000000 08:0a 42991 /usr/lib/locale/en_US/LC_MEASUREMENT
      440bb000-440bc000 r--p 00000000 08:0a 42995 /usr/lib/locale/en_US/LC_TELEPHONE
      440bc000-440bd000 r--p 00000000 08:0a 42989 /usr/lib/locale/en_US/LC_ADDRESS
      440bd000-440be000 r--p 00000000 08:0a 42993 /usr/lib/locale/en_US/LC_NAME
      440be000-440bf000 r--p 00000000 08:0a 42994 /usr/lib/locale/en_US/LC_PAPER
      440bf000-440c0000 r--p 00000000 08:0a 42891 /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
      4c2c3000-4c2de000 r--p 00000000 08:0a 42533 /usr/lib/locale/en_US/LC_CTYPE
      4c2de000-4c2df000 r--p 00000000 08:0a 42997 /usr/lib/locale/en_US/LC_MONETARY
      4c2df000-4c2e5000 r--p 00000000 08:0a 42801 /usr/lib/locale/en_US/LC_COLLATE
      4c2e5000-4c2e6000 r--p 00000000 08:0a 42996 /usr/lib/locale/en_US/LC_TIME
      4c2e6000-4c2e7000 r--p 00000000 08:0a 42895 /usr/lib/locale/en_US/LC_NUMERIC
      4c2e7000-4c2e9000 r--s 00000000 00:0d 7285 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/ext/dnsns.jar
      4c2e9000-4c2ef000 r-xp 00000000 08:0a 51806 /usr/X11R6/lib/libXp.so.6.2
      4c2ef000-4c2f1000 rw-p 00005000 08:0a 51806 /usr/X11R6/lib/libXp.so.6.2
      4c2f2000-4c2fc000 r-xp 00000000 08:0a 262 /lib/libnss_files-2.2.2.so
      4c2fc000-4c2fd000 rw-p 00009000 08:0a 262 /lib/libnss_files-2.2.2.so
      4c400000-4c40a000 r-xp 00000000 08:0a 77707 /lib/libnss_nisplus-2.2.2.so
      4c40a000-4c40c000 rw-p 00009000 08:0a 77707 /lib/libnss_nisplus-2.2.2.so
      4c40c000-4c416000 r-xp 00000000 08:0a 77704 /lib/libnss_nis-2.2.2.so
      4c416000-4c417000 rw-p 00009000 08:0a 77704 /lib/libnss_nis-2.2.2.so
      4c646000-4c663000 r--s 00000000 00:0d 7284 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/ext/sunjce_provider.jar
      4c663000-4c671000 r--s 00000000 00:0d 7287 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/ext/ldapsec.jar
      4c671000-4c710000 r--s 00000000 00:0d 7286 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/ext/localedata.jar
      4c710000-4c9d0000 r-xp 00000000 00:0d 7270 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libawt.so
      4c9d0000-4c9e4000 rw-p 002bf000 00:0d 7270 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libawt.so
      4ca09000-4ca5a000 r-xp 00000000 00:0d 7269 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libmlib_image.so
      4ca5a000-4ca5b000 rw-p 00050000 00:0d 7269 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libmlib_image.so
      4ca66000-4caae000 r-xp 00000000 08:0a 51812 /usr/X11R6/lib/libXt.so.6.0
      4caae000-4cab2000 rw-p 00047000 08:0a 51812 /usr/X11R6/lib/libXt.so.6.0
      4cab3000-4cabf000 r-xp 00000000 08:0a 51796 /usr/X11R6/lib/libXext.so.6.4
      4cabf000-4cac1000 rw-p 0000b000 08:0a 51796 /usr/X11R6/lib/libXext.so.6.4
      4cac1000-4cac5000 r-xp 00000000 08:0a 51814 /usr/X11R6/lib/libXtst.so.6.1
      4cac5000-4cac7000 rw-p 00003000 08:0a 51814 /usr/X11R6/lib/libXtst.so.6.1
      4cac7000-4cba2000 r-xp 00000000 08:0a 51788 /usr/X11R6/lib/libX11.so.6.2
      4cba2000-4cba6000 rw-p 000da000 08:0a 51788 /usr/X11R6/lib/libX11.so.6.2
      4cba7000-4cbaf000 r-xp 00000000 08:0a 51786 /usr/X11R6/lib/libSM.so.6.0
      4cbaf000-4cbb0000 rw-p 00007000 08:0a 51786 /usr/X11R6/lib/libSM.so.6.0
      4cbb0000-4cbc4000 r-xp 00000000 08:0a 51782 /usr/X11R6/lib/libICE.so.6.3
      4cbc4000-4cbc5000 rw-p 00013000 08:0a 51782 /usr/X11R6/lib/libICE.so.6.3
      4cbc7000-4cdaa000 r--s 00000000 00:0d 435559 /.automount/linux-15/root/export/home/java/jck1.4/JCK-runtime-14/javatest.jar
      4cdaa000-4ce6f000 r-xp 00000000 00:0d 7272 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libfontmanager.so
      4ce6f000-4ce89000 rw-p 000c4000 00:0d 7272 /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/i386/libfontmanager.so

      Local Time = Mon Nov 19 12:53:48 2001
      Elapsed Time = 5
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b86 mixed mode)
      #
      # An error report file has been saved as hs_err_pid10754.log.
      # Please refer to the file for further information.
      #

      Specific Machine Info:
      =====================
      Hostname: Linux-14
      OS: RedHat Linux 7.1

      Hostname: Linux-12
      OS: RedHat Linux 6.2

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

        Attachments

          Activity

            People

            • Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: