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

JCK-interactive: 34 JCK13a swing tests cause java crash

XMLWordPrintable

    • 2d
    • x86
    • windows_nt



      Name: icR10030 Date: 01/22/2001


      34 JCK13a interactive swing tests cause jdk1.4.0-b48 for win32 crash.


      Platforms:
      =============
      Windows NT 4.0

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

      How to reproduce:
      ====================
      Run folowing script under Windows NT ( 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=h:/jdk1.4.0/win32

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

      TESTBASE=h:/jck1.3a

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

      executeClass=javasoft.sqe.tests.api.javax.swing.interactive.ButtonGroup.ButtonGroupTests
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      #executeContextArgs is used for vm testing.
      executeContextArgs=""

      #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
         ;;
        Windows_NT)
      # sharedJDK=$JDK/linux-i386
         ARCH=win32
         ;;
      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-b48)
      Java HotSpot(TM) Client VM (build B48, mixed mode)

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x50075314
      Function name=(N/A)
      Library=(N/A)

      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.



      Current Java thread:
      at sun.awt.windows.Win32OffScreenSurfaceData.nativeDispose(Native Method)
      at sun.awt.windows.Win32OffScreenSurfaceData.dispose(Win32OffScreenSurfaceData.java:217)
      at sun.awt.windows.Win32OffScreenSurfaceData.finalize(Win32OffScreenSurfaceData.java:206)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(../../../src/share/classes/java/lang/ref/Finalizer.java:86)
      at java.lang.ref.Finalizer.access$100(../../../src/share/classes/java/lang/ref/Finalizer.java:17)
      at java.lang.ref.Finalizer$FinalizerThread.run(../../../src/share/classes/java/lang/ref/Finalizer.java:163)

      Dynamic libraries:

      Local Time = Mon Jan 22 18:19:12 2001
      Elapsed Time = 4
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (B48 mixed mode)
      #
      # An error report file has been saved as hs_err_pid141.log.
      # Please refer to the file for further information.
      #


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

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

            chaasesunw Chet Haase (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: