The NATIVE SSE2 version of the JIIO JPEG reader crashes on Windows XP when
reading certain lossy JPEG color images.
A sample of such "problematic" JPEG color images (8-bit per channel,
photometric interpretation YBR_FULL_422) can be downloaded from:
This sample JPEG image has been extracted from a multi-frame DICOM file
I attach a test application which demonstrates the problem. This application
causes the JVM to crash and exit unexpectedly on my machine (Pentium 4 3 GHz,
Win XP Pro SP2, JRE v1.6.0, JAI v1.1.3, JIIO v1.1). Here is a fragment of the
JVM crash dump obtained on my PC:
- EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0378ff2c, pid=3336,
- Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing) #
- C [clib_jiio_sse2.dll+0xaff2c]
For some reason, I am unable to reproduce the problem on Windows versions
different from Win XP (e.g., Windows 2000 Server, Windows 2003 Server).
Also, the test application works fine (i.e., does not crash and correctly
displays the image) if the "clib_jiio_sse2.dll" is removed from my PC, or if
using the pure-Java version of the JPEG reader.