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

RegTest-test javax/print/attribute/MediaPrintableAreaTest.java failed

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows

      Description



      Name: asR10013 Date: 12/05/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08, JDK1.4.2-b07, JDK1.4.1-b21
      Testbase : RegTest-test
      Platform[s] : Windows ME
      switch/Mode : -client
      Falling test[s]:
              javax/print/attribute/MediaPrintableAreaTest.java

      RegTest-test javax/print/attribute/MediaPrintableAreaTest.java test fails on our Window ME machine
      using Client VMs of JDK1.4.2 (tested with b08, b07) and JDK1.4.1 (tested with b21) :

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_FLT_INVALID_OPERATION (0xc0000090) occurred at PC=0x8041AAE

      The test passes on Windows ME using Server VMs of all JDKs listed above.

      The test fails on Windows ME using JDK1.4.0-b92 with either -client or -server.

      The test passes on Windows 98 with either -client or -server on all JDKs listed above
      (JDK1.4.2-b08, JDK1.4.2-b07, JDK1.4.1-b21, JDK1.4.0-b92).

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/print/attribute/MediaPrintableAreaTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/javax/print/attribute/MediaPrintableAreaTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.4.2/win32"
      TEST_BASE_PATH="h:/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-client"
      TESTVMOPTS="-client"

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-18" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/javax/print/attribute/MediaPrintableAreaTest.java"

      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(59/2772)*----------
      MediaPrintableArea attribute is supported...
      Media attribute is supported...
      Selected print service: Win32 Printer : HP LaserJet 1100
      Selected media: na-letter

      Return value from getSupportedAttributeValues with MediaPrintableArea category, SERVICE_FORMATTED.PRINTABLE docflavor and Media attribute set...


      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_FLT_INVALID_OPERATION (0xc0000090) occurred at PC=0x8041AAE
      Function=[Unknown.]
      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 java.lang.StringBuffer.append(StringBuffer.java:603)
      at javax.print.attribute.standard.MediaPrintableArea.toString(MediaPrintableArea.java:290)
      at javax.print.attribute.standard.MediaPrintableArea.toString(MediaPrintableArea.java:298)
      at java.lang.String.valueOf(String.java:2127)
      at java.lang.StringBuffer.append(StringBuffer.java:361)
      - locked <0x1006f6c8> (a java.lang.StringBuffer)
      at MediaPrintableAreaTest.print(MediaPrintableAreaTest.java:102)
      at MediaPrintableAreaTest.<init>(MediaPrintableAreaTest.java:59)
      at MediaPrintableAreaTest.main(MediaPrintableAreaTest.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:536)

      Dynamic libraries:
      0x7D2A0000 - 0x7D2CD000 C:\WINDOWS\SYSTEM\DBGHELP.DLL

      Heap at VM Abort:
      Heap
       def new generation total 576K, used 381K [0x10010000, 0x100b0000, 0x104f0000)
        eden space 512K, 74% used [0x10010000, 0x1006f778, 0x10090000)
        from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
        to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
       tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
         the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
       compacting perm gen total 4096K, used 1389K [0x14010000, 0x14410000, 0x18010000)
         the space 4096K, 33% used [0x14010000, 0x1416b520, 0x1416b600, 0x14410000)

      Local Time = Tue Nov 26 18:32:32 2002
      Elapsed Time = 3
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-beta-b08 mixed mode)
      #
      # An error report file has been saved as hs_err_pid4294490859.log.
      # Please refer to the file for further information.
      #
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]


      Specific machine info:
      ======================
      Hostname: linux-18
      OS: Windows ME

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

        Attachments

          Activity

            People

            • Assignee:
              jgodinez Jennifer Godinez (Inactive)
              Reporter:
              alssunw Als Als (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: