[gs-bugs] [Bug 691447] New: Monochrome TIFF devices crash

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 8 18:14:59 UTC 2010


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

           Summary: Monochrome TIFF devices crash
           Product: Ghostscript
           Version: 8.71
          Platform: PC
        OS/Version: Windows 98
            Status: NEW
          Severity: normal
          Priority: P4
         Component: General
        AssignedTo: support at artifex.com
        ReportedBy: josh.townzen at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


When using a monochrome TIFF device, Ghostscript crashes on exit under certain
conditions with "GSWIN32C caused an invalid page fault in module GSDLL32.DLL at
019f:1015d0a9".

The easiest way to reproduce this is to call Ghostscript with just the
arguments "-dBATCH -sDEVICE=tiffg4", and it will crash immediately.  When I
discovered this bug, I noticed that it wasn't happening when I used the
"pswrite" or "pdfwrite" devices, so I tested the following devices to see which
ones had the problem:

    Device     Crash
    ----------------
    tiffg3     yes
    tiffg4     yes
    tiffpack   yes
    tiffcrle   yes
    tiffg32d   yes
    tifflzw    yes
    tiffgray   no
    tiff12nc   no
    tiff24nc   no
    tiff32nc   no
    tiffsep    no
    pdfwrite   no
    pswrite    no
    pngmono    no

All of the monochrome TIFF devices cause the crash.  None of the
grayscale/color TIFF devices do, nor do pswrite or pdfwrite.  I tested pngmono
to confirm that the problem wasn't with monochrome output in general.

I've found that it won't always crash, though.  If Ghostscript successfully
creates a TIFF output file, then it closes cleanly when it's finished.  For
example, the command line "-dBATCH -sDEVICE=tiffg4 -sOutputFile=test.tif
test.ps" won't crash, as long as "test.ps" is a valid PS file and that reading
it doesn't generate any errors in Ghostscript.

I'm using GPL Ghostscript 8.71 (2010-02-10), and I've reproduced this on
Windows 98 and Windows XP machines.  I wasn't able to reproduce the bug on any
earlier versions of Ghostscript, including 8.70, 8.64, and 8.61.

-- 
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