Summary: | Abort : "gswin32.exe has stopped working" | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Harry McKame <mckameh1> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | P4 | ||
Version: | 9.02 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Customer: | Word Size: | --- | |
Attachments: | pdf aborts gswin32.exe |
The problem is already fixed in the development version by the following commit: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=507cbee1403b20b2c3fec692f746f41d9d985566 commit 507cbee1403b20b2c3fec692f746f41d9d985566 Author: Robin Watts <robin.watts@artifex.com> Date: Fri Apr 8 13:34:53 2011 +0000 Fix Bug 692129. If an image is scaled to zero height and interpolation is on, we end up mallocing a zero byte buffer and then overrunning it. The fix is to detect this scaling, and still allocate a 1 pixel high buffer. |
Created attachment 7606 [details] pdf aborts gswin32.exe The attached pdf causes gswin32.exe to abort. The call we are using is : "C:\Program Files\Ghostscript\gs9.02\bin\gswin32.exe" "-IC:\Program Files\Ghostscript\gs9.02\lib;C:\Program Files\Ghostscript\fonts" -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeg -dEPSCrop -f -q -dTextAlphaBits=4 -dUseCropBox -dDOINTERPOLATE -dDisableFAPI -sOutputFile="%%d.jpg" "abort.pdf" The abort does not happen if "-dDOINTERPOLATE" is omitted.