Fwd: Please help no output from rasterizer

Mike Bowler <[email protected]> Mon, 3 Mar 2014 14:07:47 +0000
Newsgroups gmane.text.xml.batik.user
Message-ID <CABWGPoSF0P0hhqXBA6Hg6UYheaPVNuDd3LQ+mTfWZxMxv=jETw@mail.gmail.com>
Hi,

Please see the attached log file.

Thanks,

Mike

---------- Forwarded message ----------
From: Mike Bowler <[email protected]>
Date: 3 March 2014 11:18
Subject: Please help no output from rasterizer
To: [email protected]


Hi Batik team,

I would like some help and support, I'm currently using batik-rasterizer to
convert SVGs to PNGs and this is working great for the following settings:

c:\Apps\batik\batik-1.7>batik-rasterizer.jar -w 16384 -h 12288 -dpi 200
c:\Custom.svg -d c:\Custom.png

However I require a higher resolution of png (its a long story!), when I
try the following settings:

c:\Apps\batik\batik-1.7>batik-rasterizer.jar -w 32768 -h 24576
c:\Custom.svg -d c:\Custom2.png

An empty Custom2.png (file size zero) is produced. I can see that mu CPU
hits about 50% and the memory peeks about 12 gb (I have 16gb installed in
my Windows 7 machine) for about 3 seconds then just drops. I'm thinking
that something is running out of memory but I dont know what and batik
doesnt throw any out of memory warnings.

Any help or pointers would be greatful to try and over come this problem.

Thanks,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
hs_err_pid24328.log (application/octet-stream, 14.1 KB)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d040d9d, pid=24328, tid=23248
#
# JRE version: 6.0_37-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [awt.dll+0x40d9d]
#
# 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 (0x000000000061b800):  JavaThread "main" [_thread_in_native, id=23248, stack(0x0000000002010000,0x0000000002110000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004a383e600

Registers:
RAX=0x0000000000000014, RBX=0x0000000712ecf40b, RCX=0x0000000000020180, RDX=0x0000000000000000
RSP=0x000000000210e3f0, RBP=0x0000000000020200, RSI=0x00000000ffffff00, RDI=0x000000000000001e
R8 =0x00000000000000ff, R9 =0x00000000000000ff, R10=0x00000000000000ff, R11=0x00000004a383e600
R12=0x0000000000000000, R13=0x00000000000000ff, R14=0x00000000000000ff, R15=0x00000000000000ff
RIP=0x000000006d040d9d, EFLAGS=0x0000000000010293

Top of Stack: (sp=0x000000000210e3f0)
0x000000000210e3f0:   0000000000000000 0000000000020180
0x000000000210e400:   0000000000000000 000000006d93bb77
0x000000000210e410:   0000000000000000 00000004a383e5f8
0x000000000210e420:   0000000000000009 0000000000000020
0x000000000210e430:   000000000210e6c0 0000000008e8e550
0x000000000210e440:   0000000712ecf408 000000006d16df10
0x000000000210e450:   000000000061b9d0 000000006d00c82d
0x000000000210e460:   00000000000000ff 00000000000000ff
0x000000000210e470:   000000000210e6f0 0000000008e8e550
0x000000000210e480:   0000000000000020 0000000000000009
0x000000000210e490:   0000000000000009 00000000000000ff
0x000000000210e4a0:   000000006d16df10 000000000210e4b8
0x000000000210e4b0:   00000000ffffff00 3f80000000000003
0x000000000210e4c0:   000000000210e3d0 0000000000000000
0x000000000210e4d0:   0000434c00003c4e 0000435500003c6e
0x000000000210e4e0:   000000051c645cc0 0000000400000000 

Instructions: (pc=0x000000006d040d9d)
0x000000006d040d7d:   66 66 90 0f b6 03 48 ff c3 85 c0 0f 8e 26 01 00
0x000000006d040d8d:   00 3d ff 00 00 00 75 08 41 89 33 e9 17 01 00 00
0x000000006d040d9d:   49 63 13 4c 8b c8 48 c1 e0 08 4c 8b c2 8b ca 49
0x000000006d040dad:   c1 e1 08 c1 e9 18 4c 8d 25 46 f2 fb ff 48 2b c8 


Register to memory mapping:

