-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
None
-
generic
-
generic
The following small program (utilising the attached image) crashes for me on
Solaris SPARC with (at least) JDK 1.4.2, 1.5 and JDK 6 :
import javax.imageio.*;
import java.awt.image.*;
public class FilterCrash {
public static void main(String s[]) throws Exception {
BufferedImage bi = ImageIO.read(new java.io.File("bld.jpg"));
int iw = bi.getWidth(null);
int ih = bi.getHeight(null);
BufferedImage bo = new BufferedImage(iw, ih, bi.getType());
RescaleOp rop = new RescaleOp(1.1f, 20.0f, null);
rop.filter(bi, bo);
}
}
/java/re/jdk/1.6.0/latest/binaries/solaris-sparc/bin/java FilterCrash
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xd6a6a9f8, pid=17002, tid=2
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-beta2-b84 mixed mode)
# Problematic frame:
# C [libmlib_image_v.so+0xea9f8]
#
# An error report file with more information is saved as hs_err_pid17002.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort
Solaris SPARC with (at least) JDK 1.4.2, 1.5 and JDK 6 :
import javax.imageio.*;
import java.awt.image.*;
public class FilterCrash {
public static void main(String s[]) throws Exception {
BufferedImage bi = ImageIO.read(new java.io.File("bld.jpg"));
int iw = bi.getWidth(null);
int ih = bi.getHeight(null);
BufferedImage bo = new BufferedImage(iw, ih, bi.getType());
RescaleOp rop = new RescaleOp(1.1f, 20.0f, null);
rop.filter(bi, bo);
}
}
/java/re/jdk/1.6.0/latest/binaries/solaris-sparc/bin/java FilterCrash
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xd6a6a9f8, pid=17002, tid=2
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-beta2-b84 mixed mode)
# Problematic frame:
# C [libmlib_image_v.so+0xea9f8]
#
# An error report file with more information is saved as hs_err_pid17002.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort
- duplicates
-
JDK-4886506 VM crashes when using RescaleOp with certain buffered image types
- Closed