-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6u10
-
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.
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.
- duplicates
-
JDK-4886506 VM crashes when using RescaleOp with certain buffered image types
- Closed