[poppler] Linearization support

Albert Astals Cid aacid at kde.org
Mon Nov 1 17:15:31 PDT 2010


A Diumenge, 31 d'octubre de 2010, Hib Eris va escriure:
> Hi Albert et al,
> 
> On Thu, Oct 28, 2010 at 8:10 PM, Albert Astals Cid <aacid at kde.org> wrote:
> >> Thanks for finding the regressions. Once again, I have updated my
> >> patches to gracefully handle the malformed documents you sent me. Here
> >> they are.
> > 
> > The problem with bug145868.pdf (a file i already sent you) is back.
> > 
> > Albert
> 
> Here is another update to my linearization patches fixing the issue
> with bug145868.pdf
> Please let me know when you find any other regressions.

Got a segmentation fault running pdfinfo in a pdf i will send you, valgrind 
says

==15941== Invalid read of size 4
==15941==    at 0x4F5085C: Object::free() (Dict.h:57)
==15941==    by 0x4F66CB3: ObjectStream::~ObjectStream() (XRef.cc:238)
==15941==    by 0x4F69C5F: ObjectStreamItem::~ObjectStreamItem() (XRef.cc:121)
==15941==    by 0x4F5B5BD: PopplerCache::~PopplerCache() (PopplerCache.cc:37)
==15941==    by 0x4F66B0B: XRef::~XRef() (XRef.cc:365)
==15941==    by 0x4F5886A: PDFDoc::~PDFDoc() (PDFDoc.cc:299)
==15941==    by 0x402E64: main (pdfinfo.cc:329)
==15941==  Address 0x753a460 is 32 bytes inside a block of size 40 free'd
==15941==    at 0x4C27A83: operator delete(void*) (vg_replace_malloc.c:387)
==15941==    by 0x4EE9A58: Catalog::~Catalog() (Catalog.cc:137)
==15941==    by 0x4F58851: PDFDoc::~PDFDoc() (PDFDoc.cc:296)
==15941==    by 0x402E64: main (pdfinfo.cc:329)
==15941== 
==15941== Invalid write of size 4
==15941==    at 0x4F50864: Object::free() (Dict.h:57)
==15941==    by 0x4F66CB3: ObjectStream::~ObjectStream() (XRef.cc:238)
==15941==    by 0x4F69C5F: ObjectStreamItem::~ObjectStreamItem() (XRef.cc:121)
==15941==    by 0x4F5B5BD: PopplerCache::~PopplerCache() (PopplerCache.cc:37)
==15941==    by 0x4F66B0B: XRef::~XRef() (XRef.cc:365)
==15941==    by 0x4F5886A: PDFDoc::~PDFDoc() (PDFDoc.cc:299)
==15941==    by 0x402E64: main (pdfinfo.cc:329)
==15941==  Address 0x753a460 is 32 bytes inside a block of size 40 free'd
==15941==    at 0x4C27A83: operator delete(void*) (vg_replace_malloc.c:387)
==15941==    by 0x4EE9A58: Catalog::~Catalog() (Catalog.cc:137)
==15941==    by 0x4F58851: PDFDoc::~PDFDoc() (PDFDoc.cc:296)
==15941==    by 0x402E64: main (pdfinfo.cc:329)

Albert

> 
> Hib


More information about the poppler mailing list