[Magick-bugs] Gif processor crashes

Bokor Márton marton.bokor at gfthu.com
Tue Jun 10 02:55:25 PDT 2008


Hi,

Tried again on an other Windows in a release environment, which was not so low on physical memory. Code crashed in IM_MOD_RL_GIF_.dll again, and quite soon.
As an aditional information: I compiled ImageMagick under Visual Studio 2008, and before this test I checked out the most recent changes from trunk + again this never happens with MOD JPG.


#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x034c14a4, pid=7736, tid=6580
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C  [IM_MOD_RL_GIF_.dll+0x14a4]
#
# An error report file with more information is saved as hs_err_pid7736.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

in the log file:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x034c14a4, pid=7736, tid=6580
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C  [IM_MOD_RL_GIF_.dll+0x14a4]
#

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

Current thread (0x00aae008):  JavaThread "Thread-1" [_thread_in_native, id=6580]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x5316d910, ECX=0x00000000, EDX=0x00000001
ESP=0x02d0caf8, EBP=0x00000003, ESI=0x00000000, EDI=0x5310c030
EIP=0x034c14a4, EFLAGS=0x00010246

Top of Stack: (sp=0x02d0caf8)
0x02d0caf8:   531815d8 5316d910 00000000 05e6d3b0
0x02d0cb08:   00000004 00000000 00000003 5310c030
0x02d0cb18:   00000000 00000003 00000007 00000006
0x02d0cb28:   531856e0 53187e00 00000000 02d0cb48
0x02d0cb38:   00000000 531f2c10 00000001 00000005
0x02d0cb48:   00000000 00000004 00000007 034c25b6
0x02d0cb58:   531815d8 5316d910 00000003 5316dad8
0x02d0cb68:   5316d910 5317cec0 5317cf94 ffffffff 

Instructions: (pc=0x034c14a4)
0x034c1494:   03 8b 4c 24 44 83 c4 04 89 44 24 50 85 c9 75 07
0x034c14a4:   0f b7 10 89 54 24 20 33 c0 85 c9 0f 94 c0 3b 43 


Stack: [0x02cd0000,0x02d10000),  sp=0x02d0caf8,  free space=242k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [IM_MOD_RL_GIF_.dll+0x14a4]

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  magick.MagickImage.writeImage(Lmagick/ImageInfo;)Z+0
j  com.gfth.cemidms.jmanip.server.HPPT.pptToText(Lcom/gfth/cemidms/jmanip/BaseDAO;)Ljava/lang/Boolean;+297
j  com.gfth.cemidms.jmanip.server.HPPT.execute(Lcom/gfth/cemidms/jmanip/BaseDAO;)Ljava/lang/Object;+30
j  com.gfth.cemidms.jmanip.server.Instance.run()V+93
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
=>0x00aae008 JavaThread "Thread-1" [_thread_in_native, id=6580]
  0x00a6e2f8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4484]
  0x00a6d008 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5016]
  0x00a6cdb0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6000]
  0x00a39c40 JavaThread "Finalizer" daemon [_thread_blocked, id=6372]
  0x0003faa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4788]
  0x00035e40 JavaThread "main" [_thread_in_native, id=7348]

Other Threads:
  0x00a385e8 VMThread [id=5032]
  0x00a6f670 WatcherThread [id=6836]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 492K [0x22ad0000, 0x22b70000, 0x22fb0000)
  eden space 512K,  83% used [0x22ad0000, 0x22b3b1b0, 0x22b50000)
  from space 64K, 100% used [0x22b60000, 0x22b70000, 0x22b70000)
  to   space 64K,   0% used [0x22b50000, 0x22b50000, 0x22b60000)
 tenured generation   total 1408K, used 99K [0x22fb0000, 0x23110000, 0x26ad0000)
   the space 1408K,   7% used [0x22fb0000, 0x22fc8f40, 0x22fc9000, 0x23110000)
 compacting perm gen  total 8192K, used 118K [0x26ad0000, 0x272d0000, 0x2aad0000)
   the space 8192K,   1% used [0x26ad0000, 0x26aed8b0, 0x26aeda00, 0x272d0000)
    ro space 8192K,  66% used [0x2aad0000, 0x2b02bcc0, 0x2b02be00, 0x2b2d0000)
    rw space 12288K,  46% used [0x2b2d0000, 0x2b872060, 0x2b872200, 0x2bed0000)

Dynamic libraries:
0x00400000 - 0x0040c000 	D:\CEMI\jdk1.5.0_06\bin\java.exe
0x7c800000 - 0x7c8c0000 	C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 	C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77feb000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 	C:\WINDOWS\system32\RPCRT4.dll
0x76f50000 - 0x76f63000 	C:\WINDOWS\system32\Secur32.dll
0x77ba0000 - 0x77bfa000 	C:\WINDOWS\system32\MSVCRT.dll
0x6d6e0000 - 0x6d874000 	D:\CEMI\jdk1.5.0_06\jre\bin\client\jvm.dll
0x77380000 - 0x77411000 	C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 	C:\WINDOWS\system32\GDI32.dll
0x76aa0000 - 0x76acd000 	C:\WINDOWS\system32\WINMM.dll
0x76290000 - 0x762ad000 	C:\WINDOWS\system32\IMM32.DLL
0x71bc0000 - 0x71bc8000 	C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000 	C:\WINDOWS\system32\WINSTA.dll
0x71c40000 - 0x71c97000 	C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d2f0000 - 0x6d2f8000 	D:\CEMI\jdk1.5.0_06\jre\bin\hpi.dll
0x6d6b0000 - 0x6d6bc000 	D:\CEMI\jdk1.5.0_06\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 	D:\CEMI\jdk1.5.0_06\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 	D:\CEMI\jdk1.5.0_06\jre\bin\zip.dll
0x6d530000 - 0x6d543000 	D:\CEMI\jdk1.5.0_06\jre\bin\net.dll
0x71c00000 - 0x71c17000 	C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000 	C:\WINDOWS\system32\WS2HELP.dll
0x71b20000 - 0x71b61000 	C:\WINDOWS\system32\mswsock.dll
0x5f270000 - 0x5f2ca000 	C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000 	C:\WINDOWS\System32\wshtcpip.dll
0x10000000 - 0x1002d000 	D:\CEMI\LIB\manipC.dll
0x77670000 - 0x777a9000 	C:\WINDOWS\system32\ole32.dll
0x77d00000 - 0x77d8b000 	C:\WINDOWS\system32\OLEAUT32.dll
0x4b3c0000 - 0x4b410000 	C:\WINDOWS\system32\MSCTF.dll
0x777b0000 - 0x77833000 	C:\WINDOWS\system32\CLBCatQ.DLL
0x77010000 - 0x770d6000 	C:\WINDOWS\system32\COMRes.dll
0x77b90000 - 0x77b98000 	C:\WINDOWS\system32\VERSION.dll
0x79000000 - 0x79046000 	C:\WINDOWS\system32\mscoree.dll
0x77da0000 - 0x77df2000 	C:\WINDOWS\system32\SHLWAPI.dll
0x79e70000 - 0x7a3ff000 	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
0x78130000 - 0x781cb000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5CF844D2\MSVCR80.dll
0x7c8d0000 - 0x7d0cf000 	C:\WINDOWS\system32\shell32.dll
0x77420000 - 0x77523000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
0x790c0000 - 0x79bf6000 	C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\mscorlib.ni.dll
0x75da0000 - 0x75e5d000 	C:\WINDOWS\system32\sxs.dll
0x031a0000 - 0x03465000 	C:\WINDOWS\system32\xpsp2res.dll
0x034f0000 - 0x034fe000 	D:\CEMI\LIB\PPTProcess.dll
0x79060000 - 0x790b6000 	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
0x5e430000 - 0x5e4d8000 	C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
0x68000000 - 0x68035000 	C:\WINDOWS\system32\rsaenh.dll
0x64020000 - 0x64033000 	C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorsec.dll
0x76bb0000 - 0x76bdb000 	C:\WINDOWS\system32\WINTRUST.dll
0x761b0000 - 0x76243000 	C:\WINDOWS\system32\CRYPT32.dll
0x76190000 - 0x761a2000 	C:\WINDOWS\system32\MSASN1.dll
0x76c10000 - 0x76c38000 	C:\WINDOWS\system32\imagehlp.dll
0x77530000 - 0x775c7000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
0x76920000 - 0x769e2000 	C:\WINDOWS\system32\userenv.dll
0x73ca0000 - 0x73cb2000 	C:\WINDOWS\system32\cryptnet.dll
0x76f10000 - 0x76f3e000 	C:\WINDOWS\system32\WLDAP32.dll
0x722f0000 - 0x722f5000 	C:\WINDOWS\system32\SensApi.dll
0x058e0000 - 0x0591e000 	C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.PowerPoint\12.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.PowerPoint.dll
0x05920000 - 0x05988000 	C:\WINDOWS\assembly\GAC\office\12.0.0.0__71e9bce111e9429c\office.dll
0x745e0000 - 0x7489e000 	C:\WINDOWS\system32\msi.dll
0x60370000 - 0x603b0000 	C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\CustomMarshalers\c10ec9b4de2b366236ec83237dc31281\CustomMarshalers.ni.dll
0x60350000 - 0x60365000 	C:\WINDOWS\assembly\GAC_32\CustomMarshalers\2.0.0.0__b03f5f7f11d50a3a\CustomMarshalers.dll
0x7a440000 - 0x7a732000 	C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
0x05820000 - 0x0584a000 	D:\CEMI\LIB\magick\jmagick.dll
0x05e60000 - 0x0600f000 	D:\CEMI\LIB\magick\CORE_RL_magick_.dll
0x06020000 - 0x060d3000 	D:\CEMI\LIB\magick\X11.dll
0x71bb0000 - 0x71bb9000 	C:\WINDOWS\system32\WSOCK32.dll
0x060e0000 - 0x0613c000 	D:\CEMI\LIB\magick\CORE_RL_ttf_.dll
0x78520000 - 0x785c3000 	D:\CEMI\LIB\magick\MSVCR90.dll
0x06150000 - 0x06198000 	D:\CEMI\LIB\magick\CORE_RL_tiff_.dll
0x061b0000 - 0x061c3000 	D:\CEMI\LIB\magick\CORE_RL_zlib_.dll
0x061e0000 - 0x06201000 	D:\CEMI\LIB\magick\CORE_RL_jpeg_.dll
0x06220000 - 0x0624e000 	D:\CEMI\LIB\magick\CORE_RL_lcms_.dll
0x06260000 - 0x06270000 	D:\CEMI\LIB\magick\CORE_RL_bzlib_.dll
0x67280000 - 0x67287000 	D:\CEMI\LIB\magick\IM_MOD_RL_EMF_.dll
0x034c0000 - 0x034c9000 	D:\CEMI\LIB\magick\IM_MOD_RL_GIF_.dll

VM Arguments:
java_command: com.gfth.cemidms.jmanip.server.Server
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=D:\CEMI\LIB\magick\;D:\CEMI\jdk1.5.0_06\bin;D:\CEMI\LIB\magick
USERNAME=e-mobr
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel



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

OS: Windows Server 2003 family Build 3790 Service Pack 2

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

Memory: 4k page, physical 2095824k(311604k free), swap 4194303k(1919568k 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



Btw, is it possible to use attachment? Next time I would rather attach if mail-list can handle it.

Marton Bokor





More information about the Magick-bugs mailing list