Skip to main content

[JAI-IMAGEIO] JVM Crash on tiff read!!!

13 replies [Last post]
Anonymous

Nearing completion of converting my reading of tiff's from JAI to
ImageIO I have encountered this brutal error. I have tested in Linux and
Windows and the JVM does indeed crash. I guess I don't need to say but
this is *critical* for me, as I will have to abort use of the JAI
ImageIO tools :( I am on version 1.1-alpha and using JDK 1.5.0_06.

I can submit the offending tiff, but I need to find one first that does
not contain any patient healthcare information. JVM crashes hurt my
feelings so...

*Error* on Linux:
*** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***

*Error* on Windows:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
tid=3336
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x10f29]
#

--------------- T H R E A D ---------------

Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
EIP=0x7c910f29, EFLAGS=0x00010246

Top of Stack: (sp=0x0007f620)
0x0007f620: 00030000 0b0a1000 00000000 0007f700
0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
0x0007f650: 00000000 00000018 6d806460 0007f6e8
0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
0x0007f690: 00000001 000000a5 0b0bebe8 00000000

Instructions: (pc=0x7c910f29)
0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8

Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C [ntdll.dll+0x10f29]
C [ntdll.dll+0x10d5c]
C [MSVCRT.dll+0x1c2de]
V [jvm.dll+0xd5f69]
C [clib_jiio.dll+0x1acd]
j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
J
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
v ~OSRAdapter
j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
j
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
v ~StubRoutines::call_stub
V [jvm.dll+0x845a9]
V [jvm.dll+0xd9317]
V [jvm.dll+0x8447a]
V [jvm.dll+0x8b44a]
C [java.exe+0x14c5]
C [java.exe+0x64dd]
C [kernel32.dll+0x16d4f]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
J
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
v ~OSRAdapter
j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
j
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=2840]
0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=2744]
0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
id=3288]
=>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]

Other Threads:
0x00a835c8 VMThread [id=908]
0x00a90370 WatcherThread [id=2852]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
0x02fb0000)
eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
0x06ad0000)
the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
0x03110000)
compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
0x0aad0000)
the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
0x072d0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d6e0000 - 0x6d874000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d6b0000 - 0x6d6bc000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\zip.dll
0x6d200000 - 0x6d22f000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
0x6d430000 - 0x6d44f000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
0x10000000 - 0x100ed000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
0x6d070000 - 0x6d1d7000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll

VM Arguments:
java_command: net.nighthawk.ifd.common.util.ReadWriteAll
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
Files\Java\javamail-1.3.2\mail.jar
PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
Files\Java\jaf-1.0.2\activation.jar; C:\Program
Files\Java\javamail-1.3.2\mail.jar
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
C:\pwlib\include; C:\Program
Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
Security\SSH Secure Shell
USERNAME=Aaron Bruegl
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2096124k(1153852k free), swap
4039232k(3186268k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0

--
Aaron Bruegl
414.220.4295 x306 [office]
8306 [IP Phone]
1.208.415.0506 [External IP Phone]

Software Engineer
Nighthawk Radiology Services
223 N. Water Street
Suite 200
Milwaukee, WI 53202

CONFIDENTIALITY NOTICE: This email, including any attachments, contains information from NightHawk Radiology Services, which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify NightHawk Radiology Services immediately by forwarding message to abruegl@nighthawkrad.net and destroy all electronic and hard copies of the communication, including attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Aaron Bruegl

Must be to decode Group 3 facsimile compression. The tiff does say it is
CCITT Group 3 fax - but I wonder if that is incorrect and part of the
problem because mostly the tiffs I get are CCITT Group 4 faxes.

http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/co...

Robert Engels wrote:
> It is using the G3FaxDecoder? What is the G3, I am only familiar with the
> G4?
>
> -----Original Message-----
> From: Brian.Burkhalter@Sun.COM [mailto:Brian.Burkhalter@Sun.COM]
> Sent: Thursday, May 04, 2006 6:40 PM
> To: interest@jai-imageio.dev.java.net
> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>
>
> What happens if you disable the native libraries?
>
> Brian
>
> On Thu, 4 May 2006, Aaron Bruegl wrote:
>
>
>> Just did with the latest build:
>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>
>> Resulted in the same error below:
>>
>>
>> #
>> # An unexpected error has been detected by HotSpot Virtual Machine:
>> #
>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=3740,
>> tid=3876
>> #
>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>> # Problematic frame:
>> # C [ntdll.dll+0x10f29]
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>
>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>
>> Registers:
>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>> EIP=0x7c910f29, EFLAGS=0x00010246
>>
>> Top of Stack: (sp=0x0007f620)
>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>
>> Instructions: (pc=0x7c910f29)
>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>
>>
>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
>> code)
>> C [ntdll.dll+0x10f29]
>> C [ntdll.dll+0x10d5c]
>> C [MSVCRT.dll+0x1c2de]
>> V [jvm.dll+0xd5f69]
>>
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>> J
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>> v ~OSRAdapter
>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>> j
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>> j
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>
>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>> j
>>
>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>> j
>>
> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>
>> v ~StubRoutines::call_stub
>>
>> --------------- P R O C E S S ---------------
>>
>> Java Threads: ( => current thread )
>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>
> id=760]
>
>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3012]
>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>
> id=3008]
>
>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>
> id=3688]
>
>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>
>> Other Threads:
>> 0x00a835c8 VMThread [id=1568]
>> 0x00a90378 WatcherThread [id=4016]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>> 0x02fb0000)
>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>> 0x06ad0000)
>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>>
> 0x03110000)
>
>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>> 0x0aad0000)
>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>>
> 0x072d0000)
>
>> No shared spaces configured.
>>
>> Dynamic libraries:
>> 0x00400000 - 0x0040c000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>> 0x6d6e0000 - 0x6d874000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>
> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>
>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>> 0x6d370000 - 0x6d38d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>
> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>
>> 0x6d200000 - 0x6d22f000 C:\Program
>>
> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>
>> 0x6d430000 - 0x6d44f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>> 0x10000000 - 0x10005000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>> 0x0b350000 - 0x0b44d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>> 0x6d070000 - 0x6d1d7000 C:\Program
>>
> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>
>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>
>> VM Arguments:
>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>> Launcher Type: SUN_STANDARD
>>
>> Environment Variables:
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>>
>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
>> C:\pwlib\include; C:\Program
>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>
> Files\Common
>
>> Files\GTK\2.0\bin;C:\Program Files\SSH Communications Security\SSH Secure
>> Shell
>> USERNAME=Aaron Bruegl
>> OS=Windows_NT
>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>
>>
>>
>> --------------- S Y S T E M ---------------
>>
>> OS: Windows XP Build 2600 Service Pack 2
>>
>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>
>> Memory: 4k page, physical 2096124k(1239176k free), swap 4039232k(3305236k
>> free)
>>
>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built
>>
> on
>
>> Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>
>>
>> Brian Burkhalter wrote:
>>
>>> Which version? Did you try the latest nightly build?
>>>
>>> Brian
>>>
>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>
>>>
>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>>
> ImageIO
>
>>>> I have encountered this brutal error. I have tested in Linux and Windows
>>>> and the JVM does indeed crash. I guess I don't need to say but this is
>>>> *critical* for me, as I will have to abort use of the JAI ImageIO tools
>>>>
> :(
>
>>>> I am on version 1.1-alpha and using JDK 1.5.0_06.
>>>>
>>>> I can submit the offending tiff, but I need to find one first that does
>>>> not contain any patient healthcare information. JVM crashes hurt my
>>>> feelings so...
>>>>
>>>>
>>>> *Error* on Linux:
>>>> *** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***
>>>>
>>>> *Error* on Windows:
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
>>>> tid=3336
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>> # Problematic frame:
>>>> # C [ntdll.dll+0x10f29]
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0007f620)
>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>
>>>> Instructions: (pc=0x7c910f29)
>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>
>>>>
>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>
> C=native
>
>>>> code)
>>>> C [ntdll.dll+0x10f29]
>>>> C [ntdll.dll+0x10d5c]
>>>> C [MSVCRT.dll+0x1c2de]
>>>> V [jvm.dll+0xd5f69]
>>>> C [clib_jiio.dll+0x1acd]
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>> j
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>> v ~StubRoutines::call_stub
>>>> V [jvm.dll+0x845a9]
>>>> V [jvm.dll+0xd9317]
>>>> V [jvm.dll+0x8447a]
>>>> V [jvm.dll+0x8b44a]
>>>> C [java.exe+0x14c5]
>>>> C [java.exe+0x64dd]
>>>> C [kernel32.dll+0x16d4f]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>> j
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>> v ~StubRoutines::call_stub
>>>>
>>>> --------------- P R O C E S S ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>>> id=2840]
>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>> id=2744]
>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>> id=3288]
>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>
>>>> Other Threads:
>>>> 0x00a835c8 VMThread [id=908]
>>>> 0x00a90370 WatcherThread [id=2852]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>> 0x02fb0000)
>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>> tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
>>>> 0x06ad0000)
>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>> 0x03110000)
>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
>>>> 0x0aad0000)
>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>> 0x072d0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040c000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>> 0x10000000 - 0x100ed000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>
>>>> VM Arguments:
>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>> Launcher Type: SUN_STANDARD
>>>>
>>>> Environment Variables:
>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>
>>>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
>>>> C:\pwlib\include; C:\Program
>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>> Security\SSH Secure Shell
>>>> USERNAME=Aaron Bruegl
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>
>>>>
>>>>
>>>> --------------- S Y S T E M ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>
>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>
>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>>
> 4039232k(3186268k
>
>>>> free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>>
> built
>
>>>> on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>
>>>> --
>>>> Aaron Bruegl
>>>> 414.220.4295 x306 [office]
>>>> 8306 [IP Phone]
>>>> 1.208.415.0506 [External IP Phone]
>>>>
>>>> Software Engineer
>>>> Nighthawk Radiology Services
>>>> 223 N. Water Street
>>>> Suite 200
>>>> Milwaukee, WI 53202
>>>>
>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>>
> contains
>
>>>> information from NightHawk Radiology Services, which may be confidential
>>>> or privileged. The information is intended to be for the use of the
>>>> individual or entity named above. If you are not the intended recipient,
>>>> be aware that any disclosure, copying, distribution or use of the
>>>>
> contents
>
>>>> of this information is prohibited. If you have received this email in
>>>> error, please notify NightHawk Radiology Services immediately by
>>>> forwarding message to abruegl@nighthawkrad.net and destroy all
>>>>
> electronic
>
>>>> and hard copies of the communication, including attachments.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>>>
>>> ----------------
>>> Brian Burkhalter
>>> Java Media, Imaging, and Graphics
>>> Sun Microsystems, Inc.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> This email message is for the sole use of the intended recipient(s)
>>> and may contain confidential and privileged information. Any
>>> unauthorized review, use, disclosure or distribution is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply email and destroy all copies of the original message.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>> --
>> Aaron Bruegl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>>
>
> ----------------
> Brian Burkhalter
> Java Media, Imaging, and Graphics
> Sun Microsystems, Inc.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Robert Engels

It is using the G3FaxDecoder? What is the G3, I am only familiar with the
G4?

-----Original Message-----
From: Brian.Burkhalter@Sun.COM [mailto:Brian.Burkhalter@Sun.COM]
Sent: Thursday, May 04, 2006 6:40 PM
To: interest@jai-imageio.dev.java.net
Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!

What happens if you disable the native libraries?

Brian

On Thu, 4 May 2006, Aaron Bruegl wrote:

> Just did with the latest build:
> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>
> Resulted in the same error below:
>
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=3740,
> tid=3876
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # C [ntdll.dll+0x10f29]
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>
> Registers:
> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
> EIP=0x7c910f29, EFLAGS=0x00010246
>
> Top of Stack: (sp=0x0007f620)
> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>
> Instructions: (pc=0x7c910f29)
> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>
>
> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C [ntdll.dll+0x10f29]
> C [ntdll.dll+0x10d5c]
> C [MSVCRT.dll+0x1c2de]
> V [jvm.dll+0xd5f69]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
> J
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
> v ~OSRAdapter
> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
> j
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
> j
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
> j
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
> j
net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
> v ~StubRoutines::call_stub
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=760]
> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3012]
> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=3008]
> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
id=3688]
> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>
> Other Threads:
> 0x00a835c8 VMThread [id=1568]
> 0x00a90378 WatcherThread [id=4016]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
> 0x02fb0000)
> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
> 0x06ad0000)
> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
0x03110000)
> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
> 0x0aad0000)
> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
0x072d0000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x0040c000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.exe
> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
> 0x6d6e0000 - 0x6d874000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
> 0x6d2f0000 - 0x6d2f8000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
> 0x6d6b0000 - 0x6d6bc000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
> 0x6d370000 - 0x6d38d000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.dll
> 0x6d6d0000 - 0x6d6df000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\zip.dll
> 0x6d200000 - 0x6d22f000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
> 0x6d430000 - 0x6d44f000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
> 0x10000000 - 0x10005000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
> 0x0b350000 - 0x0b44d000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
> 0x6d070000 - 0x6d1d7000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\awt.dll
> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>
> VM Arguments:
> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
> Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
> C:\pwlib\include; C:\Program
> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
Files\Common
> Files\GTK\2.0\bin;C:\Program Files\SSH Communications Security\SSH Secure
> Shell
> USERNAME=Aaron Bruegl
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>
>
>
> --------------- S Y S T E M ---------------
>
> OS: Windows XP Build 2600 Service Pack 2
>
> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>
> Memory: 4k page, physical 2096124k(1239176k free), swap 4039232k(3305236k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built
on
> Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>
>
> Brian Burkhalter wrote:
>> Which version? Did you try the latest nightly build?
>>
>> Brian
>>
>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>
>>> Nearing completion of converting my reading of tiff's from JAI to
ImageIO
>>> I have encountered this brutal error. I have tested in Linux and Windows
>>> and the JVM does indeed crash. I guess I don't need to say but this is
>>> *critical* for me, as I will have to abort use of the JAI ImageIO tools
:(
>>> I am on version 1.1-alpha and using JDK 1.5.0_06.
>>>
>>> I can submit the offending tiff, but I need to find one first that does
>>> not contain any patient healthcare information. JVM crashes hurt my
>>> feelings so...
>>>
>>>
>>> *Error* on Linux:
>>> *** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***
>>>
>>> *Error* on Windows:
>>> #
>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>> #
>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
>>> tid=3336
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>> # Problematic frame:
>>> # C [ntdll.dll+0x10f29]
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]
>>>
>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>
>>> Registers:
>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>
>>> Top of Stack: (sp=0x0007f620)
>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>
>>> Instructions: (pc=0x7c910f29)
>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>
>>>
>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native
>>> code)
>>> C [ntdll.dll+0x10f29]
>>> C [ntdll.dll+0x10d5c]
>>> C [MSVCRT.dll+0x1c2de]
>>> V [jvm.dll+0xd5f69]
>>> C [clib_jiio.dll+0x1acd]
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>> j
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>> V [jvm.dll+0x845a9]
>>> V [jvm.dll+0xd9317]
>>> V [jvm.dll+0x8447a]
>>> V [jvm.dll+0x8b44a]
>>> C [java.exe+0x14c5]
>>> C [java.exe+0x64dd]
>>> C [kernel32.dll+0x16d4f]
>>>
>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>> j
>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>>
>>> --------------- P R O C E S S ---------------
>>>
>>> Java Threads: ( => current thread )
>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>> id=2840]
>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>> id=2744]
>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>> id=3288]
>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>
>>> Other Threads:
>>> 0x00a835c8 VMThread [id=908]
>>> 0x00a90370 WatcherThread [id=2852]
>>>
>>> VM state:not at safepoint (normal execution)
>>>
>>> VM Mutex/Monitor currently owned by a thread: None
>>>
>>> Heap
>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>> 0x02fb0000)
>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>> tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
>>> 0x06ad0000)
>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>> 0x03110000)
>>> compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
>>> 0x0aad0000)
>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>> 0x072d0000)
>>> No shared spaces configured.
>>>
>>> Dynamic libraries:
>>> 0x00400000 - 0x0040c000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>> 0x6d370000 - 0x6d38d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>> 0x6d200000 - 0x6d22f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>> 0x6d430000 - 0x6d44f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>> 0x10000000 - 0x100ed000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>
>>> VM Arguments:
>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>> Launcher Type: SUN_STANDARD
>>>
>>> Environment Variables:
>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
>>> C:\pwlib\include; C:\Program
>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>> Security\SSH Secure Shell
>>> USERNAME=Aaron Bruegl
>>> OS=Windows_NT
>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>
>>>
>>>
>>> --------------- S Y S T E M ---------------
>>>
>>> OS: Windows XP Build 2600 Service Pack 2
>>>
>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>
>>> Memory: 4k page, physical 2096124k(1153852k free), swap
4039232k(3186268k
>>> free)
>>>
>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
built
>>> on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>
>>> --
>>> Aaron Bruegl
>>> 414.220.4295 x306 [office]
>>> 8306 [IP Phone]
>>> 1.208.415.0506 [External IP Phone]
>>>
>>> Software Engineer
>>> Nighthawk Radiology Services
>>> 223 N. Water Street
>>> Suite 200
>>> Milwaukee, WI 53202
>>>
>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
contains
>>> information from NightHawk Radiology Services, which may be confidential
>>> or privileged. The information is intended to be for the use of the
>>> individual or entity named above. If you are not the intended recipient,
>>> be aware that any disclosure, copying, distribution or use of the
contents
>>> of this information is prohibited. If you have received this email in
>>> error, please notify NightHawk Radiology Services immediately by
>>> forwarding message to abruegl@nighthawkrad.net and destroy all
electronic
>>> and hard copies of the communication, including attachments.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>
>> ----------------
>> Brian Burkhalter
>> Java Media, Imaging, and Graphics
>> Sun Microsystems, Inc.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> This email message is for the sole use of the intended recipient(s)
>> and may contain confidential and privileged information. Any
>> unauthorized review, use, disclosure or distribution is prohibited.
>> If you are not the intended recipient, please contact the sender by
>> reply email and destroy all copies of the original message.
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>
>
> --
> Aaron Bruegl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

James Cheng

> It is using the G3FaxDecoder? What is the G3, I am only familiar with the
> G4?

G3 = ITU T.4
G4 = ITU T.6

> Yes it is corrupt - I get thousands of tiffs a day and some are corrupt
> and I need to handle that. My JAI code previously did just throw and
> Exception - but with ImageIO the JVM dies.

JAI TIFF reader doesn't use native acceleration, while JAI Image I/O Tools
TIFF reader might use native acceleration.

Can tiffcp fix the corrupt file?

Thanks,
-James

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

Good suggestion, tiffcp fixed it and gave this warning:
Fax3Decode1D: Warning, err.tif: Line length mismatch at scanline 0 (got
2303, expected 1728).

>
> JAI TIFF reader doesn't use native acceleration, while JAI Image I/O Tools
> TIFF reader might use native acceleration.
>
> Can tiffcp fix the corrupt file?
>
> Thanks,
> -James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Brian Burkhalter

Which version? Did you try the latest nightly build?

Brian

On Thu, 4 May 2006, Aaron Bruegl wrote:

> Nearing completion of converting my reading of tiff's from JAI to ImageIO I
> have encountered this brutal error. I have tested in Linux and Windows and
> the JVM does indeed crash. I guess I don't need to say but this is *critical*
> for me, as I will have to abort use of the JAI ImageIO tools :( I am on
> version 1.1-alpha and using JDK 1.5.0_06.
>
> I can submit the offending tiff, but I need to find one first that does not
> contain any patient healthcare information. JVM crashes hurt my feelings
> so...
>
>
> *Error* on Linux:
> *** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***
>
> *Error* on Windows:
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
> tid=3336
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # C [ntdll.dll+0x10f29]
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>
> Registers:
> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
> EIP=0x7c910f29, EFLAGS=0x00010246
>
> Top of Stack: (sp=0x0007f620)
> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>
> Instructions: (pc=0x7c910f29)
> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>
>
> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C [ntdll.dll+0x10f29]
> C [ntdll.dll+0x10d5c]
> C [MSVCRT.dll+0x1c2de]
> V [jvm.dll+0xd5f69]
> C [clib_jiio.dll+0x1acd]
> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
> J
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
> v ~OSRAdapter
> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
> j
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
> j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
> v ~StubRoutines::call_stub
> V [jvm.dll+0x845a9]
> V [jvm.dll+0xd9317]
> V [jvm.dll+0x8447a]
> V [jvm.dll+0x8b44a]
> C [java.exe+0x14c5]
> C [java.exe+0x64dd]
> C [kernel32.dll+0x16d4f]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
> J
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
> v ~OSRAdapter
> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
> j
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
> j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
> v ~StubRoutines::call_stub
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
> id=2840]
> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2744]
> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3288]
> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>
> Other Threads:
> 0x00a835c8 VMThread [id=908]
> 0x00a90370 WatcherThread [id=2852]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
> 0x02fb0000)
> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
> tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
> 0x06ad0000)
> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00, 0x03110000)
> compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
> 0x0aad0000)
> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000, 0x072d0000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x0040c000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.exe
> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
> 0x6d6e0000 - 0x6d874000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
> 0x6d2f0000 - 0x6d2f8000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
> 0x6d6b0000 - 0x6d6bc000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
> 0x6d370000 - 0x6d38d000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.dll
> 0x6d6d0000 - 0x6d6df000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\zip.dll
> 0x6d200000 - 0x6d22f000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
> 0x6d430000 - 0x6d44f000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
> 0x10000000 - 0x100ed000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
> 0x6d070000 - 0x6d1d7000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\awt.dll
> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>
> VM Arguments:
> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
> Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
> C:\pwlib\include; C:\Program
> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program Files\Common
> Files\GTK\2.0\bin;C:\Program Files\SSH Communications Security\SSH Secure
> Shell
> USERNAME=Aaron Bruegl
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>
>
>
> --------------- S Y S T E M ---------------
>
> OS: Windows XP Build 2600 Service Pack 2
>
> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>
> Memory: 4k page, physical 2096124k(1153852k free), swap 4039232k(3186268k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on
> Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>
> --
> Aaron Bruegl
> 414.220.4295 x306 [office]
> 8306 [IP Phone]
> 1.208.415.0506 [External IP Phone]
>
> Software Engineer
> Nighthawk Radiology Services
> 223 N. Water Street
> Suite 200
> Milwaukee, WI 53202
>
> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
> information from NightHawk Radiology Services, which may be confidential or
> privileged. The information is intended to be for the use of the individual
> or entity named above. If you are not the intended recipient, be aware that
> any disclosure, copying, distribution or use of the contents of this
> information is prohibited. If you have received this email in error, please
> notify NightHawk Radiology Services immediately by forwarding message to
> abruegl@nighthawkrad.net and destroy all electronic and hard copies of the
> communication, including attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

Just did with the latest build:
jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip

Resulted in the same error below:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=3740,
tid=3876
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x10f29]
#

--------------- T H R E A D ---------------

Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
EIP=0x7c910f29, EFLAGS=0x00010246

Top of Stack: (sp=0x0007f620)
0x0007f620: 00030000 0b0c1000 00000000 0007f700
0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
0x0007f650: 00000000 0007f728 0b0b2000 009b0000
0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
0x0007f670: 009b0e58 009b0e58 00000000 00000002
0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8

Instructions: (pc=0x7c910f29)
0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8

Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C [ntdll.dll+0x10f29]
C [ntdll.dll+0x10d5c]
C [MSVCRT.dll+0x1c2de]
V [jvm.dll+0xd5f69]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
J
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
v ~OSRAdapter
j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
j
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
j
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=760]
0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3012]
0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=3008]
0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
id=3688]
=>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]

Other Threads:
0x00a835c8 VMThread [id=1568]
0x00a90378 WatcherThread [id=4016]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
0x02fb0000)
eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
0x06ad0000)
the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
0x03110000)
compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
0x0aad0000)
the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
0x072d0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d6e0000 - 0x6d874000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d6b0000 - 0x6d6bc000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\zip.dll
0x6d200000 - 0x6d22f000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
0x6d430000 - 0x6d44f000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
0x10000000 - 0x10005000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
0x0b350000 - 0x0b44d000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
0x6d070000 - 0x6d1d7000 C:\Program
Files\Java\jdk1.5.0_06\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll

VM Arguments:
java_command: net.nighthawk.ifd.common.util.ReadWriteAll
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
Files\Java\javamail-1.3.2\mail.jar
PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
Files\Java\jaf-1.0.2\activation.jar; C:\Program
Files\Java\javamail-1.3.2\mail.jar
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
C:\pwlib\include; C:\Program
Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
Security\SSH Secure Shell
USERNAME=Aaron Bruegl
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2096124k(1239176k free), swap
4039232k(3305236k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0

Brian Burkhalter wrote:
> Which version? Did you try the latest nightly build?
>
> Brian
>
> On Thu, 4 May 2006, Aaron Bruegl wrote:
>
>> Nearing completion of converting my reading of tiff's from JAI to
>> ImageIO I have encountered this brutal error. I have tested in Linux
>> and Windows and the JVM does indeed crash. I guess I don't need to
>> say but this is *critical* for me, as I will have to abort use of the
>> JAI ImageIO tools :( I am on version 1.1-alpha and using JDK 1.5.0_06.
>>
>> I can submit the offending tiff, but I need to find one first that
>> does not contain any patient healthcare information. JVM crashes hurt
>> my feelings so...
>>
>>
>> *Error* on Linux:
>> *** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***
>>
>> *Error* on Windows:
>> #
>> # An unexpected error has been detected by HotSpot Virtual Machine:
>> #
>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
>> tid=3336
>> #
>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>> # Problematic frame:
>> # C [ntdll.dll+0x10f29]
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]
>>
>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>
>> Registers:
>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>> EIP=0x7c910f29, EFLAGS=0x00010246
>>
>> Top of Stack: (sp=0x0007f620)
>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>
>> Instructions: (pc=0x7c910f29)
>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>
>>
>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C [ntdll.dll+0x10f29]
>> C [ntdll.dll+0x10d5c]
>> C [MSVCRT.dll+0x1c2de]
>> V [jvm.dll+0xd5f69]
>> C [clib_jiio.dll+0x1acd]
>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>> J
>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>
>> v ~OSRAdapter
>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>> v ~StubRoutines::call_stub
>> V [jvm.dll+0x845a9]
>> V [jvm.dll+0xd9317]
>> V [jvm.dll+0x8447a]
>> V [jvm.dll+0x8b44a]
>> C [java.exe+0x14c5]
>> C [java.exe+0x64dd]
>> C [kernel32.dll+0x16d4f]
>>
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>> J
>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>
>> v ~OSRAdapter
>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>> v ~StubRoutines::call_stub
>>
>> --------------- P R O C E S S ---------------
>>
>> Java Threads: ( => current thread )
>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>> id=2840]
>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>> id=2744]
>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>> id=3288]
>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>
>> Other Threads:
>> 0x00a835c8 VMThread [id=908]
>> 0x00a90370 WatcherThread [id=2852]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>> 0x02fb0000)
>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>> tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
>> 0x06ad0000)
>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>> 0x03110000)
>> compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
>> 0x0aad0000)
>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>> 0x072d0000)
>> No shared spaces configured.
>>
>> Dynamic libraries:
>> 0x00400000 - 0x0040c000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>> 0x6d6e0000 - 0x6d874000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>> 0x6d370000 - 0x6d38d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>> 0x6d6d0000 - 0x6d6df000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>> 0x6d200000 - 0x6d22f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>> 0x6d430000 - 0x6d44f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>> 0x10000000 - 0x100ed000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>> 0x6d070000 - 0x6d1d7000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>
>> VM Arguments:
>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>> Launcher Type: SUN_STANDARD
>>
>> Environment Variables:
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>> Security\SSH Secure Shell
>> USERNAME=Aaron Bruegl
>> OS=Windows_NT
>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>
>>
>>
>> --------------- S Y S T E M ---------------
>>
>> OS: Windows XP Build 2600 Service Pack 2
>>
>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>
>> Memory: 4k page, physical 2096124k(1153852k free), swap
>> 4039232k(3186268k free)
>>
>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>
>> --
>> Aaron Bruegl
>> 414.220.4295 x306 [office]
>> 8306 [IP Phone]
>> 1.208.415.0506 [External IP Phone]
>>
>> Software Engineer
>> Nighthawk Radiology Services
>> 223 N. Water Street
>> Suite 200
>> Milwaukee, WI 53202
>>
>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>> contains information from NightHawk Radiology Services, which may be
>> confidential or privileged. The information is intended to be for the
>> use of the individual or entity named above. If you are not the
>> intended recipient, be aware that any disclosure, copying,
>> distribution or use of the contents of this information is
>> prohibited. If you have received this email in error, please notify
>> NightHawk Radiology Services immediately by forwarding message to
>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>> of the communication, including attachments.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>
> ----------------
> Brian Burkhalter
> Java Media, Imaging, and Graphics
> Sun Microsystems, Inc.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Brian Burkhalter

What happens if you disable the native libraries?

Brian

On Thu, 4 May 2006, Aaron Bruegl wrote:

> Just did with the latest build:
> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>
> Resulted in the same error below:
>
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=3740,
> tid=3876
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # C [ntdll.dll+0x10f29]
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>
> Registers:
> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
> EIP=0x7c910f29, EFLAGS=0x00010246
>
> Top of Stack: (sp=0x0007f620)
> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>
> Instructions: (pc=0x7c910f29)
> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>
>
> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C [ntdll.dll+0x10f29]
> C [ntdll.dll+0x10d5c]
> C [MSVCRT.dll+0x1c2de]
> V [jvm.dll+0xd5f69]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
> J
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
> v ~OSRAdapter
> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
> j
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
> j
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
> j net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
> v ~StubRoutines::call_stub
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=760]
> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3012]
> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3008]
> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3688]
> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>
> Other Threads:
> 0x00a835c8 VMThread [id=1568]
> 0x00a90378 WatcherThread [id=4016]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
> 0x02fb0000)
> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
> 0x06ad0000)
> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00, 0x03110000)
> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
> 0x0aad0000)
> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00, 0x072d0000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x0040c000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.exe
> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
> 0x6d6e0000 - 0x6d874000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
> 0x6d2f0000 - 0x6d2f8000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
> 0x6d6b0000 - 0x6d6bc000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
> 0x6d370000 - 0x6d38d000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\java.dll
> 0x6d6d0000 - 0x6d6df000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\zip.dll
> 0x6d200000 - 0x6d22f000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
> 0x6d430000 - 0x6d44f000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
> 0x10000000 - 0x10005000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
> 0x0b350000 - 0x0b44d000 C:\Program
> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
> 0x6d070000 - 0x6d1d7000 C:\Program Files\Java\jdk1.5.0_06\jre\bin\awt.dll
> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>
> VM Arguments:
> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
> Files\Java\jaf-1.0.2\activation.jar; C:\Program
> Files\Java\javamail-1.3.2\mail.jar
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
> C:\pwlib\include; C:\Program
> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program Files\Common
> Files\GTK\2.0\bin;C:\Program Files\SSH Communications Security\SSH Secure
> Shell
> USERNAME=Aaron Bruegl
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>
>
>
> --------------- S Y S T E M ---------------
>
> OS: Windows XP Build 2600 Service Pack 2
>
> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>
> Memory: 4k page, physical 2096124k(1239176k free), swap 4039232k(3305236k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on
> Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>
>
> Brian Burkhalter wrote:
>> Which version? Did you try the latest nightly build?
>>
>> Brian
>>
>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>
>>> Nearing completion of converting my reading of tiff's from JAI to ImageIO
>>> I have encountered this brutal error. I have tested in Linux and Windows
>>> and the JVM does indeed crash. I guess I don't need to say but this is
>>> *critical* for me, as I will have to abort use of the JAI ImageIO tools :(
>>> I am on version 1.1-alpha and using JDK 1.5.0_06.
>>>
>>> I can submit the offending tiff, but I need to find one first that does
>>> not contain any patient healthcare information. JVM crashes hurt my
>>> feelings so...
>>>
>>>
>>> *Error* on Linux:
>>> *** glibc detected *** double free or corruption (!prev): 0x081a0d10 ***
>>>
>>> *Error* on Windows:
>>> #
>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>> #
>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29, pid=760,
>>> tid=3336
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>> # Problematic frame:
>>> # C [ntdll.dll+0x10f29]
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3336]
>>>
>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>
>>> Registers:
>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>
>>> Top of Stack: (sp=0x0007f620)
>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>
>>> Instructions: (pc=0x7c910f29)
>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>
>>>
>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
>>> code)
>>> C [ntdll.dll+0x10f29]
>>> C [ntdll.dll+0x10d5c]
>>> C [MSVCRT.dll+0x1c2de]
>>> V [jvm.dll+0xd5f69]
>>> C [clib_jiio.dll+0x1acd]
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>> j
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>> V [jvm.dll+0x845a9]
>>> V [jvm.dll+0xd9317]
>>> V [jvm.dll+0x8447a]
>>> V [jvm.dll+0x8b44a]
>>> C [java.exe+0x14c5]
>>> C [java.exe+0x64dd]
>>> C [kernel32.dll+0x16d4f]
>>>
>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>> j
>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>>
>>> --------------- P R O C E S S ---------------
>>>
>>> Java Threads: ( => current thread )
>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>> id=2840]
>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=372]
>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>> id=2744]
>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>> id=3288]
>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>
>>> Other Threads:
>>> 0x00a835c8 VMThread [id=908]
>>> 0x00a90370 WatcherThread [id=2852]
>>>
>>> VM state:not at safepoint (normal execution)
>>>
>>> VM Mutex/Monitor currently owned by a thread: None
>>>
>>> Heap
>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>> 0x02fb0000)
>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>> tenured generation total 1408K, used 367K [0x02fb0000, 0x03110000,
>>> 0x06ad0000)
>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>> 0x03110000)
>>> compacting perm gen total 8192K, used 4091K [0x06ad0000, 0x072d0000,
>>> 0x0aad0000)
>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>> 0x072d0000)
>>> No shared spaces configured.
>>>
>>> Dynamic libraries:
>>> 0x00400000 - 0x0040c000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>> 0x6d370000 - 0x6d38d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>> 0x6d200000 - 0x6d22f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>> 0x6d430000 - 0x6d44f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>> 0x10000000 - 0x100ed000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>
>>> VM Arguments:
>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>> Launcher Type: SUN_STANDARD
>>>
>>> Environment Variables:
>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib; C:\OpenH323\Lib;
>>> C:\pwlib\include; C:\Program
>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>> Security\SSH Secure Shell
>>> USERNAME=Aaron Bruegl
>>> OS=Windows_NT
>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>
>>>
>>>
>>> --------------- S Y S T E M ---------------
>>>
>>> OS: Windows XP Build 2600 Service Pack 2
>>>
>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>
>>> Memory: 4k page, physical 2096124k(1153852k free), swap 4039232k(3186268k
>>> free)
>>>
>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built
>>> on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>
>>> --
>>> Aaron Bruegl
>>> 414.220.4295 x306 [office]
>>> 8306 [IP Phone]
>>> 1.208.415.0506 [External IP Phone]
>>>
>>> Software Engineer
>>> Nighthawk Radiology Services
>>> 223 N. Water Street
>>> Suite 200
>>> Milwaukee, WI 53202
>>>
>>> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
>>> information from NightHawk Radiology Services, which may be confidential
>>> or privileged. The information is intended to be for the use of the
>>> individual or entity named above. If you are not the intended recipient,
>>> be aware that any disclosure, copying, distribution or use of the contents
>>> of this information is prohibited. If you have received this email in
>>> error, please notify NightHawk Radiology Services immediately by
>>> forwarding message to abruegl@nighthawkrad.net and destroy all electronic
>>> and hard copies of the communication, including attachments.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>
>> ----------------
>> Brian Burkhalter
>> Java Media, Imaging, and Graphics
>> Sun Microsystems, Inc.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> This email message is for the sole use of the intended recipient(s)
>> and may contain confidential and privileged information. Any
>> unauthorized review, use, disclosure or distribution is prohibited.
>> If you are not the intended recipient, please contact the sender by
>> reply email and destroy all copies of the original message.
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>
>
> --
> Aaron Bruegl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

init:
deps-jar:
compile-single:
run-single:
121895
java.lang.ArrayIndexOutOfBoundsException: 121895
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFaxDecompressor.java:1204)
Exception in thread "main" java.lang.NullPointerException
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanline(TIFFFaxDecompressor.java:798)
at java.io.FileOutputStream.write(FileOutputStream.java:247)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxDecompressor.java:965)
at
net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFaxDecompressor.java:676)
at
com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2514)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1132)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1412)
at javax.imageio.ImageReader.read(ImageReader.java:923)
at
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
at
net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

Brian Burkhalter wrote:
> What happens if you disable the native libraries?
>
> Brian
>
> On Thu, 4 May 2006, Aaron Bruegl wrote:
>
>> Just did with the latest build:
>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>
>> Resulted in the same error below:
>>
>>
>> #
>> # An unexpected error has been detected by HotSpot Virtual Machine:
>> #
>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>> pid=3740, tid=3876
>> #
>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>> # Problematic frame:
>> # C [ntdll.dll+0x10f29]
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>
>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>
>> Registers:
>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>> EIP=0x7c910f29, EFLAGS=0x00010246
>>
>> Top of Stack: (sp=0x0007f620)
>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>
>> Instructions: (pc=0x7c910f29)
>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>
>>
>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C [ntdll.dll+0x10f29]
>> C [ntdll.dll+0x10d5c]
>> C [MSVCRT.dll+0x1c2de]
>> V [jvm.dll+0xd5f69]
>>
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>> J
>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>
>> v ~OSRAdapter
>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>
>> j
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>>
>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>> v ~StubRoutines::call_stub
>>
>> --------------- P R O C E S S ---------------
>>
>> Java Threads: ( => current thread )
>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>> id=760]
>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>> id=3012]
>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>> id=3008]
>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>> id=3688]
>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>
>> Other Threads:
>> 0x00a835c8 VMThread [id=1568]
>> 0x00a90378 WatcherThread [id=4016]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>> 0x02fb0000)
>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>> 0x06ad0000)
>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>> 0x03110000)
>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>> 0x0aad0000)
>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>> 0x072d0000)
>> No shared spaces configured.
>>
>> Dynamic libraries:
>> 0x00400000 - 0x0040c000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>> 0x6d6e0000 - 0x6d874000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>> 0x6d370000 - 0x6d38d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>> 0x6d6d0000 - 0x6d6df000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>> 0x6d200000 - 0x6d22f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>> 0x6d430000 - 0x6d44f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>> 0x10000000 - 0x10005000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>> 0x0b350000 - 0x0b44d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>> 0x6d070000 - 0x6d1d7000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>
>> VM Arguments:
>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>> Launcher Type: SUN_STANDARD
>>
>> Environment Variables:
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>> Security\SSH Secure Shell
>> USERNAME=Aaron Bruegl
>> OS=Windows_NT
>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>
>>
>>
>> --------------- S Y S T E M ---------------
>>
>> OS: Windows XP Build 2600 Service Pack 2
>>
>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>
>> Memory: 4k page, physical 2096124k(1239176k free), swap
>> 4039232k(3305236k free)
>>
>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>
>>
>> Brian Burkhalter wrote:
>>> Which version? Did you try the latest nightly build?
>>>
>>> Brian
>>>
>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>
>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>> ImageIO I have encountered this brutal error. I have tested in
>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>> need to say but this is *critical* for me, as I will have to abort
>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>> JDK 1.5.0_06.
>>>>
>>>> I can submit the offending tiff, but I need to find one first that
>>>> does not contain any patient healthcare information. JVM crashes
>>>> hurt my feelings so...
>>>>
>>>>
>>>> *Error* on Linux:
>>>> *** glibc detected *** double free or corruption (!prev):
>>>> 0x081a0d10 ***
>>>>
>>>> *Error* on Windows:
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>> pid=760, tid=3336
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>> # Problematic frame:
>>>> # C [ntdll.dll+0x10f29]
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>> id=3336]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0007f620)
>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>
>>>> Instructions: (pc=0x7c910f29)
>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>
>>>>
>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>> C=native code)
>>>> C [ntdll.dll+0x10f29]
>>>> C [ntdll.dll+0x10d5c]
>>>> C [MSVCRT.dll+0x1c2de]
>>>> V [jvm.dll+0xd5f69]
>>>> C [clib_jiio.dll+0x1acd]
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>>> j
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>>
>>>> v ~StubRoutines::call_stub
>>>> V [jvm.dll+0x845a9]
>>>> V [jvm.dll+0xd9317]
>>>> V [jvm.dll+0x8447a]
>>>> V [jvm.dll+0x8b44a]
>>>> C [java.exe+0x14c5]
>>>> C [java.exe+0x64dd]
>>>> C [kernel32.dll+0x16d4f]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw([BIII)V
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>>> j
>>>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Ljava/lang/String;)Ljava/util/ArrayList;+62
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>>
>>>> v ~StubRoutines::call_stub
>>>>
>>>> --------------- P R O C E S S ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>> [_thread_blocked, id=2840]
>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>> id=372]
>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>> id=2744]
>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>> id=3288]
>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>
>>>> Other Threads:
>>>> 0x00a835c8 VMThread [id=908]
>>>> 0x00a90370 WatcherThread [id=2852]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>> 0x02fb0000)
>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>> 0x03110000, 0x06ad0000)
>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>> 0x03110000)
>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>> 0x072d0000, 0x0aad0000)
>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>> 0x072d0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040c000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>> 0x10000000 - 0x100ed000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>
>>>> VM Arguments:
>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>> Launcher Type: SUN_STANDARD
>>>>
>>>> Environment Variables:
>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>> Security\SSH Secure Shell
>>>> USERNAME=Aaron Bruegl
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>
>>>>
>>>>
>>>> --------------- S Y S T E M ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>
>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>
>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>> 4039232k(3186268k free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>
>>>> --
>>>> Aaron Bruegl
>>>> 414.220.4295 x306 [office]
>>>> 8306 [IP Phone]
>>>> 1.208.415.0506 [External IP Phone]
>>>>
>>>> Software Engineer
>>>> Nighthawk Radiology Services
>>>> 223 N. Water Street
>>>> Suite 200
>>>> Milwaukee, WI 53202
>>>>
>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>> contains information from NightHawk Radiology Services, which may
>>>> be confidential or privileged. The information is intended to be
>>>> for the use of the individual or entity named above. If you are not
>>>> the intended recipient, be aware that any disclosure, copying,
>>>> distribution or use of the contents of this information is
>>>> prohibited. If you have received this email in error, please notify
>>>> NightHawk Radiology Services immediately by forwarding message to
>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>> of the communication, including attachments.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail:
>>>> interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>>
>>> ----------------
>>> Brian Burkhalter
>>> Java Media, Imaging, and Graphics
>>> Sun Microsystems, Inc.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> This email message is for the sole use of the intended recipient(s)
>>> and may contain confidential and privileged information. Any
>>> unauthorized review, use, disclosure or distribution is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply email and destroy all copies of the original message.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>
>>
>> --
>> Aaron Bruegl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>
> ----------------
> Brian Burkhalter
> Java Media, Imaging, and Graphics
> Sun Microsystems, Inc.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

--
Aaron Bruegl
414.220.4295 x306 [office]
8306 [IP Phone]
1.208.415.0506 [External IP Phone]

Software Engineer
Nighthawk Radiology Services
223 N. Water Street
Suite 200
Milwaukee, WI 53202

CONFIDENTIALITY NOTICE: This email, including any attachments, contains information from NightHawk Radiology Services, which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify NightHawk Radiology Services immediately by forwarding message to abruegl@nighthawkrad.net and destroy all electronic and hard copies of the communication, including attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Robert Engels

Are you sure the image is not corrupt?

Did you try using tiffdump or tiffinfo?

-----Original Message-----
From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
Sent: Thursday, May 04, 2006 6:47 PM
To: interest@jai-imageio.dev.java.net
Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!

init:
deps-jar:
compile-single:
run-single:
121895
java.lang.ArrayIndexOutOfBoundsException: 121895
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFa
xDecompressor.java:1204)
Exception in thread "main" java.lang.NullPointerException
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanlin
e(TIFFFaxDecompressor.java:798)
at java.io.FileOutputStream.write(FileOutputStream.java:247)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxD
ecompressor.java:965)
at
net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFax
Decompressor.java:676)
at
com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.
java:2514)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageR
eader.java:1132)
at
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.
java:1412)
at javax.imageio.ImageReader.read(ImageReader.java:923)
at
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
at
net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

Brian Burkhalter wrote:
> What happens if you disable the native libraries?
>
> Brian
>
> On Thu, 4 May 2006, Aaron Bruegl wrote:
>
>> Just did with the latest build:
>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>
>> Resulted in the same error below:
>>
>>
>> #
>> # An unexpected error has been detected by HotSpot Virtual Machine:
>> #
>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>> pid=3740, tid=3876
>> #
>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>> # Problematic frame:
>> # C [ntdll.dll+0x10f29]
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>
>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>
>> Registers:
>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>> EIP=0x7c910f29, EFLAGS=0x00010246
>>
>> Top of Stack: (sp=0x0007f620)
>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>
>> Instructions: (pc=0x7c910f29)
>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>
>>
>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C [ntdll.dll+0x10f29]
>> C [ntdll.dll+0x10d5c]
>> C [MSVCRT.dll+0x1c2de]
>> V [jvm.dll+0xd5f69]
>>
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>> J
>>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
>>
>> v ~OSRAdapter
>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>> j
>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>
>> j
>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>>
>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>> j
>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
>>
>> j
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>> v ~StubRoutines::call_stub
>>
>> --------------- P R O C E S S ---------------
>>
>> Java Threads: ( => current thread )
>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>> id=760]
>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>> id=3012]
>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>> id=3008]
>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>> id=3688]
>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>
>> Other Threads:
>> 0x00a835c8 VMThread [id=1568]
>> 0x00a90378 WatcherThread [id=4016]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>> 0x02fb0000)
>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>> 0x06ad0000)
>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>> 0x03110000)
>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>> 0x0aad0000)
>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>> 0x072d0000)
>> No shared spaces configured.
>>
>> Dynamic libraries:
>> 0x00400000 - 0x0040c000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>> 0x6d6e0000 - 0x6d874000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>> 0x6d370000 - 0x6d38d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>> 0x6d6d0000 - 0x6d6df000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>> 0x6d200000 - 0x6d22f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>> 0x6d430000 - 0x6d44f000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>> 0x10000000 - 0x10005000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>> 0x0b350000 - 0x0b44d000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>> 0x6d070000 - 0x6d1d7000 C:\Program
>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>
>> VM Arguments:
>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>> Launcher Type: SUN_STANDARD
>>
>> Environment Variables:
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>> Files\Java\javamail-1.3.2\mail.jar
>>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>> Security\SSH Secure Shell
>> USERNAME=Aaron Bruegl
>> OS=Windows_NT
>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>
>>
>>
>> --------------- S Y S T E M ---------------
>>
>> OS: Windows XP Build 2600 Service Pack 2
>>
>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>
>> Memory: 4k page, physical 2096124k(1239176k free), swap
>> 4039232k(3305236k free)
>>
>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>
>>
>> Brian Burkhalter wrote:
>>> Which version? Did you try the latest nightly build?
>>>
>>> Brian
>>>
>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>
>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>> ImageIO I have encountered this brutal error. I have tested in
>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>> need to say but this is *critical* for me, as I will have to abort
>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>> JDK 1.5.0_06.
>>>>
>>>> I can submit the offending tiff, but I need to find one first that
>>>> does not contain any patient healthcare information. JVM crashes
>>>> hurt my feelings so...
>>>>
>>>>
>>>> *Error* on Linux:
>>>> *** glibc detected *** double free or corruption (!prev):
>>>> 0x081a0d10 ***
>>>>
>>>> *Error* on Windows:
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>> pid=760, tid=3336
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>> # Problematic frame:
>>>> # C [ntdll.dll+0x10f29]
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>> id=3336]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0007f620)
>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>
>>>> Instructions: (pc=0x7c910f29)
>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>
>>>>
>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>> C=native code)
>>>> C [ntdll.dll+0x10f29]
>>>> C [ntdll.dll+0x10d5c]
>>>> C [MSVCRT.dll+0x1c2de]
>>>> V [jvm.dll+0xd5f69]
>>>> C [clib_jiio.dll+0x1acd]
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>>> j
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
>>>> j
>>>>
net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>>
>>>> v ~StubRoutines::call_stub
>>>> V [jvm.dll+0x845a9]
>>>> V [jvm.dll+0xd9317]
>>>> V [jvm.dll+0x8447a]
>>>> V [jvm.dll+0x8b44a]
>>>> C [java.exe+0x14c5]
>>>> C [java.exe+0x64dd]
>>>> C [kernel32.dll+0x16d4f]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
([BIII)V
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>>>> j
>>>>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
ava/lang/String;)Ljava/util/ArrayList;+62
>>>> j
>>>>
net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>>
>>>> v ~StubRoutines::call_stub
>>>>
>>>> --------------- P R O C E S S ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>> [_thread_blocked, id=2840]
>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>> id=372]
>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>> id=2744]
>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>> id=3288]
>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>
>>>> Other Threads:
>>>> 0x00a835c8 VMThread [id=908]
>>>> 0x00a90370 WatcherThread [id=2852]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>> 0x02fb0000)
>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>> 0x03110000, 0x06ad0000)
>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>> 0x03110000)
>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>> 0x072d0000, 0x0aad0000)
>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>> 0x072d0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040c000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>> 0x10000000 - 0x100ed000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>
>>>> VM Arguments:
>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>> Launcher Type: SUN_STANDARD
>>>>
>>>> Environment Variables:
>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>> Security\SSH Secure Shell
>>>> USERNAME=Aaron Bruegl
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>
>>>>
>>>>
>>>> --------------- S Y S T E M ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>
>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>
>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>> 4039232k(3186268k free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>
>>>> --
>>>> Aaron Bruegl
>>>> 414.220.4295 x306 [office]
>>>> 8306 [IP Phone]
>>>> 1.208.415.0506 [External IP Phone]
>>>>
>>>> Software Engineer
>>>> Nighthawk Radiology Services
>>>> 223 N. Water Street
>>>> Suite 200
>>>> Milwaukee, WI 53202
>>>>
>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>> contains information from NightHawk Radiology Services, which may
>>>> be confidential or privileged. The information is intended to be
>>>> for the use of the individual or entity named above. If you are not
>>>> the intended recipient, be aware that any disclosure, copying,
>>>> distribution or use of the contents of this information is
>>>> prohibited. If you have received this email in error, please notify
>>>> NightHawk Radiology Services immediately by forwarding message to
>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>> of the communication, including attachments.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail:
>>>> interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>>
>>> ----------------
>>> Brian Burkhalter
>>> Java Media, Imaging, and Graphics
>>> Sun Microsystems, Inc.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> This email message is for the sole use of the intended recipient(s)
>>> and may contain confidential and privileged information. Any
>>> unauthorized review, use, disclosure or distribution is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply email and destroy all copies of the original message.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>
>>
>> --
>> Aaron Bruegl
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>
> ----------------
> Brian Burkhalter
> Java Media, Imaging, and Graphics
> Sun Microsystems, Inc.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

--
Aaron Bruegl
414.220.4295 x306 [office]
8306 [IP Phone]
1.208.415.0506 [External IP Phone]

Software Engineer
Nighthawk Radiology Services
223 N. Water Street
Suite 200
Milwaukee, WI 53202

CONFIDENTIALITY NOTICE: This email, including any attachments, contains
information from NightHawk Radiology Services, which may be confidential or
privileged. The information is intended to be for the use of the individual
or entity named above. If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this email in error, please
notify NightHawk Radiology Services immediately by forwarding message to
abruegl@nighthawkrad.net and destroy all electronic and hard copies of the
communication, including attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

Yes it is corrupt - I get thousands of tiffs a day and some are corrupt
and I need to handle that. My JAI code previously did just throw and
Exception - but with ImageIO the JVM dies.

Thanks--
-AB

Robert Engels wrote:
> Are you sure the image is not corrupt?
>
> Did you try using tiffdump or tiffinfo?
>
> -----Original Message-----
> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
> Sent: Thursday, May 04, 2006 6:47 PM
> To: interest@jai-imageio.dev.java.net
> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>
>
> init:
> deps-jar:
> compile-single:
> run-single:
> 121895
> java.lang.ArrayIndexOutOfBoundsException: 121895
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFa
> xDecompressor.java:1204)
> Exception in thread "main" java.lang.NullPointerException
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanlin
> e(TIFFFaxDecompressor.java:798)
> at java.io.FileOutputStream.write(FileOutputStream.java:247)
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxD
> ecompressor.java:965)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFax
> Decompressor.java:676)
> at
> com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.
> java:2514)
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageR
> eader.java:1132)
> at
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.
> java:1412)
> at javax.imageio.ImageReader.read(ImageReader.java:923)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
> Java Result: 1
> BUILD SUCCESSFUL (total time: 1 second)
>
>
>
> Brian Burkhalter wrote:
>
>> What happens if you disable the native libraries?
>>
>> Brian
>>
>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>
>>
>>> Just did with the latest build:
>>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>>
>>> Resulted in the same error below:
>>>
>>>
>>> #
>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>> #
>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>> pid=3740, tid=3876
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>> # Problematic frame:
>>> # C [ntdll.dll+0x10f29]
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>>
>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>
>>> Registers:
>>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>
>>> Top of Stack: (sp=0x0007f620)
>>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>>
>>> Instructions: (pc=0x7c910f29)
>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>
>>>
>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>> C=native code)
>>> C [ntdll.dll+0x10f29]
>>> C [ntdll.dll+0x10d5c]
>>> C [MSVCRT.dll+0x1c2de]
>>> V [jvm.dll+0xd5f69]
>>>
>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>>
>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>>
>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>> j
>>>
>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>>
>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>>
>>> --------------- P R O C E S S ---------------
>>>
>>> Java Threads: ( => current thread )
>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>> id=760]
>>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>> id=3012]
>>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>> id=3008]
>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>> id=3688]
>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>>
>>> Other Threads:
>>> 0x00a835c8 VMThread [id=1568]
>>> 0x00a90378 WatcherThread [id=4016]
>>>
>>> VM state:not at safepoint (normal execution)
>>>
>>> VM Mutex/Monitor currently owned by a thread: None
>>>
>>> Heap
>>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>>> 0x02fb0000)
>>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>>> 0x06ad0000)
>>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>>> 0x03110000)
>>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>>> 0x0aad0000)
>>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>>> 0x072d0000)
>>> No shared spaces configured.
>>>
>>> Dynamic libraries:
>>> 0x00400000 - 0x0040c000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>> 0x6d370000 - 0x6d38d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>> 0x6d200000 - 0x6d22f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>> 0x6d430000 - 0x6d44f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>> 0x10000000 - 0x10005000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>>> 0x0b350000 - 0x0b44d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>
>>> VM Arguments:
>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>> Launcher Type: SUN_STANDARD
>>>
>>> Environment Variables:
>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>>
>>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>> Security\SSH Secure Shell
>>> USERNAME=Aaron Bruegl
>>> OS=Windows_NT
>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>
>>>
>>>
>>> --------------- S Y S T E M ---------------
>>>
>>> OS: Windows XP Build 2600 Service Pack 2
>>>
>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>
>>> Memory: 4k page, physical 2096124k(1239176k free), swap
>>> 4039232k(3305236k free)
>>>
>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>
>>>
>>> Brian Burkhalter wrote:
>>>
>>>> Which version? Did you try the latest nightly build?
>>>>
>>>> Brian
>>>>
>>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>>
>>>>
>>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>>> ImageIO I have encountered this brutal error. I have tested in
>>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>>> need to say but this is *critical* for me, as I will have to abort
>>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>>> JDK 1.5.0_06.
>>>>>
>>>>> I can submit the offending tiff, but I need to find one first that
>>>>> does not contain any patient healthcare information. JVM crashes
>>>>> hurt my feelings so...
>>>>>
>>>>>
>>>>> *Error* on Linux:
>>>>> *** glibc detected *** double free or corruption (!prev):
>>>>> 0x081a0d10 ***
>>>>>
>>>>> *Error* on Windows:
>>>>> #
>>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>>> #
>>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>>> pid=760, tid=3336
>>>>> #
>>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>>> # Problematic frame:
>>>>> # C [ntdll.dll+0x10f29]
>>>>> #
>>>>>
>>>>> --------------- T H R E A D ---------------
>>>>>
>>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>>> id=3336]
>>>>>
>>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>>
>>>>> Registers:
>>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>>
>>>>> Top of Stack: (sp=0x0007f620)
>>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>>
>>>>> Instructions: (pc=0x7c910f29)
>>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>>
>>>>>
>>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>> C=native code)
>>>>> C [ntdll.dll+0x10f29]
>>>>> C [ntdll.dll+0x10d5c]
>>>>> C [MSVCRT.dll+0x1c2de]
>>>>> V [jvm.dll+0xd5f69]
>>>>> C [clib_jiio.dll+0x1acd]
>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>> J
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>>> v ~OSRAdapter
>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>> j
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>> j
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>
>>>>> v ~StubRoutines::call_stub
>>>>> V [jvm.dll+0x845a9]
>>>>> V [jvm.dll+0xd9317]
>>>>> V [jvm.dll+0x8447a]
>>>>> V [jvm.dll+0x8b44a]
>>>>> C [java.exe+0x14c5]
>>>>> C [java.exe+0x64dd]
>>>>> C [kernel32.dll+0x16d4f]
>>>>>
>>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>> J
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>>> v ~OSRAdapter
>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>> j
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>> j
>>>>>
>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>
>>>>> v ~StubRoutines::call_stub
>>>>>
>>>>> --------------- P R O C E S S ---------------
>>>>>
>>>>> Java Threads: ( => current thread )
>>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>>> [_thread_blocked, id=2840]
>>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>>> id=372]
>>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>>> id=2744]
>>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>>> id=3288]
>>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>>
>>>>> Other Threads:
>>>>> 0x00a835c8 VMThread [id=908]
>>>>> 0x00a90370 WatcherThread [id=2852]
>>>>>
>>>>> VM state:not at safepoint (normal execution)
>>>>>
>>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>>
>>>>> Heap
>>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>>> 0x02fb0000)
>>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>>> 0x03110000, 0x06ad0000)
>>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>>> 0x03110000)
>>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>>> 0x072d0000, 0x0aad0000)
>>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>>> 0x072d0000)
>>>>> No shared spaces configured.
>>>>>
>>>>> Dynamic libraries:
>>>>> 0x00400000 - 0x0040c000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>>> 0x10000000 - 0x100ed000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>>
>>>>> VM Arguments:
>>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>>> Launcher Type: SUN_STANDARD
>>>>>
>>>>> Environment Variables:
>>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>>
>>>>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>>> Security\SSH Secure Shell
>>>>> USERNAME=Aaron Bruegl
>>>>> OS=Windows_NT
>>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>>
>>>>>
>>>>>
>>>>> --------------- S Y S T E M ---------------
>>>>>
>>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>>
>>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>>
>>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>>> 4039232k(3186268k free)
>>>>>
>>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>>
>>>>> --
>>>>> Aaron Bruegl
>>>>> 414.220.4295 x306 [office]
>>>>> 8306 [IP Phone]
>>>>> 1.208.415.0506 [External IP Phone]
>>>>>
>>>>> Software Engineer
>>>>> Nighthawk Radiology Services
>>>>> 223 N. Water Street
>>>>> Suite 200
>>>>> Milwaukee, WI 53202
>>>>>
>>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>>> contains information from NightHawk Radiology Services, which may
>>>>> be confidential or privileged. The information is intended to be
>>>>> for the use of the individual or entity named above. If you are not
>>>>> the intended recipient, be aware that any disclosure, copying,
>>>>> distribution or use of the contents of this information is
>>>>> prohibited. If you have received this email in error, please notify
>>>>> NightHawk Radiology Services immediately by forwarding message to
>>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>>> of the communication, including attachments.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>> For additional commands, e-mail:
>>>>> interest-help@jai-imageio.dev.java.net
>>>>>
>>>>>
>>>>>
>>>> ----------------
>>>> Brian Burkhalter
>>>> Java Media, Imaging, and Graphics
>>>> Sun Microsystems, Inc.
>>>>
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> This email message is for the sole use of the intended recipient(s)
>>>> and may contain confidential and privileged information. Any
>>>> unauthorized review, use, disclosure or distribution is prohibited.
>>>> If you are not the intended recipient, please contact the sender by
>>>> reply email and destroy all copies of the original message.
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>> --
>>> Aaron Bruegl
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>>
>> ----------------
>> Brian Burkhalter
>> Java Media, Imaging, and Graphics
>> Sun Microsystems, Inc.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> This email message is for the sole use of the intended recipient(s)
>> and may contain confidential and privileged information. Any
>> unauthorized review, use, disclosure or distribution is prohibited.
>> If you are not the intended recipient, please contact the sender by
>> reply email and destroy all copies of the original message.
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>
>
> --
> Aaron Bruegl
> 414.220.4295 x306 [office]
> 8306 [IP Phone]
> 1.208.415.0506 [External IP Phone]
>
> Software Engineer
> Nighthawk Radiology Services
> 223 N. Water Street
> Suite 200
> Milwaukee, WI 53202
>
> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
> information from NightHawk Radiology Services, which may be confidential or
> privileged. The information is intended to be for the use of the individual
> or entity named above. If you are not the intended recipient, be aware that
> any disclosure, copying, distribution or use of the contents of this
> information is prohibited. If you have received this email in error, please
> notify NightHawk Radiology Services immediately by forwarding message to
> abruegl@nighthawkrad.net and destroy all electronic and hard copies of the
> communication, including attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Robert Engels

You probably should not use the native dll's then. If you use the pure java
version you can recover.

-----Original Message-----
From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
Sent: Thursday, May 04, 2006 6:54 PM
To: interest@jai-imageio.dev.java.net
Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!

Yes it is corrupt - I get thousands of tiffs a day and some are corrupt
and I need to handle that. My JAI code previously did just throw and
Exception - but with ImageIO the JVM dies.

Thanks--
-AB

Robert Engels wrote:
> Are you sure the image is not corrupt?
>
> Did you try using tiffdump or tiffinfo?
>
> -----Original Message-----
> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
> Sent: Thursday, May 04, 2006 6:47 PM
> To: interest@jai-imageio.dev.java.net
> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>
>
> init:
> deps-jar:
> compile-single:
> run-single:
> 121895
> java.lang.ArrayIndexOutOfBoundsException: 121895
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFa
> xDecompressor.java:1204)
> Exception in thread "main" java.lang.NullPointerException
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanlin
> e(TIFFFaxDecompressor.java:798)
> at java.io.FileOutputStream.write(FileOutputStream.java:247)
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxD
> ecompressor.java:965)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFax
> Decompressor.java:676)
> at
>
com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.
> java:2514)
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageR
> eader.java:1132)
> at
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.
> java:1412)
> at javax.imageio.ImageReader.read(ImageReader.java:923)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
> at
> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
> Java Result: 1
> BUILD SUCCESSFUL (total time: 1 second)
>
>
>
> Brian Burkhalter wrote:
>
>> What happens if you disable the native libraries?
>>
>> Brian
>>
>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>
>>
>>> Just did with the latest build:
>>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>>
>>> Resulted in the same error below:
>>>
>>>
>>> #
>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>> #
>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>> pid=3740, tid=3876
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>> # Problematic frame:
>>> # C [ntdll.dll+0x10f29]
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>>
>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>
>>> Registers:
>>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>
>>> Top of Stack: (sp=0x0007f620)
>>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>>
>>> Instructions: (pc=0x7c910f29)
>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>
>>>
>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>> C=native code)
>>> C [ntdll.dll+0x10f29]
>>> C [ntdll.dll+0x10d5c]
>>> C [MSVCRT.dll+0x1c2de]
>>> V [jvm.dll+0xd5f69]
>>>
>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>> J
>>>
>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>> v ~OSRAdapter
>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>> j
>>>
>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>> j
>>>
>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>
>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>> j
>>>
>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>> j
>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>> v ~StubRoutines::call_stub
>>>
>>> --------------- P R O C E S S ---------------
>>>
>>> Java Threads: ( => current thread )
>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>> id=760]
>>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>> id=3012]
>>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>> id=3008]
>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>> id=3688]
>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>>
>>> Other Threads:
>>> 0x00a835c8 VMThread [id=1568]
>>> 0x00a90378 WatcherThread [id=4016]
>>>
>>> VM state:not at safepoint (normal execution)
>>>
>>> VM Mutex/Monitor currently owned by a thread: None
>>>
>>> Heap
>>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>>> 0x02fb0000)
>>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>>> 0x06ad0000)
>>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>>> 0x03110000)
>>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>>> 0x0aad0000)
>>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>>> 0x072d0000)
>>> No shared spaces configured.
>>>
>>> Dynamic libraries:
>>> 0x00400000 - 0x0040c000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>> 0x6d370000 - 0x6d38d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>> 0x6d200000 - 0x6d22f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>> 0x6d430000 - 0x6d44f000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>> 0x10000000 - 0x10005000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>>> 0x0b350000 - 0x0b44d000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>
>>> VM Arguments:
>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>> Launcher Type: SUN_STANDARD
>>>
>>> Environment Variables:
>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>> Files\Java\javamail-1.3.2\mail.jar
>>>
>>>
>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>> Security\SSH Secure Shell
>>> USERNAME=Aaron Bruegl
>>> OS=Windows_NT
>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>
>>>
>>>
>>> --------------- S Y S T E M ---------------
>>>
>>> OS: Windows XP Build 2600 Service Pack 2
>>>
>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>
>>> Memory: 4k page, physical 2096124k(1239176k free), swap
>>> 4039232k(3305236k free)
>>>
>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>
>>>
>>> Brian Burkhalter wrote:
>>>
>>>> Which version? Did you try the latest nightly build?
>>>>
>>>> Brian
>>>>
>>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>>
>>>>
>>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>>> ImageIO I have encountered this brutal error. I have tested in
>>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>>> need to say but this is *critical* for me, as I will have to abort
>>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>>> JDK 1.5.0_06.
>>>>>
>>>>> I can submit the offending tiff, but I need to find one first that
>>>>> does not contain any patient healthcare information. JVM crashes
>>>>> hurt my feelings so...
>>>>>
>>>>>
>>>>> *Error* on Linux:
>>>>> *** glibc detected *** double free or corruption (!prev):
>>>>> 0x081a0d10 ***
>>>>>
>>>>> *Error* on Windows:
>>>>> #
>>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>>> #
>>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>>> pid=760, tid=3336
>>>>> #
>>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>>> # Problematic frame:
>>>>> # C [ntdll.dll+0x10f29]
>>>>> #
>>>>>
>>>>> --------------- T H R E A D ---------------
>>>>>
>>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>>> id=3336]
>>>>>
>>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>>
>>>>> Registers:
>>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>>
>>>>> Top of Stack: (sp=0x0007f620)
>>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>>
>>>>> Instructions: (pc=0x7c910f29)
>>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>>
>>>>>
>>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>> C=native code)
>>>>> C [ntdll.dll+0x10f29]
>>>>> C [ntdll.dll+0x10d5c]
>>>>> C [MSVCRT.dll+0x1c2de]
>>>>> V [jvm.dll+0xd5f69]
>>>>> C [clib_jiio.dll+0x1acd]
>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>> J
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>>> v ~OSRAdapter
>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>> j
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>> j
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>> j
>>>>>
>>>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>
>>>>> v ~StubRoutines::call_stub
>>>>> V [jvm.dll+0x845a9]
>>>>> V [jvm.dll+0xd9317]
>>>>> V [jvm.dll+0x8447a]
>>>>> V [jvm.dll+0x8b44a]
>>>>> C [java.exe+0x14c5]
>>>>> C [java.exe+0x64dd]
>>>>> C [kernel32.dll+0x16d4f]
>>>>>
>>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>> J
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
> ([BIII)V
>
>>>>> v ~OSRAdapter
>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>> j
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>> j
>>>>>
>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>
>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>> j
>>>>>
>>>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
> ava/lang/String;)Ljava/util/ArrayList;+62
>
>>>>> j
>>>>>
>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>
>>>>> v ~StubRoutines::call_stub
>>>>>
>>>>> --------------- P R O C E S S ---------------
>>>>>
>>>>> Java Threads: ( => current thread )
>>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>>> [_thread_blocked, id=2840]
>>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>>> id=372]
>>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>>> id=2744]
>>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>>> id=3288]
>>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>>
>>>>> Other Threads:
>>>>> 0x00a835c8 VMThread [id=908]
>>>>> 0x00a90370 WatcherThread [id=2852]
>>>>>
>>>>> VM state:not at safepoint (normal execution)
>>>>>
>>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>>
>>>>> Heap
>>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>>> 0x02fb0000)
>>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>>> 0x03110000, 0x06ad0000)
>>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>>> 0x03110000)
>>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>>> 0x072d0000, 0x0aad0000)
>>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>>> 0x072d0000)
>>>>> No shared spaces configured.
>>>>>
>>>>> Dynamic libraries:
>>>>> 0x00400000 - 0x0040c000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>>> 0x10000000 - 0x100ed000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>>
>>>>> VM Arguments:
>>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>>> Launcher Type: SUN_STANDARD
>>>>>
>>>>> Environment Variables:
>>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>>
>>>>>
>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>
>>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>>> Security\SSH Secure Shell
>>>>> USERNAME=Aaron Bruegl
>>>>> OS=Windows_NT
>>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>>
>>>>>
>>>>>
>>>>> --------------- S Y S T E M ---------------
>>>>>
>>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>>
>>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>>
>>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>>> 4039232k(3186268k free)
>>>>>
>>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>>
>>>>> --
>>>>> Aaron Bruegl
>>>>> 414.220.4295 x306 [office]
>>>>> 8306 [IP Phone]
>>>>> 1.208.415.0506 [External IP Phone]
>>>>>
>>>>> Software Engineer
>>>>> Nighthawk Radiology Services
>>>>> 223 N. Water Street
>>>>> Suite 200
>>>>> Milwaukee, WI 53202
>>>>>
>>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>>> contains information from NightHawk Radiology Services, which may
>>>>> be confidential or privileged. The information is intended to be
>>>>> for the use of the individual or entity named above. If you are not
>>>>> the intended recipient, be aware that any disclosure, copying,
>>>>> distribution or use of the contents of this information is
>>>>> prohibited. If you have received this email in error, please notify
>>>>> NightHawk Radiology Services immediately by forwarding message to
>>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>>> of the communication, including attachments.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>> For additional commands, e-mail:
>>>>> interest-help@jai-imageio.dev.java.net
>>>>>
>>>>>
>>>>>
>>>> ----------------
>>>> Brian Burkhalter
>>>> Java Media, Imaging, and Graphics
>>>> Sun Microsystems, Inc.
>>>>
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> This email message is for the sole use of the intended recipient(s)
>>>> and may contain confidential and privileged information. Any
>>>> unauthorized review, use, disclosure or distribution is prohibited.
>>>> If you are not the intended recipient, please contact the sender by
>>>> reply email and destroy all copies of the original message.
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>> --
>>> Aaron Bruegl
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>>
>> ----------------
>> Brian Burkhalter
>> Java Media, Imaging, and Graphics
>> Sun Microsystems, Inc.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> This email message is for the sole use of the intended recipient(s)
>> and may contain confidential and privileged information. Any
>> unauthorized review, use, disclosure or distribution is prohibited.
>> If you are not the intended recipient, please contact the sender by
>> reply email and destroy all copies of the original message.
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>
>
> --
> Aaron Bruegl
> 414.220.4295 x306 [office]
> 8306 [IP Phone]
> 1.208.415.0506 [External IP Phone]
>
> Software Engineer
> Nighthawk Radiology Services
> 223 N. Water Street
> Suite 200
> Milwaukee, WI 53202
>
> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
> information from NightHawk Radiology Services, which may be confidential
or
> privileged. The information is intended to be for the use of the
individual
> or entity named above. If you are not the intended recipient, be aware
that
> any disclosure, copying, distribution or use of the contents of this
> information is prohibited. If you have received this email in error,
please
> notify NightHawk Radiology Services immediately by forwarding message to
> abruegl@nighthawkrad.net and destroy all electronic and hard copies of the
> communication, including attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

I'll consider this and do some testing. Do you know if performance is
much degraded not using the native libs? I do value performance somewhat
because I have to parse through max about 500 faxes an hour while doing
a few other things :).

Thanks Rob!

Robert Engels wrote:
> You probably should not use the native dll's then. If you use the pure java
> version you can recover.
>
> -----Original Message-----
> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
> Sent: Thursday, May 04, 2006 6:54 PM
> To: interest@jai-imageio.dev.java.net
> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>
>
> Yes it is corrupt - I get thousands of tiffs a day and some are corrupt
> and I need to handle that. My JAI code previously did just throw and
> Exception - but with ImageIO the JVM dies.
>
> Thanks--
> -AB
>
> Robert Engels wrote:
>
>> Are you sure the image is not corrupt?
>>
>> Did you try using tiffdump or tiffinfo?
>>
>> -----Original Message-----
>> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
>> Sent: Thursday, May 04, 2006 6:47 PM
>> To: interest@jai-imageio.dev.java.net
>> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>>
>>
>> init:
>> deps-jar:
>> compile-single:
>> run-single:
>> 121895
>> java.lang.ArrayIndexOutOfBoundsException: 121895
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFa
>
>> xDecompressor.java:1204)
>> Exception in thread "main" java.lang.NullPointerException
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanlin
>
>> e(TIFFFaxDecompressor.java:798)
>> at java.io.FileOutputStream.write(FileOutputStream.java:247)
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxD
>
>> ecompressor.java:965)
>> at
>> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFax
>
>> Decompressor.java:676)
>> at
>>
>>
> com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.
>
>> java:2514)
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageR
>
>> eader.java:1132)
>> at
>>
>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.
>
>> java:1412)
>> at javax.imageio.ImageReader.read(ImageReader.java:923)
>> at
>> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
>> at
>> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
>> Java Result: 1
>> BUILD SUCCESSFUL (total time: 1 second)
>>
>>
>>
>> Brian Burkhalter wrote:
>>
>>
>>> What happens if you disable the native libraries?
>>>
>>> Brian
>>>
>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>
>>>
>>>
>>>> Just did with the latest build:
>>>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>>>
>>>> Resulted in the same error below:
>>>>
>>>>
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>> pid=3740, tid=3876
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>> # Problematic frame:
>>>> # C [ntdll.dll+0x10f29]
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm, id=3876]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0007f620)
>>>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>>>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>>>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>>>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>>>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>>>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>>>
>>>> Instructions: (pc=0x7c910f29)
>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>
>>>>
>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>> C=native code)
>>>> C [ntdll.dll+0x10f29]
>>>> C [ntdll.dll+0x10d5c]
>>>> C [MSVCRT.dll+0x1c2de]
>>>> V [jvm.dll+0xd5f69]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>> j
>>>>
>>>>
>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>>
>>
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
>>>>
>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>> j
>>>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>> v ~StubRoutines::call_stub
>>>>
>>>> --------------- P R O C E S S ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>>> id=760]
>>>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>> id=3012]
>>>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>> id=3008]
>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>> id=3688]
>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>>>
>>>> Other Threads:
>>>> 0x00a835c8 VMThread [id=1568]
>>>> 0x00a90378 WatcherThread [id=4016]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>>>> 0x02fb0000)
>>>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>>>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>>>> 0x06ad0000)
>>>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>>>> 0x03110000)
>>>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>>>> 0x0aad0000)
>>>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>>>> 0x072d0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040c000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>> 0x10000000 - 0x10005000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>>>> 0x0b350000 - 0x0b44d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>
>>>> VM Arguments:
>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>> Launcher Type: SUN_STANDARD
>>>>
>>>> Environment Variables:
>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>
>>>>
>>>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
>
>> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>
>>
>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>> Security\SSH Secure Shell
>>>> USERNAME=Aaron Bruegl
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>
>>>>
>>>>
>>>> --------------- S Y S T E M ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>
>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>
>>>> Memory: 4k page, physical 2096124k(1239176k free), swap
>>>> 4039232k(3305236k free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>
>>>>
>>>> Brian Burkhalter wrote:
>>>>
>>>>
>>>>> Which version? Did you try the latest nightly build?
>>>>>
>>>>> Brian
>>>>>
>>>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>>>> ImageIO I have encountered this brutal error. I have tested in
>>>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>>>> need to say but this is *critical* for me, as I will have to abort
>>>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>>>> JDK 1.5.0_06.
>>>>>>
>>>>>> I can submit the offending tiff, but I need to find one first that
>>>>>> does not contain any patient healthcare information. JVM crashes
>>>>>> hurt my feelings so...
>>>>>>
>>>>>>
>>>>>> *Error* on Linux:
>>>>>> *** glibc detected *** double free or corruption (!prev):
>>>>>> 0x081a0d10 ***
>>>>>>
>>>>>> *Error* on Windows:
>>>>>> #
>>>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>>>> #
>>>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>>>> pid=760, tid=3336
>>>>>> #
>>>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>>>> # Problematic frame:
>>>>>> # C [ntdll.dll+0x10f29]
>>>>>> #
>>>>>>
>>>>>> --------------- T H R E A D ---------------
>>>>>>
>>>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>>>> id=3336]
>>>>>>
>>>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>>>
>>>>>> Registers:
>>>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>>>
>>>>>> Top of Stack: (sp=0x0007f620)
>>>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>>>
>>>>>> Instructions: (pc=0x7c910f29)
>>>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>>>
>>>>>>
>>>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>>> C=native code)
>>>>>> C [ntdll.dll+0x10f29]
>>>>>> C [ntdll.dll+0x10d5c]
>>>>>> C [MSVCRT.dll+0x1c2de]
>>>>>> V [jvm.dll+0xd5f69]
>>>>>> C [clib_jiio.dll+0x1acd]
>>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>>> J
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>>>> v ~OSRAdapter
>>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>>
>>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>
>>
>>>>>> v ~StubRoutines::call_stub
>>>>>> V [jvm.dll+0x845a9]
>>>>>> V [jvm.dll+0xd9317]
>>>>>> V [jvm.dll+0x8447a]
>>>>>> V [jvm.dll+0x8b44a]
>>>>>> C [java.exe+0x14c5]
>>>>>> C [java.exe+0x64dd]
>>>>>> C [kernel32.dll+0x16d4f]
>>>>>>
>>>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>>> J
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>>>> v ~OSRAdapter
>>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>>
>>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
> net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>
>>
>>>>>> v ~StubRoutines::call_stub
>>>>>>
>>>>>> --------------- P R O C E S S ---------------
>>>>>>
>>>>>> Java Threads: ( => current thread )
>>>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>>>> [_thread_blocked, id=2840]
>>>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>>>> id=372]
>>>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>>>> id=2744]
>>>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>>>> id=3288]
>>>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>>>
>>>>>> Other Threads:
>>>>>> 0x00a835c8 VMThread [id=908]
>>>>>> 0x00a90370 WatcherThread [id=2852]
>>>>>>
>>>>>> VM state:not at safepoint (normal execution)
>>>>>>
>>>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>>>
>>>>>> Heap
>>>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>>>> 0x02fb0000)
>>>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>>>> 0x03110000, 0x06ad0000)
>>>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>>>> 0x03110000)
>>>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>>>> 0x072d0000, 0x0aad0000)
>>>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>>>> 0x072d0000)
>>>>>> No shared spaces configured.
>>>>>>
>>>>>> Dynamic libraries:
>>>>>> 0x00400000 - 0x0040c000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>>>> 0x10000000 - 0x100ed000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>>>
>>>>>> VM Arguments:
>>>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>>>> Launcher Type: SUN_STANDARD
>>>>>>
>>>>>> Environment Variables:
>>>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>>>
>>>>>>
>>>>>>
> C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
> n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
>
>> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>
>>
>>>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>>>> Security\SSH Secure Shell
>>>>>> USERNAME=Aaron Bruegl
>>>>>> OS=Windows_NT
>>>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>>>
>>>>>>
>>>>>>
>>>>>> --------------- S Y S T E M ---------------
>>>>>>
>>>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>>>
>>>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>>>
>>>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>>>> 4039232k(3186268k free)
>>>>>>
>>>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>>>
>>>>>> --
>>>>>> Aaron Bruegl
>>>>>> 414.220.4295 x306 [office]
>>>>>> 8306 [IP Phone]
>>>>>> 1.208.415.0506 [External IP Phone]
>>>>>>
>>>>>> Software Engineer
>>>>>> Nighthawk Radiology Services
>>>>>> 223 N. Water Street
>>>>>> Suite 200
>>>>>> Milwaukee, WI 53202
>>>>>>
>>>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>>>> contains information from NightHawk Radiology Services, which may
>>>>>> be confidential or privileged. The information is intended to be
>>>>>> for the use of the individual or entity named above. If you are not
>>>>>> the intended recipient, be aware that any disclosure, copying,
>>>>>> distribution or use of the contents of this information is
>>>>>> prohibited. If you have received this email in error, please notify
>>>>>> NightHawk Radiology Services immediately by forwarding message to
>>>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>>>> of the communication, including attachments.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>>> For additional commands, e-mail:
>>>>>> interest-help@jai-imageio.dev.java.net
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ----------------
>>>>> Brian Burkhalter
>>>>> Java Media, Imaging, and Graphics
>>>>> Sun Microsystems, Inc.
>>>>>
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>> This email message is for the sole use of the intended recipient(s)
>>>>> and may contain confidential and privileged information. Any
>>>>> unauthorized review, use, disclosure or distribution is prohibited.
>>>>> If you are not the intended recipient, please contact the sender by
>>>>> reply email and destroy all copies of the original message.
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Aaron Bruegl
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>> ----------------
>>> Brian Burkhalter
>>> Java Media, Imaging, and Graphics
>>> Sun Microsystems, Inc.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> This email message is for the sole use of the intended recipient(s)
>>> and may contain confidential and privileged information. Any
>>> unauthorized review, use, disclosure or distribution is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply email and destroy all copies of the original message.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>>
>> --
>> Aaron Bruegl
>> 414.220.4295 x306 [office]
>> 8306 [IP Phone]
>> 1.208.415.0506 [External IP Phone]
>>
>> Software Engineer
>> Nighthawk Radiology Services
>> 223 N. Water Street
>> Suite 200
>> Milwaukee, WI 53202
>>
>> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
>> information from NightHawk Radiology Services, which may be confidential
>>
> or
>
>> privileged. The information is intended to be for the use of the
>>
> individual
>
>> or entity named above. If you are not the intended recipient, be aware
>>
> that
>
>> any disclosure, copying, distribution or use of the contents of this
>> information is prohibited. If you have received this email in error,
>>
> please
>
>> notify NightHawk Radiology Services immediately by forwarding message to
>> abruegl@nighthawkrad.net and destroy all electronic and hard copies of the
>> communication, including attachments.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>>
>
>
> --
> Aaron Bruegl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Robert Engels

It doesn't seem to make a huge difference - depends on the size of the
image.

Even at 500 an hour, that is less than 10 a minute, 6 seconds a TIFF.

We deal with large TIFFs and the decompression is normally < 500 ms a page
using pure Java.

-----Original Message-----
From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
Sent: Thursday, May 04, 2006 7:42 PM
To: interest@jai-imageio.dev.java.net
Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!

I'll consider this and do some testing. Do you know if performance is
much degraded not using the native libs? I do value performance somewhat
because I have to parse through max about 500 faxes an hour while doing
a few other things :).

Thanks Rob!

Robert Engels wrote:
> You probably should not use the native dll's then. If you use the pure
java
> version you can recover.
>
> -----Original Message-----
> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
> Sent: Thursday, May 04, 2006 6:54 PM
> To: interest@jai-imageio.dev.java.net
> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>
>
> Yes it is corrupt - I get thousands of tiffs a day and some are corrupt
> and I need to handle that. My JAI code previously did just throw and
> Exception - but with ImageIO the JVM dies.
>
> Thanks--
> -AB
>
> Robert Engels wrote:
>
>> Are you sure the image is not corrupt?
>>
>> Did you try using tiffdump or tiffinfo?
>>
>> -----Original Message-----
>> From: Aaron Bruegl [mailto:abruegl@nighthawkrad.net]
>> Sent: Thursday, May 04, 2006 6:47 PM
>> To: interest@jai-imageio.dev.java.net
>> Subject: Re: [JAI-IMAGEIO] JVM Crash on tiff read!!!
>>
>>
>> init:
>> deps-jar:
>> compile-single:
>> run-single:
>> 121895
>> java.lang.ArrayIndexOutOfBoundsException: 121895
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.setToBlack(TIFFFa
>
>> xDecompressor.java:1204)
>> Exception in thread "main" java.lang.NullPointerException
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeNextScanlin
>
>> e(TIFFFaxDecompressor.java:798)
>> at java.io.FileOutputStream.write(FileOutputStream.java:247)
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decode2D(TIFFFaxD
>
>> ecompressor.java:965)
>> at
>> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:43)
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFax
>
>> Decompressor.java:676)
>> at
>>
>>
>
com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.
>
>> java:2514)
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageR
>
>> eader.java:1132)
>> at
>>
>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.
>
>> java:1412)
>> at javax.imageio.ImageReader.read(ImageReader.java:923)
>> at
>>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(ReadWriteAll.java:69)
>> at
>> net.nighthawk.ifd.common.util.ReadWriteAll.main(ReadWriteAll.java:38)
>> Java Result: 1
>> BUILD SUCCESSFUL (total time: 1 second)
>>
>>
>>
>> Brian Burkhalter wrote:
>>
>>
>>> What happens if you disable the native libraries?
>>>
>>> Brian
>>>
>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>
>>>
>>>
>>>> Just did with the latest build:
>>>> jai-imageio-1_1-pre-dr-b04-lib-windows-i586-04_May_2006.zip
>>>>
>>>> Resulted in the same error below:
>>>>
>>>>
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>> pid=3740, tid=3876
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>> # Problematic frame:
>>>> # C [ntdll.dll+0x10f29]
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
id=3876]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x0b0debf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0debe8, EDI=0x0b0c1000
>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0007f620)
>>>> 0x0007f620: 00030000 0b0c1000 00000000 0007f700
>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>> 0x0007f640: 00000000 0302b9fc 0b0c1008 0001dbe0
>>>> 0x0007f650: 00000000 0007f728 0b0b2000 009b0000
>>>> 0x0007f660: 009b01c0 0007f70c 7c91056d 0b0b6f4e
>>>> 0x0007f670: 009b0e58 009b0e58 00000000 00000002
>>>> 0x0007f680: 009b0e50 6d806460 0007f6e8 6d7607ca
>>>> 0x0007f690: 00000001 009b0e58 0b0b2000 00036ec8
>>>>
>>>> Instructions: (pc=0x7c910f29)
>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>
>>>>
>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>> C=native code)
>>>> C [ntdll.dll+0x10f29]
>>>> C [ntdll.dll+0x10d5c]
>>>> C [MSVCRT.dll+0x1c2de]
>>>> V [jvm.dll+0xd5f69]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>> J
>>>>
>>>>
>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>> v ~OSRAdapter
>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>> j
>>>>
>>>>
>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>> j
>>>>
>>>>
>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1314
>>
>>
>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>> j
>>>>
>>>>
>>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>> j
>>>>
net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>>> v ~StubRoutines::call_stub
>>>>
>>>> --------------- P R O C E S S ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon [_thread_blocked,
>>>> id=760]
>>>> 0x00a912f0 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>> id=3012]
>>>> 0x00a904e8 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>> id=3008]
>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2164]
>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>> id=3688]
>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3876]
>>>>
>>>> Other Threads:
>>>> 0x00a835c8 VMThread [id=1568]
>>>> 0x00a90378 WatcherThread [id=4016]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> def new generation total 576K, used 156K [0x02ad0000, 0x02b70000,
>>>> 0x02fb0000)
>>>> eden space 512K, 18% used [0x02ad0000, 0x02ae71a0, 0x02b50000)
>>>> from space 64K, 100% used [0x02b60000, 0x02b70000, 0x02b70000)
>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>> tenured generation total 1408K, used 498K [0x02fb0000, 0x03110000,
>>>> 0x06ad0000)
>>>> the space 1408K, 35% used [0x02fb0000, 0x0302c970, 0x0302ca00,
>>>> 0x03110000)
>>>> compacting perm gen total 8192K, used 4354K [0x06ad0000, 0x072d0000,
>>>> 0x0aad0000)
>>>> the space 8192K, 53% used [0x06ad0000, 0x06f10958, 0x06f10a00,
>>>> 0x072d0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040c000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>> 0x10000000 - 0x10005000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_util.dll
>>>> 0x0b350000 - 0x0b44d000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio_sse2.dll
>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>
>>>> VM Arguments:
>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>> Launcher Type: SUN_STANDARD
>>>>
>>>> Environment Variables:
>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>
>>>>
>>>>
>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
>
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
>
>> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>
>>
>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>> Security\SSH Secure Shell
>>>> USERNAME=Aaron Bruegl
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>
>>>>
>>>>
>>>> --------------- S Y S T E M ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>
>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>
>>>> Memory: 4k page, physical 2096124k(1239176k free), swap
>>>> 4039232k(3305236k free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>
>>>>
>>>> Brian Burkhalter wrote:
>>>>
>>>>
>>>>> Which version? Did you try the latest nightly build?
>>>>>
>>>>> Brian
>>>>>
>>>>> On Thu, 4 May 2006, Aaron Bruegl wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Nearing completion of converting my reading of tiff's from JAI to
>>>>>> ImageIO I have encountered this brutal error. I have tested in
>>>>>> Linux and Windows and the JVM does indeed crash. I guess I don't
>>>>>> need to say but this is *critical* for me, as I will have to abort
>>>>>> use of the JAI ImageIO tools :( I am on version 1.1-alpha and using
>>>>>> JDK 1.5.0_06.
>>>>>>
>>>>>> I can submit the offending tiff, but I need to find one first that
>>>>>> does not contain any patient healthcare information. JVM crashes
>>>>>> hurt my feelings so...
>>>>>>
>>>>>>
>>>>>> *Error* on Linux:
>>>>>> *** glibc detected *** double free or corruption (!prev):
>>>>>> 0x081a0d10 ***
>>>>>>
>>>>>> *Error* on Windows:
>>>>>> #
>>>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>>>> #
>>>>>> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910f29,
>>>>>> pid=760, tid=3336
>>>>>> #
>>>>>> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
>>>>>> # Problematic frame:
>>>>>> # C [ntdll.dll+0x10f29]
>>>>>> #
>>>>>>
>>>>>> --------------- T H R E A D ---------------
>>>>>>
>>>>>> Current thread (0x00036a70): JavaThread "main" [_thread_in_vm,
>>>>>> id=3336]
>>>>>>
>>>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>>>
>>>>>> Registers:
>>>>>> EAX=0x0b0bebf0, EBX=0x00030000, ECX=0x00000000, EDX=0x00000000
>>>>>> ESP=0x0007f620, EBP=0x0007f62c, ESI=0x0b0bebe8, EDI=0x0b0a1000
>>>>>> EIP=0x7c910f29, EFLAGS=0x00010246
>>>>>>
>>>>>> Top of Stack: (sp=0x0007f620)
>>>>>> 0x0007f620: 00030000 0b0a1000 00000000 0007f700
>>>>>> 0x0007f630: 7c910d5c 00030000 00000000 0007f6e4
>>>>>> 0x0007f640: 00000000 02aedbec 0b0a1008 0001dbe0
>>>>>> 0x0007f650: 00000000 00000018 6d806460 0007f6e8
>>>>>> 0x0007f660: 7ffdf000 0007f690 7ffdf000 0000000b
>>>>>> 0x0007f670: 6d75eaa3 0b097ff0 ffffffff 00000058
>>>>>> 0x0007f680: 00000018 6d806460 0007f6e8 6d7607ca
>>>>>> 0x0007f690: 00000001 000000a5 0b0bebe8 00000000
>>>>>>
>>>>>> Instructions: (pc=0x7c910f29)
>>>>>> 0x7c910f19: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
>>>>>> 0x7c910f29: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8
>>>>>>
>>>>>>
>>>>>> Stack: [0x00040000,0x00080000), sp=0x0007f620, free space=253k
>>>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>>> C=native code)
>>>>>> C [ntdll.dll+0x10f29]
>>>>>> C [ntdll.dll+0x10d5c]
>>>>>> C [MSVCRT.dll+0x1c2de]
>>>>>> V [jvm.dll+0xd5f69]
>>>>>> C [clib_jiio.dll+0x1acd]
>>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>>> J
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>>>> v ~OSRAdapter
>>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>>
>>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>
>>
>>>>>> v ~StubRoutines::call_stub
>>>>>> V [jvm.dll+0x845a9]
>>>>>> V [jvm.dll+0xd9317]
>>>>>> V [jvm.dll+0x8447a]
>>>>>> V [jvm.dll+0x8b44a]
>>>>>> C [java.exe+0x14c5]
>>>>>> C [java.exe+0x64dd]
>>>>>> C [kernel32.dll+0x16d4f]
>>>>>>
>>>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>>>> j com.sun.medialib.codec.g3fax.Decoder.G3FAXDecode([B[BIII)I+0
>>>>>> J
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibFaxDecompressor.decodeRaw
>
>> ([BIII)V
>>
>>
>>>>>> v ~OSRAdapter
>>>>>> j com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode()V+776
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(III)V+664
>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(ILjavax/imageio/
>
>> ImageReadParam;)Ljava/awt/image/BufferedImage;+1284
>>
>>
>>>>>> j javax.imageio.ImageReader.read(I)Ljava/awt/image/BufferedImage;+3
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>
net.nighthawk.ifd.common.util.ReadWriteAll.readWrite(Ljava/io/InputStream;Lj
>
>> ava/lang/String;)Ljava/util/ArrayList;+62
>>
>>
>>>>>> j
>>>>>>
>>>>>>
>>>>>>
>> net.nighthawk.ifd.common.util.ReadWriteAll.main([Ljava/lang/String;)V+48
>>
>>
>>>>>> v ~StubRoutines::call_stub
>>>>>>
>>>>>> --------------- P R O C E S S ---------------
>>>>>>
>>>>>> Java Threads: ( => current thread )
>>>>>> 0x00a925f0 JavaThread "Low Memory Detector" daemon
>>>>>> [_thread_blocked, id=2840]
>>>>>> 0x00a912e8 JavaThread "CompilerThread0" daemon [_thread_blocked,
>>>>>> id=372]
>>>>>> 0x00a904e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
>>>>>> id=2744]
>>>>>> 0x00a87488 JavaThread "Finalizer" daemon [_thread_blocked, id=2244]
>>>>>> 0x00a85ff0 JavaThread "Reference Handler" daemon [_thread_blocked,
>>>>>> id=3288]
>>>>>> =>0x00036a70 JavaThread "main" [_thread_in_vm, id=3336]
>>>>>>
>>>>>> Other Threads:
>>>>>> 0x00a835c8 VMThread [id=908]
>>>>>> 0x00a90370 WatcherThread [id=2852]
>>>>>>
>>>>>> VM state:not at safepoint (normal execution)
>>>>>>
>>>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>>>
>>>>>> Heap
>>>>>> def new generation total 576K, used 401K [0x02ad0000, 0x02b70000,
>>>>>> 0x02fb0000)
>>>>>> eden space 512K, 68% used [0x02ad0000, 0x02b28240, 0x02b50000)
>>>>>> from space 64K, 76% used [0x02b60000, 0x02b6c2c0, 0x02b70000)
>>>>>> to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
>>>>>> tenured generation total 1408K, used 367K [0x02fb0000,
>>>>>> 0x03110000, 0x06ad0000)
>>>>>> the space 1408K, 26% used [0x02fb0000, 0x0300bc48, 0x0300be00,
>>>>>> 0x03110000)
>>>>>> compacting perm gen total 8192K, used 4091K [0x06ad0000,
>>>>>> 0x072d0000, 0x0aad0000)
>>>>>> the space 8192K, 49% used [0x06ad0000, 0x06ecee70, 0x06ecf000,
>>>>>> 0x072d0000)
>>>>>> No shared spaces configured.
>>>>>>
>>>>>> Dynamic libraries:
>>>>>> 0x00400000 - 0x0040c000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.exe
>>>>>> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
>>>>>> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
>>>>>> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
>>>>>> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
>>>>>> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
>>>>>> 0x6d6e0000 - 0x6d874000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\client\jvm.dll
>>>>>> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
>>>>>> 0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
>>>>>> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
>>>>>> 0x6d2f0000 - 0x6d2f8000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
>>>>>> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
>>>>>> 0x6d6b0000 - 0x6d6bc000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\verify.dll
>>>>>> 0x6d370000 - 0x6d38d000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\java.dll
>>>>>> 0x6d6d0000 - 0x6d6df000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\zip.dll
>>>>>> 0x6d200000 - 0x6d22f000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\cmm.dll
>>>>>> 0x6d430000 - 0x6d44f000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\jpeg.dll
>>>>>> 0x10000000 - 0x100ed000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\clib_jiio.dll
>>>>>> 0x6d070000 - 0x6d1d7000 C:\Program
>>>>>> Files\Java\jdk1.5.0_06\jre\bin\awt.dll
>>>>>> 0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
>>>>>> 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
>>>>>> 0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
>>>>>>
>>>>>> VM Arguments:
>>>>>> java_command: net.nighthawk.ifd.common.util.ReadWriteAll
>>>>>> Launcher Type: SUN_STANDARD
>>>>>>
>>>>>> Environment Variables:
>>>>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\jre\bin
>>>>>> CLASSPATH=C:\Program Files\Java\jaf-1.0.2\activation.jar;
>>>>>> C:\Program Files\Java\javamail-1.3.2\mail.jar
>>>>>> PATH=C:\Program Files\Java\jdk1.5.0_06\bin; C:\Program
>>>>>> Files\Java\jaf-1.0.2\activation.jar; C:\Program
>>>>>> Files\Java\javamail-1.3.2\mail.jar
>>>>>>
>>>>>>
>>>>>>
>
C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bi
>
>
n\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\
>
>> WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>
>>
>>>>>> Files\Common Files\Adaptec Shared\System; C:\PWLib\Lib;
>>>>>> C:\OpenH323\Lib; C:\pwlib\include; C:\Program
>>>>>> Files\Java\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar; C:\Program
>>>>>> Files\Java\commons-logging-1.0.4\commons-logging.jar;C:\Program
>>>>>> Files\Common Files\GTK\2.0\bin;C:\Program Files\SSH Communications
>>>>>> Security\SSH Secure Shell
>>>>>> USERNAME=Aaron Bruegl
>>>>>> OS=Windows_NT
>>>>>> PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
>>>>>>
>>>>>>
>>>>>>
>>>>>> --------------- S Y S T E M ---------------
>>>>>>
>>>>>> OS: Windows XP Build 2600 Service Pack 2
>>>>>>
>>>>>> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>>>>>>
>>>>>> Memory: 4k page, physical 2096124k(1153852k free), swap
>>>>>> 4039232k(3186268k free)
>>>>>>
>>>>>> vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86,
>>>>>> built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
>>>>>>
>>>>>> --
>>>>>> Aaron Bruegl
>>>>>> 414.220.4295 x306 [office]
>>>>>> 8306 [IP Phone]
>>>>>> 1.208.415.0506 [External IP Phone]
>>>>>>
>>>>>> Software Engineer
>>>>>> Nighthawk Radiology Services
>>>>>> 223 N. Water Street
>>>>>> Suite 200
>>>>>> Milwaukee, WI 53202
>>>>>>
>>>>>> CONFIDENTIALITY NOTICE: This email, including any attachments,
>>>>>> contains information from NightHawk Radiology Services, which may
>>>>>> be confidential or privileged. The information is intended to be
>>>>>> for the use of the individual or entity named above. If you are not
>>>>>> the intended recipient, be aware that any disclosure, copying,
>>>>>> distribution or use of the contents of this information is
>>>>>> prohibited. If you have received this email in error, please notify
>>>>>> NightHawk Radiology Services immediately by forwarding message to
>>>>>> abruegl@nighthawkrad.net and destroy all electronic and hard copies
>>>>>> of the communication, including attachments.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>>> For additional commands, e-mail:
>>>>>> interest-help@jai-imageio.dev.java.net
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ----------------
>>>>> Brian Burkhalter
>>>>> Java Media, Imaging, and Graphics
>>>>> Sun Microsystems, Inc.
>>>>>
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>> This email message is for the sole use of the intended recipient(s)
>>>>> and may contain confidential and privileged information. Any
>>>>> unauthorized review, use, disclosure or distribution is prohibited.
>>>>> If you are not the intended recipient, please contact the sender by
>>>>> reply email and destroy all copies of the original message.
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>>> For additional commands, e-mail:
interest-help@jai-imageio.dev.java.net
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Aaron Bruegl
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>> ----------------
>>> Brian Burkhalter
>>> Java Media, Imaging, and Graphics
>>> Sun Microsystems, Inc.
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> This email message is for the sole use of the intended recipient(s)
>>> and may contain confidential and privileged information. Any
>>> unauthorized review, use, disclosure or distribution is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply email and destroy all copies of the original message.
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>>
>>>
>>>
>> --
>> Aaron Bruegl
>> 414.220.4295 x306 [office]
>> 8306 [IP Phone]
>> 1.208.415.0506 [External IP Phone]
>>
>> Software Engineer
>> Nighthawk Radiology Services
>> 223 N. Water Street
>> Suite 200
>> Milwaukee, WI 53202
>>
>> CONFIDENTIALITY NOTICE: This email, including any attachments, contains
>> information from NightHawk Radiology Services, which may be confidential
>>
> or
>
>> privileged. The information is intended to be for the use of the
>>
> individual
>
>> or entity named above. If you are not the intended recipient, be aware
>>
> that
>
>> any disclosure, copying, distribution or use of the contents of this
>> information is prohibited. If you have received this email in error,
>>
> please
>
>> notify NightHawk Radiology Services immediately by forwarding message to
>> abruegl@nighthawkrad.net and destroy all electronic and hard copies of
the
>> communication, including attachments.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>>
>>
>
>
> --
> Aaron Bruegl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net