RAX=0x0000000000000014 is an unknown value
RBX=0x0000000712ecf40b is an unknown value
RCX=0x0000000000020180 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x000000000210e3f0 is pointing into the stack for thread: 0x000000000061b800
RBP=0x0000000000020200 is an unknown value
RSI=0x00000000ffffff00 is an unknown value
RDI=0x000000000000001e is an unknown value
R8 =0x00000000000000ff is an unknown value
R9 =0x00000000000000ff is an unknown value
R10=0x00000000000000ff is an unknown value
R11=0x00000004a383e600 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000000000ff is an unknown value
R14=0x00000000000000ff is an unknown value
R15=0x00000000000000ff is an unknown value


Stack: [0x0000000002010000,0x0000000002110000],  sp=0x000000000210e3f0,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [awt.dll+0x40d9d]  Java_sun_java2d_loops_TransformHelper_Transform+0x2eded

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.java2d.loops.MaskFill.MaskFill(Lsun/java2d/SunGraphics2D;Lsun/java2d/SurfaceData;Ljava/awt/Composite;IIII[BII)V+0
j  sun.java2d.pipe.AlphaColorPipe.renderPathTile(Ljava/lang/Object;[BIIIIII)V+35
j  sun.java2d.pipe.DuctusShapeRenderer.renderTiles(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;Lsun/dc/pr/Rasterizer;)V+335
j  sun.java2d.pipe.DuctusShapeRenderer.renderPath(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;Ljava/awt/BasicStroke;)V+71
j  sun.java2d.pipe.DuctusShapeRenderer.draw(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V+38
j  sun.java2d.pipe.PixelToParallelogramConverter.draw(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V+156
j  sun.java2d.pipe.ValidatePipe.draw(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V+14
j  sun.java2d.SunGraphics2D.draw(Ljava/awt/Shape;)V+6
j  org.apache.batik.gvt.StrokeShapePainter.paint(Ljava/awt/Graphics2D;)V+35
j  org.apache.batik.gvt.CompositeShapePainter.paint(Ljava/awt/Graphics2D;)V+19
j  org.apache.batik.gvt.ShapeNode.primitivePaint(Ljava/awt/Graphics2D;)V+12
j  org.apache.batik.gvt.AbstractGraphicsNode.paint(Ljava/awt/Graphics2D;)V+336
j  org.apache.batik.gvt.ShapeNode.paint(Ljava/awt/Graphics2D;)V+9
j  org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Ljava/awt/Graphics2D;)V+44
j  org.apache.batik.gvt.AbstractGraphicsNode.paint(Ljava/awt/Graphics2D;)V+336
j  org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Ljava/awt/Graphics2D;)V+44
j  org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Ljava/awt/Graphics2D;)V+25
j  org.apache.batik.gvt.AbstractGraphicsNode.paint(Ljava/awt/Graphics2D;)V+336
j  org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Ljava/awt/Graphics2D;)V+44
j  org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(Ljava/awt/image/WritableRaster;)V+97
j  org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.copyData(Ljava/awt/image/WritableRaster;)Ljava/awt/image/WritableRaster;+2
j  org.apache.batik.ext.awt.image.rendered.TileCacheRed.genRect(Ljava/awt/image/WritableRaster;)V+14
j  org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlockInPlace([Lorg/apache/batik/ext/awt/image/rendered/TileBlock;Ljava/awt/image/WritableRaster;)V+138
j  org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlock(Lorg/apache/batik/ext/awt/image/rendered/TileBlock;Ljava/awt/image/WritableRaster;)V+13
j  org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyToRasterByBlocks(Ljava/awt/image/WritableRaster;)V+652
j  org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyData(Ljava/awt/image/WritableRaster;)Ljava/awt/image/WritableRaster;+2
j  org.apache.batik.ext.awt.image.rendered.TranslateRed.copyData(Ljava/awt/image/WritableRaster;)Ljava/awt/image/WritableRaster;+28
j  org.apache.batik.ext.awt.image.rendered.PadRed.copyData(Ljava/awt/image/WritableRaster;)Ljava/awt/image/WritableRaster;+82
j  org.apache.batik.gvt.renderer.StaticRenderer.repaint(Lorg/apache/batik/ext/awt/geom/RectListManager;)V+160
j  org.apache.batik.gvt.renderer.StaticRenderer.repaint(Ljava/awt/Shape;)V+32
j  org.apache.batik.transcoder.image.ImageTranscoder.transcode(Lorg/w3c/dom/Document;Ljava/lang/String;Lorg/apache/batik/transcoder/TranscoderOutput;)V+108
j  org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Lorg/apache/batik/transcoder/TranscoderInput;Lorg/apache/batik/transcoder/TranscoderOutput;)V+366
j  org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Lorg/apache/batik/transcoder/TranscoderInput;Lorg/apache/batik/transcoder/TranscoderOutput;)V+3
j  org.apache.batik.apps.rasterizer.SVGConverter.transcode(Lorg/apache/batik/apps/rasterizer/SVGConverterSource;Ljava/io/File;Lorg/apache/batik/transcoder/Transcoder;)V+260
j  org.apache.batik.apps.rasterizer.SVGConverter.execute()V+176
j  org.apache.batik.apps.rasterizer.Main.execute()V+328
j  org.apache.batik.apps.rasterizer.Main.main([Ljava/lang/String;)V+8
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x000000000937d000 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=34372, stack(0x000000000afe0000,0x000000000b0e0000)]
  0x000000000937c800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=33088, stack(0x000000000aee0000,0x000000000afe0000)]
  0x0000000008eda000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=22168, stack(0x000000000ace0000,0x000000000ade0000)]
  0x0000000008f4f800 JavaThread "Batik CleanerThread" daemon [_thread_blocked, id=19440, stack(0x0000000009220000,0x0000000009320000)]
  0x00000000085c1000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=31648, stack(0x0000000008b60000,0x0000000008c60000)]
  0x00000000085be800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=12108, stack(0x0000000008a60000,0x0000000008b60000)]
  0x00000000085b9800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=10888, stack(0x0000000008960000,0x0000000008a60000)]
  0x00000000085b6000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10160, stack(0x0000000008860000,0x0000000008960000)]
  0x00000000085b0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20288, stack(0x0000000008760000,0x0000000008860000)]
  0x00000000002cc000 JavaThread "Finalizer" daemon [_thread_blocked, id=22304, stack(0x0000000008460000,0x0000000008560000)]
  0x00000000002c5000 JavaThread "Reference Handler" daemon [_thread_blocked, id=30520, stack(0x0000000008360000,0x0000000008460000)]
=>0x000000000061b800 JavaThread "main" [_thread_in_native, id=23248, stack(0x0000000002010000,0x0000000002110000)]

Other Threads:
  0x00000000002bc000 VMThread [stack: 0x0000000008260000,0x0000000008360000] [id=12148]
  0x00000000085db000 WatcherThread [stack: 0x0000000008c60000,0x0000000008d60000] [id=14392]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 298688K, used 215137K [0x0000000706000000, 0x000000071ad50000, 0x0000000800000000)
  eden space 256064K, 84% used [0x0000000706000000,0x00000007132184b8,0x0000000715a10000)
  from space 42624K, 0% used [0x00000007183b0000,0x00000007183b0000,0x000000071ad50000)
  to   space 42624K, 0% used [0x0000000715a10000,0x0000000715a10000,0x00000007183b0000)
 PSOldGen        total 3857216K, used 3174464K [0x0000000512000000, 0x00000005fd6d0000, 0x0000000706000000)
  object space 3857216K, 82% used [0x0000000512000000,0x00000005d3c10010,0x00000005fd6d0000)
 PSPermGen       total 21248K, used 14693K [0x000000050ce00000, 0x000000050e2c0000, 0x0000000512000000)
  object space 21248K, 69% used [0x000000050ce00000,0x000000050dc59408,0x000000050e2c0000)

Code Cache  [0x0000000002110000, 0x0000000002380000, 0x0000000005110000)
 total_blobs=1094 nmethods=685 adapters=362 free_code_cache=48047552 largest_free_block=14528

