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

DnDImageTest failing for between JVM scenario on Solaris 64-bit

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      sparc
    • OS:
      solaris_8
    • Verification:
      Verified

      Description

      The DnDMerlinQLTestsuite DnDImageTest is failing for between JVM scenario on Solaris 64-bit only (Ultra 10). This has been observed on Solaris 8 and Solaris 9. The test passes on 32-bit versions of Solaris 2.6 and 7 (as well as other platforms).

      Each test in the DnDMerlinQLTestsuite has two scenarios:
      - Within Same JVM
      - Between JVM

      The DnDImageTest will pass in SameJVM mode but fail in BetweenJVM mode with core exception:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFDFB4844
      Function=Java_sun_awt_datatransfer_DataTransferer_platformImageBytesToImageData+0x2C8
      Library=/net/jdk.sfbay/export/disk6/promoted/jdk/1.4/beta3/b83/binaries/solsparc/jre/lib/sparc/motif21/libmawt.so
      ...
      ...

      The complete log is attached as file "hs_err_pid8631.log".

      For both test scenarios, the DataFlavor used is:
      "image/x-java-Image; class=java.awt.Image"

      The failure may have been present for a few builds as it was thought to be related to DnD performance degradation bug (the test suite would generate some false failures because extra time was required for drop to complete).

      Steps to reproduce
      ------------------
      The DnDMerlinQLTestsuite is located in the workspace:
      /net/sqesvr/export/dnd/Merlin_dnd_ws/DnDMerlinQLTestsuite

      1) Copy the test suite to a local directory and change all permissions to allow write access.

      2) The tests for the suite are located in the directory:
      DnDMerlinQLTestsuite/src/testcases/

      Remove all other test cases from the directory except for DnDImageTest.java

      3) Go to the root test directory:
      DnDMerlinQLTestsuite/

      4) set JAVA_HOME variable.

      5) type "gnumake"

      6) The test suite will compile all classes and execute any tests in the testcases/ directory (in this case only DnDImageTest.java).

      7) Observe the failure in the second part of the test
      - first part (sameJVM) of the test will pass
      - second part (betweenJVM) of the test will fail

       Other information
      -------------------
      - Bug was still occurring with Merlin build 1.4.0-beta3-b83

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dassunw Das Das (Inactive)
              Reporter:
              rreynagasunw Rick Reynaga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: