I have this random problem
when
ImageInfo info = new ImageInfo(sourceFileName);
iMagickImage image = new MagickImage(info);
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9118b5, pid=1796, tid=5440
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x118b5]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x02bed000): JavaThread "Thread-0" [_thread_in_native, id=5440, stack(0x02f20000,0x02f70000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000001
Registers:
EAX=0x03560048, EBX=0x000005f8, ECX=0x00000001, EDX=0x03560048
ESP=0x02f63694, EBP=0x02f636ac, ESI=0x03560040, EDI=0x033b0000
EIP=0x7c9118b5, EFLAGS=0x00010246
Top of Stack: (sp=0x02f63694)
0x02f63694: 03560040 03560040 033b0000 03560000
0x02f636a4: 03560000 02550000 02f636f4 7c911a6d
0x02f636b4: 000005f8 10560040 000005f8 033b0000
0x02f636c4: 03560040 00000000 00000000 03563000
0x02f636d4: 02f636f0 03560000 00000000 00000000
0x02f636e4: 00000000 000001f8 00000000 00000000
0x02f636f4: 02f637c4 7c9109ba 03561000 00002000
0x02f63704: 000005f8 0356211c 03560048 033b8200
Instructions: (pc=0x7c9118b5)
0x7c9118a5: 75 62 8b d0 8b 4a 04 8d 46 08 89 10 89 48 04 56
0x7c9118b5: 89 01 57 89 42 04 e8 fc ed ff ff 89 5d 08 0f b7
Stack: [0x02f20000,0x02f70000], sp=0x02f63694, free space=10d02f631c8k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x118b5]
C [ntdll.dll+0x11a6d]
C [ntdll.dll+0x109ba]
C [MSVCR90.dll+0x638bb]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j magick.MagickImage.readImage(Lmagick/ImageInfo;)V+0
j magick.MagickImage.<init>(Lmagick/ImageInfo;)V+11
j ateximageprocessor.ATXCropImage.cropImage(Ljava/lang/String;Lateximageprocessor/ATXInfoCropXml;Ljava/lang/String;)V+57
j ateximageprocessor.ATXRunCropImage.run()V+131
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x003a7800 JavaThread "DestroyJavaVM" [_thread_blocked, id=2116, stack(0x003b0000,0x00400000)]
=>0x02bed000 JavaThread "Thread-0" [_thread_in_native, id=5440, stack(0x02f20000,0x02f70000)]
0x02bcec00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5704, stack(0x02e80000,0x02ed0000)]
0x02bc8400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5128, stack(0x02e30000,0x02e80000)]
0x02bc6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5136, stack(0x02de0000,0x02e30000)]
0x02bc5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1632, stack(0x02d90000,0x02de0000)]
0x02bc0c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6088, stack(0x02d40000,0x02d90000)]
0x02bbc400 JavaThread "Reference Handler" daemon [_thread_blocked, id=356, stack(0x02cf0000,0x02d40000)]
Other Threads:
0x02bbac00 VMThread [stack: 0x02ca0000,0x02cf0000] [id=5460]
0x02bd0c00 WatcherThread [stack: 0x02ed0000,0x02f20000] [id=5492]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4992K, used 89K [0x12990000, 0x12ef0000, 0x1d430000)
eden space 4480K, 2% used [0x12990000, 0x129a66b8, 0x12df0000)
from space 512K, 0% used [0x12df0000, 0x12df0000, 0x12e70000)
to space 512K, 0% used [0x12e70000, 0x12e70000, 0x12ef0000)
tenured generation total 10944K, used 303K [0x1d430000, 0x1dee0000, 0x32990000)
the space 10944K, 2% used [0x1d430000, 0x1d47bf78, 0x1d47c000, 0x1dee0000)
compacting perm gen total 12288K, used 1240K [0x32990000, 0x33590000, 0x36990000)
the space 12288K, 10% used [0x32990000, 0x32ac6310, 0x32ac6400, 0x33590000)
ro space 10240K, 54% used [0x36990000, 0x36f08290, 0x36f08400, 0x37390000)
rw space 12288K, 55% used [0x37390000, 0x37a2d1c0, 0x37a2d200, 0x37f90000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe
0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db47000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d860000 - 0x6d86c000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\java.dll
0x6d340000 - 0x6d348000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d8a0000 - 0x6d8af000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\zip.dll
0x6d0b0000 - 0x6d1fa000 C:\Program Files\Java\jdk1.6.0_18\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x60e80000 - 0x60e9f000 C:\Program Files\ImageMagick-6.6.1-Q16\jmagick.dll
0x10000000 - 0x101dd000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_magick_.dll
0x031b0000 - 0x03263000 C:\Program Files\ImageMagick-6.6.1-Q16\X11.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x03270000 - 0x032cc000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_ttf_.dll
0x78520000 - 0x785c3000 C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll
0x032e0000 - 0x03310000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_lcms_.dll
0x03320000 - 0x03330000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_bzlib_.dll
0x03340000 - 0x03353000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_zlib_.dll
0x72880000 - 0x7288e000 C:\WINDOWS\WinSxS\x86_Microsoft.VC90.OpenMP_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_ecc42bd1\VCOMP90.DLL
0x674e0000 - 0x674ec000 C:\Program Files\ImageMagick-6.6.1-Q16\modules\coders\IM_MOD_RL_JPEG_.dll
0x034f0000 - 0x0351b000 C:\Program Files\ImageMagick-6.6.1-Q16\CORE_RL_jpeg_.dll
VM Arguments:
jvm_args: -Djava.security.manager -Djava.security.policy=C:\eclipse\AtexImportHermes\AtexImport\conf\app.policy -Djava.security.auth.login.config=C:\eclipse\AtexImportHermes\AtexImport\conf\auth.conf -Djava -Xmx512m -Dfile.encoding=Cp1252
java_command: ateximageprocessor.AtexImageProcessor
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_16
CLASSPATH=./;
PATH=C:\Program Files\ImageMagick-6.6.1-Q16\;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\ImageMagick-6.6.1-Q16;C:\Program Files\ImageMagick-6.6.0-Q16;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Perforce;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Adobe\AGL;C:\ant-1.7.1\bin;C:\Program Files\Java\jdk1.5.0_16\jre\bin;C:\Program Files\Java\jdk1.5.0_16\jre\bin\client;;c:\Hermes11;C:\prestige\prestige5\release\5.4\\Deliver\Debug
USERNAME=rfranzese
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
Memory: 4k page, physical 3667860k(1474760k free), swap 5594596k(2607464k free)
vm_info: Java HotSpot(TM) Client VM (16.0-b13) for windows-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:35:55 by "java_re" with MS VC++ 7.1 (VS2003)
time: Wed Apr 14 15:15:22 2010
elapsed time: 21 seconds
urgent
Re: urgent
Just wondering if you found any solution to this issue. I am seeing the similar exception. I am calling MagickImage.scaleImage method from a loop and after handling six images successfully, it throws the below exception.
I have ImageMagick-6.6.6-3-Q16-windows-dll.exe and jmagick-win-6.3.9-Q16 on my system.
Code: Select all
MagickImage image = new MagickImage( new ImageInfo( imgName ) );
scaledImage = image.scaleImage(scaledWidth, scaledHeight);
I have ImageMagick-6.6.6-3-Q16-windows-dll.exe and jmagick-win-6.3.9-Q16 on my system.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9369da, pid=5692, tid=5684
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x369da]
#
# An error report file with more information is saved as:
# D:\******\Development\RefactoredCodeBase\*********\hs_err_pid5692.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Re: urgent
Any luck anyone? I have the same problem. Third time through a loop calling new ImageInfo() and it crashes every time!
Re: urgent
We did not write nor do we support JMagick. You'll need to contact the JMagick author for help.