[gs-regression] local cluster regression c1a22bfd63734c93fc8d9df65e58f83fbd6a3376

marcos.woehrmann at artifex.com marcos.woehrmann at artifex.com
Fri Sep 2 19:35:07 UTC 2011


c1a22bf Bug 692481: Fix for remainder of issue; oversize JPEG data causes hang.
------------------------------------------------------------------------
commit c1a22bfd63734c93fc8d9df65e58f83fbd6a3376
Author: Robin Watts <Robin.Watts at artifex.com>
Date:   Thu Sep 1 18:32:07 2011 +0100

    Bug 692481: Fix for remainder of issue; oversize JPEG data causes hang.
    
    If the JPEG lib exits without decoding anything, and the buffer was full,
    attempt a compaction; if the compaction succeeds (bytes were saved), then
    continue, otherwise bale with an error to avoid us infinitely looping
    as we repeatedly try to decode the same data.
    
    The 'buffer is full' condition is the tricky one; we cannot know the
    exact size of the buffer, but we can know the minimum size we requested,
    so we use that as a close approximation.
    
    Also tweak the pxl handling of error conditions passed back from the
    jpeg decoder. Ensure that pxls use of streams set the templates.

Changed files:
gs/base/sdctd.c
pxl/pximage.c

Products tested: gs ls pcl xps 


New warnings:

None


*****************************************************************************
Seg faults with current rev:

tests_private/comparefiles/tpc2.ps.ps.pkmraw.300.0 macpro Seg_Fault_reading_Ghostscript_produced_PDF/PS_File

*****************************************************************************


ran 53171 tests in 1764 seconds on 10 nodes

Differences in 1 of 42121 non-pdfwrite/ps2write test(s):
tests_private/ps/ps3cet/12-02.PS.psdcmyk.72.0 gs i7b henrysx6

Differences in 2 of 6632 pdfwrite test(s):
tests_private/ps/ps3cet/12-07C.PS.pdf.pkmraw.300.0 gs pdfwrite x6 meters
tests_private/xps/xpsfts-a4/fts_43xx.xps.pdf.ppmraw.72.0 xps pdfwrite x6 macpro

Differences in 1 of 4418 ps2write test(s):
tests_private/pdf/PDF_1.7_FTS/fts_17_1710.pdf.ps.ppmraw.300.0 gs ps2write i7a kilometers

The following 1 regression file(s) have started producing errors:
tests_private/comparefiles/Bug691783.pdf.ps.ppmraw.300.0 gs ps2write i7a i7b Timeout_reading_Ghostscript_produced_PDF/PS_File

The following 1 regression file(s) have stopped producing errors:
tests_private/comparefiles/Bug691783.pdf.ps.pkmraw.300.0 gs ps2write i7b i7a Timeout_reading_Ghostscript_produced_PDF/PS_File

-------------------------------------------------------------------------------------------------------

The following 5 regression file(s) had differences but matched at least once in the previous 50 runs:
tests_private/comparefiles/Bug689982.pdf.ps.pkmraw.300.0 gs ps2write inches henrysx6 8b660e2678b3c6f4592269d14e3767aca3dd51e0 2 
tests_private/comparefiles/Bug689982.pdf.ps.pkmraw.300.0 gs ps2write inches henrysx6 8b660e2678b3c6f4592269d14e3767aca3dd51e0 2 
tests_private/pdf/PDF_1.7_FTS/fts_17_1702.pdf.cups.300.1 gs macpro i7b ad0cf1990ae540252f68c50fa4627ed3b1752b89 5 
tests_private/ps/ps3cet/12-08C.PS.psdcmyk.72.0 gs x6 henrysx6 a00c728c4c3ffa2392765294bc21b90b6e38496f 4 
tests_private/ps/ps3cet/34_all.PS.pbmraw.300.0 gs i7 kilometers 8b660e2678b3c6f4592269d14e3767aca3dd51e0 2 



More information about the gs-regression mailing list