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

Exception access violation with RescaleOp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6u10
    • client-libs
    • 2d
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      C:\Documents and Settings\Knute Johnson>java -version
      java version "1.6.0_10-beta"
      Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
      Java HotSpot(TM) Client VM (build 11.0-b12, mixed mode, sharing)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The following below crashes the VM and generates the error log to follow that. This is not expected behavior. I tried this on Fedora 9 and OpenJDK and did not get the error.

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Compile and run the program below on Windows XP.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      It shouldn't crash.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Attached seperatly


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.awt.image.*;
      import java.io.*;
      import javax.imageio.*;

      public class test {
          public static void main(String[] args) throws IOException {
              BufferedImage bi = ImageIO.read(new File("kittens.jpg"));
              RescaleOp op = new RescaleOp(0.5f,0.0f,null);
              bi = op.filter(bi,null);
          }
      }



      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None found.

            bae Andrew Brygin
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: