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

memory fault using RescaleOP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6
    • client-libs
    • None
    • 2d
    • generic
    • linux

      RescaleOp causes a memory fault when running on MacOS (jdk 1.5) and Ubunto (jdk 1.6)
      Sample program is attached. This code has been known to run in the past, but I don't have 1.4 anymore to retest it.

      I suspect the problem is related to the way the image is created, though the resulting BuffredImage can be written to a .png file and looks fine.

      I will be filling a related bug against ConvolveOP that refuses to convolve the same image.

      Ubuntu
      ddhill@ddhill-desktop:~$ java -version
      java version "1.6.0_03"
      Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
      Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

      MacOs
      [ddhill devware_build]$ java -version
      java version "1.5.0_13"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
      Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

            bae Andrew Brygin
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: