[poppler] Getting a raster image like pdf2ppm
Angus March
angus at uducat.com
Thu May 21 12:18:26 PDT 2009
Albert Astals Cid wrote:
> > A Dimecres, 20 de maig de 2009, Angus March va escriure:
> >
>
>> >> Albert Astals Cid wrote:
>> >>
>>
>>> >>> A Dimarts, 19 de maig de 2009, Angus March va escriure:
>>> >>>
>>>
>>>> >>>> Adrian Johnson wrote:
>>>> >>>>
>>>>
>>>>> >>>>> Angus March wrote:
>>>>> >>>>>
>>>>>
>>>>>> >>>>>> I tried using Poppler to get a Cairo surface and then saving the
>>>>>> >>>>>> surface to a PNG. Unfortunately, the resulting image was of
>>>>>> >>>>>> disastrously low quality.
>>>>>> >>>>>>
>>>>>>
>>>>> >>>>> Without seeing your code or the output you are getting I can only
>>>>> >>>>> guess at what the problem might be. Did you alter the cairo scale to
>>>>> >>>>> get the desired image dpi?
>>>>> >>>>>
>>>>>
>>>> >>>> It was definitely an improvement, but I think the only thing that
>>>> >>>> did improve was the resolution. The old problems that caused me to
>>>> >>>> abandon Cairo persisted, which are: gradients have ugly stripes on them,
>>>> >>>> a background that should be white and opaque is black and transparent,
>>>> >>>> and some text that has a shadow in the PDF doesn't in the image. I don't
>>>> >>>> suppose you know of a way to deal w/those problems.
>>>> >>>>
>>>> >>>>
>>>>
>>> >>> ?
>>> >>>
>>> >>> I don't see anything obviously wrong.
>>> >>>
>>> >>> Basically it is:
>>> >>> * Create PDFDoc
>>> >>> * Create SplashOutputDev
>>> >>> * Call SplashOutputDev::startDoc
>>> >>> * Call PDFDoc::displayPageSlice
>>> >>>
>>>
>> >> Well there definitely is something wrong, because it works with
>> >> pdftoppm. I thought of things like the __attribute__((constructor))
>> >> attribute, or static objects, but I don't see any evidence of the
>> >> attribute and I wouldn't know how to find a static object in all that
>> >> code. Maybe multiple processes causes problems for Splash.
>> >>
>>
> >
> >
>
>> >> It's hard to know where to go.
>> >>
>>
> >
> > The crashes you pasted are from poppler compiled with -O2? If so remove the -
> > O2 and substitute -g by -g3. Optimized poppler backtraces are really
> > misleading.
> >
>
I figured out a way to get my app to build from the poppler lib I
rolled myself (although I'd still like to know what the proper procedure
is to get it to build in debug, and install the Splash stuff) and I got
some valgrind reports that might be more helpful, but are fewer than
those I got when I was using the SUSE distro's lib:
==8577== Conditional jump or move depends on uninitialised value(s)
==8577== at 0x53DACE4: FoFiType1C::parse() (FoFiType1C.cc:1848)
==8577== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==8577== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==8577== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==8577== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==8577== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==8577== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==8577== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==8577== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==8577== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8577== by 0x40A9B5: pdf2jpg::TopupJpegThreads(int, astring const&)
(pdf2jpg.cpp:156)
==8577== by 0x40B3B1: pdf2jpg::Execute(int, char const*, char const*,
int) (pdf2jpg.cpp:99)
==8577==
==8577== Conditional jump or move depends on uninitialised value(s)
==8577== at 0x53D2A67: FoFiBase::getU8(int, int*) (FoFiBase.cc:96)
==8577== by 0x53DAD15: FoFiType1C::parse() (FoFiType1C.cc:1854)
==8577== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==8577== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==8577== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==8577== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==8577== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==8577== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==8577== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==8577== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==8577== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8577== by 0x40A9B5: pdf2jpg::TopupJpegThreads(int, astring const&)
(pdf2jpg.cpp:156)
==8577==
==8577== Conditional jump or move depends on uninitialised value(s)
==8577== at 0x53D2AEA: FoFiBase::getU16BE(int, int*) (FoFiBase.cc:121)
==8577== by 0x53D91BD: FoFiType1C::getIndex(int, Type1CIndex*, int*)
(FoFiType1C.cc:2540)
==8577== by 0x53DAD25: FoFiType1C::parse() (FoFiType1C.cc:1854)
==8577== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==8577== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==8577== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==8577== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==8577== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==8577== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==8577== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==8577== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==8577== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8577==
==8577== Conditional jump or move depends on uninitialised value(s)
==8577== at 0x53D2AEA: FoFiBase::getU16BE(int, int*) (FoFiBase.cc:121)
==8577== by 0x53D91BD: FoFiType1C::getIndex(int, Type1CIndex*, int*)
(FoFiType1C.cc:2540)
==8577== by 0x53DAD37: FoFiType1C::parse() (FoFiType1C.cc:1855)
==8577== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==8577== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==8577== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==8577== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==8577== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==8577== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==8577== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==8577== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==8577== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8577== Conditional jump or move depends on uninitialised value(s)
==8577== at 0x53D2AEA: FoFiBase::getU16BE(int, int*) (FoFiBase.cc:121)
==8577== by 0x53D91BD: FoFiType1C::getIndex(int, Type1CIndex*, int*)
(FoFiType1C.cc:2540)
==8577== by 0x53DAD49: FoFiType1C::parse() (FoFiType1C.cc:1856)
==8577== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==8577== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==8577== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==8577== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==8577== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==8577== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==8577== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==8577== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==8577== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8647== Invalid read of size 1
==8647== at 0x4C26300: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Address 0x9406935 is 15 bytes after a block of size 6,710 alloc'd
==8647== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647==
==8647== Invalid read of size 1
==8647== at 0x4C26308: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Address 0x9406934 is 14 bytes after a block of size 6,710 alloc'd
==8647== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Invalid read of size 1
==8647== at 0x4C26312: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Address 0x9406933 is 13 bytes after a block of size 6,710 alloc'd
==8647== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Invalid read of size 1
==8647== at 0x4C2631C: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8647== Address 0x9406932 is 12 bytes after a block of size 6,710 alloc'd
==8647== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8647== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8647== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8647== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8647== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8647== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Invalid read of size 1
==8657== at 0x4C263C8: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Address 0x9745eb6 is 0 bytes after a block of size 6,710 alloc'd
==8657== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657==
==8657== Invalid read of size 1
==8657== at 0x4C263D1: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Address 0x9745eb7 is 1 bytes after a block of size 6,710 alloc'd
==8657== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Invalid read of size 1
==8657== at 0x4C263B8: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Address 0x9745eb8 is 2 bytes after a block of size 6,710 alloc'd
==8657== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657==
==8657== Invalid read of size 1
==8657== at 0x4C263BF: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Address 0x9745eb9 is 3 bytes after a block of size 6,710 alloc'd
==8657== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Invalid read of size 1
==8657== at 0x4C26410: memcpy (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x84783E6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8477954: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x847980B: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8657== Address 0x9745ec4 is 14 bytes after a block of size 6,710 alloc'd
==8657== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==8657== by 0x845E4EF: ft_mem_qalloc (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x845FE42: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479DF6: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x8479EAB: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x846048F: (within /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84628DD: FT_Open_Face (in /usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x84636FF: FT_New_Memory_Face (in
/usr/lib64/libfreetype.so.6.3.18)
==8657== by 0x53F1EDA:
SplashFTFontFile::loadType1Font(SplashFTFontEngine*, SplashFontFileID*,
SplashFontSrc*, char**) (SplashFTFontFile.cc:52)
==8657== by 0x53F2C73:
SplashFontEngine::loadType1Font(SplashFontFileID*, SplashFontSrc*,
char**) (SplashFontEngine.cc:141)
==8657== by 0x531F0E6: SplashOutputDev::doUpdateFont(GfxState*)
(SplashOutputDev.cc:1070)
==8657== by 0x531F39B: SplashOutputDev::drawChar(GfxState*, double,
double, double, double, double, double, unsigned, int, unsigned*, int)
(SplashOutputDev.cc:1359)
==8677== Conditional jump or move depends on uninitialised value(s)
==8677== at 0x53220EB: JPXStream::fillReadBuf() (JPXStream.cc:409)
==8677== by 0x53222D4: JPXStream::getChar() (JPXStream.cc:368)
==8677== by 0x53A1450: ImageStream::getLine() (Stream.cc:451)
==8677== by 0x531DBB4: SplashOutputDev::imageSrc(void*, unsigned
char*, unsigned char*) (SplashOutputDev.cc:1833)
==8677== by 0x53E8A06: Splash::drawImage(int (*)(void*, unsigned
char*, unsigned char*), void*, SplashColorMode, int, int, int, double*)
(Splash.cc:2693)
==8677== by 0x531D41E: SplashOutputDev::drawImage(GfxState*, Object*,
Stream*, int, int, GfxImageColorMap*, int*, int) (SplashOutputDev.cc:2060)
==8677== by 0x535EBB9: Gfx::doImage(Object*, Stream*, int) (Gfx.cc:3865)
==8677== by 0x5363286: Gfx::opXObject(Object*, int) (Gfx.cc:3526)
==8677== by 0x535465C: Gfx::go(int) (Gfx.cc:642)
==8677== by 0x5358B75: Gfx::display(Object*, int) (Gfx.cc:611)
==8677== by 0x535B0FB: Gfx::doForm1(Object*, Dict*, double*, double*,
int, int, GfxColorSpace*, int, int, int, Function*, GfxColor*) (Gfx.cc:4043)
==8677== by 0x536363A: Gfx::doSoftMask(Object*, int, GfxColorSpace*,
int, int, Function*, GfxColor*) (Gfx.cc:1212)
==8801== Use of uninitialised value of size 8
==8801== at 0x5324A96: JPXStream::readTilePartData(unsigned,
unsigned, int) (JPXStream.cc:1951)
==8801== by 0x5325B6C: JPXStream::readTilePart() (JPXStream.cc:1924)
==8801== by 0x5327094: JPXStream::readCodestream(unsigned)
(JPXStream.cc:1366)
==8801== by 0x53290C5: JPXStream::readBoxes() (JPXStream.cc:735)
==8801== by 0x5329265: JPXStream::reset() (JPXStream.cc:272)
==8801== by 0x531D37F: SplashOutputDev::drawImage(GfxState*, Object*,
Stream*, int, int, GfxImageColorMap*, int*, int) (SplashOutputDev.cc:1991)
==8801== by 0x535EBB9: Gfx::doImage(Object*, Stream*, int) (Gfx.cc:3865)
==8801== by 0x5363286: Gfx::opXObject(Object*, int) (Gfx.cc:3526)
==8801== by 0x535465C: Gfx::go(int) (Gfx.cc:642)
==8801== by 0x5358B75: Gfx::display(Object*, int) (Gfx.cc:611)
==8801== by 0x535B0FB: Gfx::doForm1(Object*, Dict*, double*, double*,
int, int, GfxColorSpace*, int, int, int, Function*, GfxColor*) (Gfx.cc:4043)
==8801== by 0x5362E4B: Gfx::doForm(Object*) (Gfx.cc:3971)
==8801==
==8801== Invalid read of size 8
==8801== at 0x5324A96: JPXStream::readTilePartData(unsigned,
unsigned, int) (JPXStream.cc:1951)
==8801== by 0x5325B6C: JPXStream::readTilePart() (JPXStream.cc:1924)
==8801== by 0x5327094: JPXStream::readCodestream(unsigned)
(JPXStream.cc:1366)
==8801== by 0x53290C5: JPXStream::readBoxes() (JPXStream.cc:735)
==8801== by 0x5329265: JPXStream::reset() (JPXStream.cc:272)
==8801== by 0x531D37F: SplashOutputDev::drawImage(GfxState*, Object*,
Stream*, int, int, GfxImageColorMap*, int*, int) (SplashOutputDev.cc:1991)
==8801== by 0x535EBB9: Gfx::doImage(Object*, Stream*, int) (Gfx.cc:3865)
==8801== by 0x5363286: Gfx::opXObject(Object*, int) (Gfx.cc:3526)
==8801== by 0x535465C: Gfx::go(int) (Gfx.cc:642)
==8801== by 0x5358B75: Gfx::display(Object*, int) (Gfx.cc:611)
==8801== by 0x535B0FB: Gfx::doForm1(Object*, Dict*, double*, double*,
int, int, GfxColorSpace*, int, int, int, Function*, GfxColor*) (Gfx.cc:4043)
==8801== by 0x5362E4B: Gfx::doForm(Object*) (Gfx.cc:3971)
==8801== Address 0x6a332e0a88 is not stack'd, malloc'd or (recently) free'd
==8912== Invalid read of size 8
==8912== at 0x531E088: SplashOutputDev::type3D1(GfxState*, double,
double, double, double, double, double) (SplashOutputDev.cc:1562)
==8912== by 0x535465C: Gfx::go(int) (Gfx.cc:642)
==8912== by 0x5358B75: Gfx::display(Object*, int) (Gfx.cc:611)
==8912== by 0x539B2AF: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:438)
==8912== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==8912== by 0x40A9B5: pdf2jpg::TopupJpegThreads(int, astring const&)
(pdf2jpg.cpp:156)
==8912== by 0x40B3B1: pdf2jpg::Execute(int, char const*, char const*,
int) (pdf2jpg.cpp:99)
==8912== by 0x406BD8: Daemon::ExtractImages(int) (daemon.cpp:176)
==8912== by 0x407C3C: Daemon::StartDaemon() (daemon.cpp:89)
==8912== by 0x40D7A0: Main::StartDaemon(_Daemon&) (main.cpp:103)
==8912== by 0x40BDE6: main (pdfautoflipd.cpp:21)
==8912== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==9003== Conditional jump or move depends on uninitialised value(s)
==9003== at 0x53DACE4: FoFiType1C::parse() (FoFiType1C.cc:1848)
==9003== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==9003== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==9003== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==9003== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==9003== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==9003== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==9003== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==9003== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==9003== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==9003== by 0x40A9B5: pdf2jpg::TopupJpegThreads(int, astring const&)
(pdf2jpg.cpp:156)
==9003== by 0x40B3B1: pdf2jpg::Execute(int, char const*, char const*,
int) (pdf2jpg.cpp:99)
==9003==
==9003== Conditional jump or move depends on uninitialised value(s)
==9003== at 0x53D2A67: FoFiBase::getU8(int, int*) (FoFiBase.cc:96)
==9003== by 0x53DAD15: FoFiType1C::parse() (FoFiType1C.cc:1854)
==9003== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==9003== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==9003== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==9003== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==9003== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==9003== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==9003== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==9003== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==9003== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
==9003== by 0x40A9B5: pdf2jpg::TopupJpegThreads(int, astring const&)
(pdf2jpg.cpp:156)
==9003==
==9003== Conditional jump or move depends on uninitialised value(s)
==9003== at 0x53D2AEA: FoFiBase::getU16BE(int, int*) (FoFiBase.cc:121)
==9003== by 0x53D91BD: FoFiType1C::getIndex(int, Type1CIndex*, int*)
(FoFiType1C.cc:2540)
==9003== by 0x53DAD25: FoFiType1C::parse() (FoFiType1C.cc:1854)
==9003== by 0x53E10AB: FoFiType1C::make(char*, int) (FoFiType1C.cc:35)
==9003== by 0x5369A58: Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref,
GooString*, GfxFontType, Dict*) (GfxFont.cc:699)
==9003== by 0x536D72C: GfxFont::makeFont(XRef*, char*, Ref, Dict*)
(GfxFont.cc:143)
==9003== by 0x536D933: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2051)
==9003== by 0x535AD21: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:313)
==9003== by 0x535DD6B: Gfx::Gfx(XRef*, OutputDev*, int, Dict*,
Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int
(*)(void*), void*) (Gfx.cc:502)
==9003== by 0x539AF12: Page::createGfx(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:404)
==9003== by 0x539B173: Page::displaySlice(OutputDev*, double, double,
int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*,
int (*)(Annot*, void*), void*) (Page.cc:433)
==9003== by 0x40A756: pdf2jpg::GetSplash(int) (pdf2jpg.cpp:176)
More information about the poppler
mailing list