-
Bug
-
Resolution: Fixed
-
P4
-
1.2.2, 1.4.2, 5.0, 5.0u6, 6, 6u10
-
b10
-
generic, x86, sparc
-
generic, linux, solaris_2.5.1, solaris_10, windows_xp
-
Verified
TYPE_3BYTE_BGR
TYPE_4BYTE_ABGR
TYPE_4BYTE_ABGR_PRE
I am creating a RescaleOp instance with a scale factor and an offset that are dynamically specified by the user and filtering the above buffered image using RescaleOp.filter() method. I am rendering back the output buffered image to a frame. When the buffered image is one of the above types, VM crashes at the time of filtering the source image when the scale factor and offset exceeds certain value.
This is reproducible on Solaris as well as Windows right from JDK1.4+. I noticed this VM crash on JDK1.3 also for TYPE_3BYTE_BGR buffered image type, though i am not able to reproduce this on 1.3 consistantly.
I have attached a sample code. Execute the sample code. Choose the buffered image type you would like to test. The unconverted buffered image will be rendered on the screen. Move the scroll bar to choose values for Scale Factor and offset and check whether the image rendered is getting changed accordingly. Choose the above mentioned buffered image types and choose the values by moving the scroll bar. You will get the VM crash. Scale Factor and Offset values are printed in the console.
I have also attached the image used by this application alongwith the VM crash log file.
=============================================================================
This is reproducible right from JDK1.2.2. On JDK1.3, I am able to reproduce this for TYPE_3BYTE_BGR. (Solaris as well as win32)
###@###.### 2003-07-04
============================================================================
- duplicates
-
JDK-6479615 Splash screen cause the VM to crash.
- Closed
-
JDK-6671585 memory fault using RescaleOP
- Closed
-
JDK-6673631 RescaleOp/Filter core dumped when invoked on a BufferedImage type TYPE_3BYTE_BGR
- Closed
-
JDK-6721083 Exception access violation with RescaleOp
- Closed
-
JDK-6771021 Access violation in mlib_image.dll while calling LookupOp.filter(...)
- Closed
-
JDK-7097495 sun/java2d/OpenGL/DrawBufImgOp.java test failes against 32-bit jdk6 on 64-bit linux
- Closed
-
JDK-4886532 VM crashes when using LookupOp to filter different buffered image types
- Closed
-
JDK-6425368 Crash on Solaris in RescaleOp.filter();
- Closed
- relates to
-
JDK-6652168 sun/java2d/OpenGL/DrawBufImgOp.java crashes in the libmlib_image
- Closed