[gs-regression] local cluster regression 25b6a2cdeb5a90bb7803958f2bf15b618fbcf120

marcos.woehrmann at artifex.com marcos.woehrmann at artifex.com
Fri Mar 16 10:10:49 UTC 2012


25b6a2c pdfwrite - cure memory leaks caused by 'aside' streams
------------------------------------------------------------------------
commit 25b6a2cdeb5a90bb7803958f2bf15b618fbcf120
Author: Ken Sharp <ken.sharp at artifex.com>
Date:   Fri Mar 16 09:35:53 2012 +0000

    pdfwrite - cure memory leaks caused by 'aside' streams
    
    When writing an object it can happen that pdfwrite needs to write another
    object (Eg a ToUnicode CMap in a font), it does this with an 'aside' which
    opens a Ghostscritp stream to contain the data.
    
    The code to do this uses low level access to the stream code, but it did
    not previously correctly free the memory used by the stream and its associated
    buffer leading to memory leaks.
    
    By closing the entire stream when we close the filters we get the stream and
    all its memory freed, so we do that here to cure the memory leak.
    
    Inspecting the four other cases in the pdfwrite code they appear to be OK.
    
    No differences expected.

Changed files:
gs/base/gdevpdti.c

Products tested: gs ls pcl xps 


New warnings:

None

New makefile issues:

None



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

tests_private/ps/ps3cet/33_all.PS.ps.pkmraw.300.0 macpro Seg_Fault

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


ran 62337 tests in 1802 seconds on 12 nodes

No differences in 50334 non-pdfwrite/ps2write tests

No differences in 7204 pdfwrite tests

No differences in 4799 ps2write tests

The following 14 regression file(s) have started producing errors:
tests_private/comparefiles/Bug687350.ps.pdf.pkmraw.300.0 gs pdfwrite kilometers i7b Error_reading_input_file
tests_private/comparefiles/Bug687350.ps.pdf.ppmraw.300.0 gs pdfwrite i7b henrysx6 Error_reading_input_file
tests_private/comparefiles/Bug687350.ps.ps.pkmraw.300.0 gs ps2write i7 inches Error_reading_input_file
tests_private/comparefiles/Bug687350.ps.ps.ppmraw.300.0 gs ps2write henrysx6 inches Error_reading_input_file
tests_private/comparefiles/Bug690676.pdf.pbmraw.300.1 gs inches macpro Timeout_reading_input_file
tests_private/comparefiles/Bug690676.pdf.plank.300.1 gs miles macpro Timeout_reading_input_file
tests_private/comparefiles/Bug692160.pdf.ps.ppmraw.300.0 gs ps2write peeves macpro Timeout_reading_input_file
tests_private/comparefiles/Bug692174.pdf.plank.300.1 gs kilometers macpro Timeout_reading_input_file
tests_private/comparefiles/Bug692217.pdf.pgmraw.300.0 gs macpro feet Timeout_reading_input_file
tests_private/comparefiles/Bug692263.pdf.ps.ppmraw.300.0 gs ps2write peeves macpro Timeout_reading_input_file
tests_private/pdf/PDF_1.7_FTS/fts_06_0626.pdf.plank.300.1 gs x6 henrysx6 Timeout_reading_input_file
tests_private/pdf/PDF_1.7_FTS/fts_24_2414.pdf.ps.pkmraw.300.0 gs ps2write peeves macpro Timeout_reading_input_file
tests_private/ps/ps3cet/18-02B.PS.ps.ppmraw.300.0 gs ps2write x6 macpro Timeout_reading_Ghostscript_produced_PDF/PS_File
tests_private/ps/ps3cet/33_all.PS.ps.pkmraw.300.0 gs ps2write henrysx6 macpro Seg_Fault

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

The following 19 regression file(s) had differences but matched at least once in the previous 50 runs:
tests_private/comparefiles/Bug689150.pdf.pdf.pkmraw.300.0 gs pdfwrite x6 peeves 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/comparefiles/Bug689150.pdf.pdf.pkmraw.300.0 gs pdfwrite x6 peeves 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/comparefiles/Bug690835.pdf.ps.ppmraw.300.0 gs ps2write i7b henrysx6 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/comparefiles/Bug690835.pdf.ps.ppmraw.300.0 gs ps2write i7b henrysx6 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/comparefiles/Bug692129.pdf.ps.pkmraw.300.0 gs ps2write feet henrysx6 93bf2df8f6a6b2ed60a8c3f5037865b8646243db 12 
tests_private/comparefiles/Bug692129.pdf.ps.ppmraw.300.0 gs ps2write i7b i7b 1d8c46688c07cec9e58f492223d1a9c92f4374e4 3 
tests_private/customer_tests/01298.pcl.pdf.ppmraw.600.0 pcl pdfwrite macpro x6 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/customer_tests/01298.pcl.pdf.ppmraw.600.0 pcl pdfwrite macpro x6 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/pcl/pcl5ccet/32-01.BIN.ppmraw.75.0 pcl i7a meters 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/pcl/pcl5efts/fts.2132.pdf.ppmraw.600.0 pcl pdfwrite x6 inches 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/pcl/pcl5efts/fts.2290.pbmraw.600.1 pcl x6 i7b 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/pdf/PDF_1.7_FTS/fts_17_1703.pdf.cups.300.1 gs i7b i7a ff83bab4ddf49c5bbbce9a37cfa8e4d5c42c9009 15 
tests_private/pdf/PDF_1.7_FTS/fts_24_2431.pdf.pbmraw.300.1 gs macpro macpro 0eae84aaf7a1c27f077d4aff3050ae48bb5a6aaa 4 
tests_private/ps/ps3cet/12-07B.PS.pbmraw.300.0 gs feet feet 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/ps/ps3cet/12-07C.PS.pbmraw.300.1 gs i7a i7b 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/ps/ps3cet/34_all.PS.ps.pkmraw.300.0 gs ps2write inches kilometers 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/ps/ps3cet/34_all.PS.ps.pkmraw.300.0 gs ps2write inches kilometers 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/ps/ps3cet/35_all.PS.pdf.pkmraw.300.0 gs pdfwrite i7a miles 72fe9304f98beff3c97347d6e402bb812136de49 2 
tests_private/ps/ps3cet/35_all.PS.pdf.pkmraw.300.0 gs pdfwrite i7a miles 72fe9304f98beff3c97347d6e402bb812136de49 2 



More information about the gs-regression mailing list