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

JCK13a, interactive: FileDialogTests cause java crash

XMLWordPrintable

    • beta
    • x86
    • linux
    • Verified



      Name: icR10030 Date: 03/05/2001


      JCK13a interactive-api test
      api/java_awt/interactive/FileDialogTests.html#FileDialogTests
      causes java crash.

      Failing Test:
      =============
      api/java_awt/interactive/FileDialogTests.html#FileDialogTests

      JCK :
      =====
      jck1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_awt/interactive/FileDialogTests.java

      Platforms:
      =============
      RedHat 6.2
      KDE/GNOME

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b54)
      Java HotSpot(TM) Client VM (build 1.4beta-B54, mixed mode)

      -verify -Xfuture

      How to reproduce:
      ====================
      Run following script ( you may need to change some environment variables ):
      #!/bin/ksh
      #
      # README: Modify these threev variables to fit your need:
      #
      # - ${executeClass}
      # - ${excludeCmd}
      # - ${executeClassArgs}
      # - ${executeContextArgs}
      # - ${executeTestURL}
      #
      #################################

      SWITCH=${1+$@}

      #This is where you want the JDK to be use.
      #Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      #JDK=/net/linux-15/export/home/jdk1.4.0/linux
      #JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0

      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      #TESTBASE=/net/linux-15/export/home/jck1.3a
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      JCK=${TESTBASE}/JCK-runtime-13a

      executeClass=javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests
      excludeCmd=
      executeClassArgs=" -TestCaseID ALL"
      executeTestURL=

      #executeContextArgs is used for vm testing.
      #executeContextArgs="-nativeCodeSupported true"

      #Example:
      #
      #executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests
      #excludeCmd="-exclude JComboBox2027,JComboBox2026,JComboBox2028"
      #executeClassArgs="-TestCaseID ALL"
      #executeContextArgs="-nativeCodeSupported true"
      #executeTestURL="-TestURL file:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fcs/tests/api/signaturetest/SignatureTest.html#CORBASignatureTest -FileName jdk1_3.CORBA.sig -Package org.omg"


      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}:${TESTBASE}/lib
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      Test output:
      =============
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b54)
      Java HotSpot(TM) Client VM (build 1.4beta-B54, mixed mode)


      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x4A28A531
      Function=Java_sun_awt_motif_MFileDialogPeer_create+0x38D
      Library=/.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libawt.so

      Current Java thread:
      at sun.awt.motif.MFileDialogPeer.create(Native Method)
      at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:186)
      at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:91)
      at sun.awt.motif.MDialogPeer.<init>(MDialogPeer.java:41)
      at sun.awt.motif.MFileDialogPeer.<init>(MFileDialogPeer.java:25)
      at sun.awt.motif.MToolkit.createFileDialog(MToolkit.java:223)
      at java.awt.FileDialog.addNotify(FileDialog.java:186)
      - locked <0x440f0308> (a java.awt.Component$AWTTreeLock)
      at java.awt.Dialog.conditionalShow(Dialog.java:407)
      - locked <0x440f0308> (a java.awt.Component$AWTTreeLock)
      at java.awt.Dialog.show(Dialog.java:463)
      at java.awt.Component.show(Component.java:1107)
      at java.awt.Component.setVisible(Component.java:1064)
      at javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogDisplayer.actionPerformed(FileDialogDisplayer.java:67)
      at java.awt.Button.processActionEvent(Button.java:354)
      at java.awt.Button.processEvent(Button.java:327)
      at java.awt.Component.dispatchEventImpl(Component.java:3460)
      at java.awt.Component.dispatchEvent(Component.java:3327)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
      at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      Dynamic libraries:
      08048000-08051000 r-xp 00000000 00:08 560641213 /.automount/linux-15/root/export/home/jdk1.4.0/linux/bin/i386/native_threads/java
      08051000-08053000 rw-p 00008000 00:08 560641213 /.automount/linux-15/root/export/home/jdk1.4.0/linux/bin/i386/native_threads/java
      40000000-40013000 r-xp 00000000 08:07 15418 /lib/ld-2.1.3.so
      40013000-40014000 rw-p 00012000 08:07 15418 /lib/ld-2.1.3.so
      40015000-40016000 r--p 00000000 08:07 92 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
      40016000-40017000 r--p 00000000 08:07 107835 /usr/share/locale/en_US/LC_MONETARY
      40017000-40018000 r--p 00000000 08:07 107837 /usr/share/locale/en_US/LC_TIME
      40018000-40019000 r--p 00000000 08:07 107836 /usr/share/locale/en_US/LC_NUMERIC
      40019000-4001a000 r--s 00000000 00:08 560640766 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/jnet.jar
      4001b000-40026000 r-xp 00000000 08:07 15464 /lib/libpthread-0.8.so
      40026000-4002d000 rw-p 0000a000 08:07 15464 /lib/libpthread-0.8.so
      4002e000-40315000 r-xp 00000000 00:08 560640729 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/client/libjvm.so
      40315000-404df000 rw-p 002e6000 00:08 560640729 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/client/libjvm.so
      404f1000-404f3000 r-xp 00000000 08:07 15434 /lib/libdl-2.1.3.so
      404f3000-404f5000 rw-p 00001000 08:07 15434 /lib/libdl-2.1.3.so
      404f6000-405e3000 r-xp 00000000 08:07 15425 /lib/libc-2.1.3.so
      405e3000-405e7000 rw-p 000ec000 08:07 15425 /lib/libc-2.1.3.so
      405eb000-405fd000 r-xp 00000000 08:07 15438 /lib/libnsl-2.1.3.so
      405fd000-405ff000 rw-p 00011000 08:07 15438 /lib/libnsl-2.1.3.so
      40601000-40635000 r-xp 00000000 08:07 62464 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40635000-40641000 rw-p 00033000 08:07 62464 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40643000-4065f000 r-xp 00000000 08:07 15436 /lib/libm-2.1.3.so
      4065f000-40660000 rw-p 0001b000 08:07 15436 /lib/libm-2.1.3.so
      40660000-40669000 r-xp 00000000 00:08 560640721 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/native_threads/libhpi.so
      40669000-4066a000 rw-p 00008000 00:08 560640721 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/native_threads/libhpi.so
      4066a000-4067f000 r-xp 00000000 00:08 560640733 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libverify.so
      4067f000-40682000 rw-p 00014000 00:08 560640733 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libverify.so
      40682000-406a7000 r-xp 00000000 00:08 560640735 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libjava.so
      406a7000-406aa000 rw-p 00024000 00:08 560640735 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libjava.so
      406ab000-406bf000 r-xp 00000000 00:08 560640737 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libzip.so
      406bf000-406c2000 rw-p 00013000 00:08 560640737 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libzip.so
      406c2000-41a95000 r--s 00000000 00:08 560640818 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/rt.jar
      41ad4000-41d77000 r--s 00000000 00:08 560641145 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i18n.jar
      41d77000-41d8c000 r--s 00000000 00:08 560640771 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/sunrsasign.jar
      41d8c000-41d9e000 r--s 00000000 00:08 560640772 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/jce.jar
      43e46000-43e4e000 r--p 00000000 08:07 107833 /usr/share/locale/en_US/LC_COLLATE
      43e4e000-43e50000 r--s 00000000 00:08 560640769 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/dnsns.jar
      49eaf000-49ec5000 r--p 00000000 08:07 107834 /usr/share/locale/en_US/LC_CTYPE
      49ec5000-49ec7000 r--s 00000000 00:08 560640765 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/jcert.jar
      49ecb000-49ed3000 r-xp 00000000 08:07 15456 /lib/libnss_files-2.1.3.so
      49ed3000-49ed4000 rw-p 00007000 08:07 15456 /lib/libnss_files-2.1.3.so
      49ed4000-49edd000 r-xp 00000000 08:07 15462 /lib/libnss_nisplus-2.1.3.so
      49edd000-49edf000 rw-p 00008000 08:07 15462 /lib/libnss_nisplus-2.1.3.so
      49edf000-49ee7000 r-xp 00000000 08:07 15460 /lib/libnss_nis-2.1.3.so
      49ee7000-49ee9000 rw-p 00007000 08:07 15460 /lib/libnss_nis-2.1.3.so
      49ee9000-49f32000 r--s 00000000 00:08 560640767 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/jgss_kerberos.jar
      49f32000-49f50000 r--s 00000000 00:08 560640761 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/sunjce_provider.jar
      49f50000-49f6b000 r--s 00000000 00:08 560640768 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/sunrmijsse.jar
      49f6b000-49fe1000 r--s 00000000 00:08 560640764 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/jsse.jar
      49fe1000-49fee000 r--s 00000000 00:08 560640770 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/ext/ldapsec.jar
      4a019000-4a1fc000 r--s 00000000 00:08 557259860 /.automount/linux-15/root/export/home/jck1.3a/JCK-runtime-13a/javatest.jar
      4a1fc000-4a494000 r-xp 00000000 00:08 560640745 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libawt.so
      4a494000-4a4a6000 rw-p 00297000 00:08 560640745 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libawt.so
      4a4cb000-4a51c000 r-xp 00000000 00:08 560640744 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libmlib_image.so
      4a51c000-4a51d000 rw-p 00050000 00:08 560640744 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libmlib_image.so
      4a523000-4a529000 r-xp 00000000 08:07 77585 /usr/X11R6/lib/libXp.so.6.2
      4a529000-4a52b000 rw-p 00005000 08:07 77585 /usr/X11R6/lib/libXp.so.6.2
      4a52b000-4a570000 r-xp 00000000 08:07 77587 /usr/X11R6/lib/libXt.so.6.0
      4a570000-4a571000 ---p 00045000 08:07 77587 /usr/X11R6/lib/libXt.so.6.0
      4a571000-4a574000 rw-p 00045000 08:07 77587 /usr/X11R6/lib/libXt.so.6.0
      4a575000-4a57f000 r-xp 00000000 08:07 77579 /usr/X11R6/lib/libXext.so.6.3
      4a57f000-4a581000 rw-p 00009000 08:07 77579 /usr/X11R6/lib/libXext.so.6.3
      4a581000-4a585000 r-xp 00000000 08:07 77589 /usr/X11R6/lib/libXtst.so.6.1
      4a585000-4a586000 rw-p 00003000 08:07 77589 /usr/X11R6/lib/libXtst.so.6.1
      4a586000-4a624000 r-xp 00000000 08:07 77573 /usr/X11R6/lib/libX11.so.6.1
      4a624000-4a62a000 rw-p 0009d000 08:07 77573 /usr/X11R6/lib/libX11.so.6.1
      4a62a000-4a632000 r-xp 00000000 08:07 77571 /usr/X11R6/lib/libSM.so.6.0
      4a632000-4a634000 rw-p 00007000 08:07 77571 /usr/X11R6/lib/libSM.so.6.0
      4a634000-4a648000 r-xp 00000000 08:07 77567 /usr/X11R6/lib/libICE.so.6.3
      4a648000-4a649000 rw-p 00013000 08:07 77567 /usr/X11R6/lib/libICE.so.6.3
      4a64b000-4a70b000 r-xp 00000000 00:08 560640749 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libfontmanager.so
      4a70b000-4a724000 rw-p 000bf000 00:08 560640749 /.automount/linux-15/root/export/home/jdk1.4.0/linux/jre/lib/i386/libfontmanager.so
      4a745000-4a746000 r-xp 00000000 08:07 30911 /usr/lib/gconv/ISO8859-1.so
      4a746000-4a747000 rw-p 00000000 08:07 30911 /usr/lib/gconv/ISO8859-1.so

      Local Time = Mon Mar 5 19:09:17 2001
      Elapsed Time = 4
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4beta-B54 mixed mode)
      #
      # An error report file has been saved as hs_err_pid14023.log.
      # Please refer to the file for further information.
      #
      Abort

      Specific Machine Info:
      =====================
      Hostname: linux-13

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


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

            dmikhalksunw Denis Mikhalkin (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: