[gs-bugs] [Bug 692290] ps2write/pdfwrite have a limit of 4GB on temp files.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Jun 29 15:23:00 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692290

--- Comment #2 from steve166 at arcor.de 2011-06-29 15:22:58 UTC ---
Created an attachment (id=7632)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=7632)
ps testfile for 4 Gbyte ps2write temp filesize limit fix

I have generated i testfile for this patch. With this patch the
temporary file grows beyond the 4 Gbyte limit as expected.
Unfortunately the generated ps output seems not to be valid, if
the temp file get larger than 4GByte. I have tested this with
Adobe Distiller 9.0 and the attached file using following commandline:

gswin32c -q -dBATCH -dNOPAUSE -sDEVICE=ps2write -dCompressPages=false
-dASCII85EncodePages=false -dCompressFonts=false -sOutputFile=out.ps
ps2write4gbtemplimit_test.ps
(Testsystem Win XP Servicpack 2, 32 Bit, using Ghostscript Snapshot, compiled
with Mcrosoft VS 2005 using the supplied VS project file)

If you set the loop counter to 1200 "Pages" the temporary file stays slightly
smaller then 4 GByte and the distiller convertes the output without errors.
If you use 1250 as loop cntr the temp file size get larger than 4Gbyte
and the distiller crashes at pages 1247 with an ioerror (see attached log).

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list