Dynamic libraries:
0x0000000000400000 - 0x000000000042f000 	c:\Program Files\Java\jre6\bin\java.exe
0x0000000076df0000 - 0x0000000076f99000 	C:\Windows\SYSTEM32\ntdll.dll
0x0000000076cd0000 - 0x0000000076def000 	C:\Windows\system32\kernel32.dll
0x000007fefd340000 - 0x000007fefd3ab000 	C:\Windows\system32\KERNELBASE.dll
0x000007fefd880000 - 0x000007fefd95b000 	C:\Windows\system32\ADVAPI32.dll
0x000007fefd640000 - 0x000007fefd6df000 	C:\Windows\system32\msvcrt.dll
0x000007fefe7a0000 - 0x000007fefe7bf000 	C:\Windows\SYSTEM32\sechost.dll
0x000007fefd750000 - 0x000007fefd87d000 	C:\Windows\system32\RPCRT4.dll
0x000000006d800000 - 0x000000006dfbb000 	c:\Program Files\Java\jre6\bin\server\jvm.dll
0x0000000076710000 - 0x000000007680a000 	C:\Windows\system32\USER32.dll
0x000007fefd6e0000 - 0x000007fefd747000 	C:\Windows\system32\GDI32.dll
0x000007fefe8b0000 - 0x000007fefe8be000 	C:\Windows\system32\LPK.dll
0x000007fefec90000 - 0x000007fefed59000 	C:\Windows\system32\USP10.dll
0x000007fee8c30000 - 0x000007fee8c6b000 	C:\Windows\system32\WINMM.dll
0x000007fefeb80000 - 0x000007fefebae000 	C:\Windows\system32\IMM32.DLL
0x000007fefede0000 - 0x000007fefeee9000 	C:\Windows\system32\MSCTF.dll
0x000000006d770000 - 0x000000006d77e000 	c:\Program Files\Java\jre6\bin\verify.dll
0x000000006d3b0000 - 0x000000006d3d7000 	c:\Program Files\Java\jre6\bin\java.dll
0x000000006d7c0000 - 0x000000006d7d2000 	c:\Program Files\Java\jre6\bin\zip.dll
0x000000006d000000 - 0x000000006d1c4000 	C:\Program Files\Java\jre6\bin\awt.dll
0x000007fee9e50000 - 0x000007fee9ec1000 	C:\Windows\system32\WINSPOOL.DRV
0x000007fefeef0000 - 0x000007feff0f3000 	C:\Windows\system32\ole32.dll
0x000007fefda10000 - 0x000007fefe799000 	C:\Windows\system32\SHELL32.dll
0x000007fefebb0000 - 0x000007fefec21000 	C:\Windows\system32\SHLWAPI.dll
0x000007fefbcc0000 - 0x000007fefbeb4000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefb5f0000 - 0x000007fefb608000 	C:\Windows\system32\DWMAPI.DLL
0x000007fefbb80000 - 0x000007fefbbd6000 	C:\Windows\system32\uxtheme.dll
0x000007fefd180000 - 0x000007fefd18f000 	C:\Windows\system32\CRYPTBASE.dll
0x000000006d2a0000 - 0x000000006d307000 	C:\Program Files\Java\jre6\bin\fontmanager.dll
0x000007fee0980000 - 0x000007fee0b7f000 	C:\Windows\system32\d3d9.dll
0x000007fefc380000 - 0x000007fefc38c000 	C:\Windows\system32\VERSION.dll
0x000007fefaee0000 - 0x000007fefaee7000 	C:\Windows\system32\d3d8thk.dll
0x000007fed5e80000 - 0x000007fed6f6f000 	C:\Windows\system32\nvd3dumx.dll
0x000000006d610000 - 0x000000006d627000 	C:\Program Files\Java\jre6\bin\net.dll
0x000007fefe860000 - 0x000007fefe8ad000 	C:\Windows\system32\WS2_32.dll
0x000007fefd960000 - 0x000007fefd968000 	C:\Windows\system32\NSI.dll
0x000007fefcac0000 - 0x000007fefcb15000 	C:\Windows\system32\mswsock.dll
0x000007fefca50000 - 0x000007fefca57000 	C:\Windows\System32\wship6.dll
0x000000006d630000 - 0x000000006d63b000 	C:\Program Files\Java\jre6\bin\nio.dll
0x000000006d210000 - 0x000000006d238000 	C:\Program Files\Java\jre6\bin\dcpr.dll
0x0000000076fc0000 - 0x0000000076fc7000 	C:\Windows\system32\PSAPI.DLL

VM Arguments:
jvm_args: -Xms1000m -Xmx12000m 
java_command: c:\Apps\batik\batik-1.7\batik-rasterizer.jar -w 32768 -h 24576 c:\osg001.svg -d c:\osg001.png
Launcher Type: SUN_STANDARD




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

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

Memory: 4k page, physical 16718796k(8514584k free), swap 24908940k(15685068k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (20.12-b01) for windows-amd64 JRE (1.6.0_37-b06), built on Sep 24 2012 11:45:14 by "java_re" with MS VC++ 8.0 (VS2005)

time: Mon Mar 03 14:02:42 2014
elapsed time: 3 seconds