Bug 104354 - poppler-0.62.0 - crash while parsing GfxRadialShape
Summary: poppler-0.62.0 - crash while parsing GfxRadialShape
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 18:51 UTC by LE GARREC Vincent
Modified: 2018-01-05 21:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
bool.pdf (314 bytes, application/pdf)
2017-12-20 18:51 UTC, LE GARREC Vincent
Details
num.pdf (227 bytes, application/pdf)
2017-12-20 18:53 UTC, LE GARREC Vincent
Details
abort_on_dead_object.pdf (904 bytes, application/pdf)
2018-01-05 19:50 UTC, LE GARREC Vincent
Details
abort_on_stream_reset.pdf (1.27 KB, application/pdf)
2018-01-05 19:53 UTC, LE GARREC Vincent
Details

Description LE GARREC Vincent 2017-12-20 18:51:02 UTC
Dear,

I found a new bunch of pdf for testing poppler.

Please find enclosed two pdf that make evince crashes while parsing GfxRadialShape. One during a Object::getBool, one during Object::getNum.

Regards,
Comment 1 LE GARREC Vincent 2017-12-20 18:51:37 UTC
Created attachment 136331 [details]
bool.pdf
Comment 2 LE GARREC Vincent 2017-12-20 18:53:08 UTC
Output :
Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error: End of file inside dictionary
Syntax Warning: No valid XRef size in trailer
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: Pages top-level is a single Page. The document is malformed, trying to recover...
Syntax Error (120): Dictionary key must be a name object
Syntax Error (124): Dictionary key must be a name object
Syntax Error (125): Dictionary key must be a name object
Syntax Error (134): Dictionary key must be a name object
Syntax Error (215): Dictionary key must be a name object
Syntax Error (219): Dictionary key must be a name object
Syntax Error (220): Dictionary key must be a name object
Syntax Error (234): Dictionary key must be a name object
Syntax Error (277): Dictionary key must be a name object
Syntax Error (281): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (289): Dictionary key must be a name object
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside dictionary
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (69): Bad 'Length' attribute in stream
Syntax Error: Invalid XRef entry
Syntax Error (90): Missing 'endstream' or incorrect stream length
Syntax Error (215): Dictionary key must be a name object
Syntax Error (219): Dictionary key must be a name object
Syntax Error (220): Dictionary key must be a name object
Syntax Error (234): Dictionary key must be a name object
Syntax Error (277): Dictionary key must be a name object
Syntax Error (281): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (289): Dictionary key must be a name object
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (277): Dictionary key must be a name object
Syntax Error (281): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (289): Dictionary key must be a name object
Syntax Error (303): Dictionary key must be a name object
Syntax Error (309): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Internal Error (0): Call to Object where the object was type 1, not the expected type 0

Program received signal SIGABRT, Aborted.




#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff6d62caf in __GI_abort () at abort.c:90
#2  0x00007ffff77fe25a in Object::getBool (this=<optimized out>, this=<optimized out>) at /home/legarrec/info/programmation/poppler/poppler/Object.h:216
#3  GfxRadialShading::parse (res=res@entry=0x5555557d5c40, dict=dict@entry=0x5555557dae30, out=out@entry=0x5555557d7420, state=state@entry=0x5555557da850)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:4288
#4  0x00007ffff780a483 in GfxShading::parse (res=res@entry=0x5555557d5c40, obj=obj@entry=0x7fffffffcee0, out=out@entry=0x5555557d7420, 
    state=state@entry=0x5555557da850) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3582
#5  0x00007ffff780a784 in GfxShadingPattern::parse (res=res@entry=0x5555557d5c40, patObj=patObj@entry=0x7fffffffd010, out=out@entry=0x5555557d7420, 
    state=state@entry=0x5555557da850, patternRefNum=patternRefNum@entry=5) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3482
#6  0x00007ffff780b2de in GfxPattern::parse (res=res@entry=0x5555557d5c40, obj=obj@entry=0x7fffffffd010, out=out@entry=0x5555557d7420, 
    state=state@entry=0x5555557da850, patternRefNum=5) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3350
#7  0x00007ffff772f3ad in GfxResources::lookupPattern (this=<optimized out>, name=<optimized out>, out=0x5555557d7420, state=0x5555557da850)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:462
#8  0x00007ffff7736565 in Gfx::opSetFillColorN (this=0x5555557d97e0, args=<optimized out>, numArgs=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:1603
#9  0x00007ffff7752e41 in Gfx::go (this=this@entry=0x5555557d97e0, topLevel=topLevel@entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:738
#10 0x00007ffff7754d94 in Gfx::display (this=this@entry=0x5555557d97e0, obj=obj@entry=0x7fffffffd4b0, topLevel=topLevel@entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:700
#11 0x00007ffff78aa931 in Page::displaySlice (this=0x5555557d72b0, out=0x5555557d7420, hDPI=108, vDPI=108, rotate=0, useMediaBox=<optimized out>, 
    crop=<optimized out>, sliceX=sliceX@entry=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, 
    annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0, copyXRef=false) at /home/legarrec/info/programmation/poppler/poppler/Page.cc:560
#12 0x00007ffff78ab19f in Page::display (this=<optimized out>, out=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, rotate=<optimized out>, 
    useMediaBox=<optimized out>, crop=<optimized out>, printing=<optimized out>, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, 
    annotDisplayDecideCbkData=0x0, copyXRef=false) at /home/legarrec/info/programmation/poppler/poppler/Page.cc:481
#13 0x00007ffff78c08c5 in PDFDoc::displayPages (this=0x5555557d56c0, out=0x5555557d7420, firstPage=<optimized out>, lastPage=1, hDPI=108, vDPI=108, rotate=0, 
    useMediaBox=true, crop=false, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0)
    at /home/legarrec/info/programmation/poppler/poppler/PDFDoc.cc:513
#14 0x00005555555611c8 in main (argc=<optimized out>, argv=<optimized out>) at /home/legarrec/info/programmation/poppler/utils/pdftohtml.cc:392
Comment 3 LE GARREC Vincent 2017-12-20 18:53:32 UTC
Created attachment 136332 [details]
num.pdf
Comment 4 LE GARREC Vincent 2017-12-20 18:54:29 UTC
Output:

Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error: End of file inside dictionary
Syntax Warning: No valid XRef size in trailer
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: Pages top-level is a single Page. The document is malformed, trying to recover...
Syntax Error (120): Dictionary key must be a name object
Syntax Error (124): Dictionary key must be a name object
Syntax Error (125): Dictionary key must be a name object
Syntax Error (134): Dictionary key must be a name object
Syntax Error (171): Illegal character '>'
Syntax Error (190): Dictionary key must be a name object
Syntax Error (194): Dictionary key must be a name object
Syntax Error (195): Dictionary key must be a name object
Syntax Error (202): Dictionary key must be a name object
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside dictionary
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (69): Bad 'Length' attribute in stream
Syntax Error: Invalid XRef entry
Syntax Error (90): Missing 'endstream' or incorrect stream length
Syntax Error (171): Illegal character '>'
Syntax Error (190): Dictionary key must be a name object
Syntax Error (194): Dictionary key must be a name object
Syntax Error (195): Dictionary key must be a name object
Syntax Error (202): Dictionary key must be a name object
Syntax Error (216): Dictionary key must be a name object
Syntax Error (222): Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Internal Error (0): Call to Object where the object was type 10, not the expected type 1, 14 or 2

Program received signal SIGABRT, Aborted.



Backtrace:
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff6d62caf in __GI_abort () at abort.c:90
#2  0x00007ffff77ff470 in Object::getNum (this=<optimized out>) at /home/legarrec/info/programmation/poppler/poppler/Object.h:222
#3  GfxRadialShading::parse (res=res@entry=0x5555557d5c40, dict=dict@entry=0x5555557da710, out=out@entry=0x5555557d6e70, state=state@entry=0x5555557da130)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:4248
#4  0x00007ffff780a483 in GfxShading::parse (res=res@entry=0x5555557d5c40, obj=obj@entry=0x7fffffffcee0, out=out@entry=0x5555557d6e70, 
    state=state@entry=0x5555557da130) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3582
#5  0x00007ffff780a784 in GfxShadingPattern::parse (res=res@entry=0x5555557d5c40, patObj=patObj@entry=0x7fffffffd010, out=out@entry=0x5555557d6e70, 
    state=state@entry=0x5555557da130, patternRefNum=patternRefNum@entry=5) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3482
#6  0x00007ffff780b2de in GfxPattern::parse (res=res@entry=0x5555557d5c40, obj=obj@entry=0x7fffffffd010, out=out@entry=0x5555557d6e70, 
    state=state@entry=0x5555557da130, patternRefNum=5) at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3350
#7  0x00007ffff772f3ad in GfxResources::lookupPattern (this=<optimized out>, name=<optimized out>, out=0x5555557d6e70, state=0x5555557da130)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:462
#8  0x00007ffff7736565 in Gfx::opSetFillColorN (this=0x5555557d9270, args=<optimized out>, numArgs=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:1603
#9  0x00007ffff7752e41 in Gfx::go (this=this@entry=0x5555557d9270, topLevel=topLevel@entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:738
#10 0x00007ffff7754d94 in Gfx::display (this=this@entry=0x5555557d9270, obj=obj@entry=0x7fffffffd4b0, topLevel=topLevel@entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:700
#11 0x00007ffff78aa931 in Page::displaySlice (this=0x5555557d6d00, out=0x5555557d6e70, hDPI=108, vDPI=108, rotate=0, useMediaBox=<optimized out>, 
    crop=<optimized out>, sliceX=sliceX@entry=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, 
    annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0, copyXRef=false) at /home/legarrec/info/programmation/poppler/poppler/Page.cc:560
#12 0x00007ffff78ab19f in Page::display (this=<optimized out>, out=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, rotate=<optimized out>, 
    useMediaBox=<optimized out>, crop=<optimized out>, printing=<optimized out>, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, 
    annotDisplayDecideCbkData=0x0, copyXRef=false) at /home/legarrec/info/programmation/poppler/poppler/Page.cc:481
#13 0x00007ffff78c08c5 in PDFDoc::displayPages (this=0x5555557d56c0, out=0x5555557d6e70, firstPage=<optimized out>, lastPage=1, hDPI=108, vDPI=108, rotate=0, 
    useMediaBox=true, crop=false, printing=false, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0)
    at /home/legarrec/info/programmation/poppler/poppler/PDFDoc.cc:513
#14 0x00005555555611c8 in main (argc=<optimized out>, argv=<optimized out>) at /home/legarrec/info/programmation/poppler/utils/pdftohtml.cc:392
Comment 5 LE GARREC Vincent 2017-12-20 19:01:39 UTC
And I think that same problem could appears with dict "Domain". No idea with "Function".
Comment 6 Albert Astals Cid 2017-12-20 23:18:30 UTC
For the record, it does not crash, it aborts, it's still as bad for the user, but it is not exploitable.
Comment 7 Albert Astals Cid 2018-01-04 22:13:36 UTC
Fix pushed.
Comment 8 LE GARREC Vincent 2018-01-05 19:50:56 UTC
Created attachment 136574 [details]
abort_on_dead_object.pdf

Thanks for the patch. It removes me all crashes but two pdf that abort on same kind of problem.

Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Warning: No valid XRef size in trailer
Internal Error (0): Call to dead object

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff719ccaf in __GI_abort () at abort.c:90
#2  0x00007ffff7abc602 in Object::isNull (this=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Object.h:196
#3  XRef::fetch (this=this@entry=0x5555557b1d70, num=1, gen=0, 
    recursion=recursion@entry=0)
    at /home/legarrec/info/programmation/poppler/poppler/XRef.cc:1126
#4  0x00007ffff7abd19c in XRef::getCatalog (this=0x5555557b1d70)
    at /home/legarrec/info/programmation/poppler/poppler/XRef.cc:1103
#5  0x00007ffff7a25b45 in Catalog::Catalog (this=0x5555557b2160, 
    docA=0x5555557b16c0)
    at /home/legarrec/info/programmation/poppler/poppler/Catalog.cc:106
#6  0x00007ffff7aa2da8 in PDFDoc::setup (this=this@entry=0x5555557b16c0, 
    ownerPassword=ownerPassword@entry=0x0, userPassword=userPassword@entry=0x0)
    at /home/legarrec/info/programmation/poppler/poppler/PDFDoc.cc:293
#7  0x00007ffff7aa2f3c in PDFDoc::PDFDoc (this=0x5555557b16c0, 
    fileNameA=<optimized out>, ownerPassword=0x0, userPassword=0x0, 
    guiDataA=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/PDFDoc.cc:179
#8  0x00007ffff7a98195 in LocalPDFDocBuilder::buildPDFDoc (
    this=<optimized out>, uri=..., ownerPassword=0x0, userPassword=0x0, 
    guiDataA=0x0)
    at /home/legarrec/info/programmation/poppler/poppler/LocalPDFDocBuilder.cc:31
#9  0x000055555555e505 in main (argc=<optimized out>, argv=0x7fffffffd818)
    at /home/legarrec/info/programmation/poppler/utils/pdftohtml.cc:249
Comment 9 LE GARREC Vincent 2018-01-05 19:53:45 UTC
Created attachment 136575 [details]
abort_on_stream_reset.pdf

Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Warning: No valid XRef size in trailer
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (33): Dictionary key must be a name object
Syntax Error (69): Dictionary key must be a name object
Syntax Error (72): Dictionary key must be a name object
Syntax Error (74): Dictionary key must be a name object
Syntax Error (76): Dictionary key must be a name object
Syntax Error (82): Dictionary key must be a name object
Syntax Error (282): Dictionary key must be a name object
Syntax Error (284): Dictionary key must be a name object
Syntax Error (293): Dictionary key must be a name object
Syntax Error (320): Dictionary key must be a name object
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1199): Missing 'endstream' or incorrect stream length
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside array
Syntax Error: End of file inside dictionary
Syntax Error (833): Dictionary key must be a name object
Syntax Error (835): Dictionary key must be a name object
Syntax Error (839): Dictionary key must be a name object
Syntax Error (841): Dictionary key must be a name object
Syntax Error (855): Dictionary key must be a name object
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error: Missing 'endstream' or incorrect stream length
Internal Error: xref num 9 not found but needed, try to reconstruct<0a>
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (856): Dictionary key must be a name object
Syntax Error (864): Bad 'Length' attribute in stream
Syntax Error (1287): Dictionary key must be a name object
Syntax Error (1303): Dictionary key must be a name object
Syntax Error: Dictionary key must be a name object
Syntax Error: End of file inside dictionary
Syntax Error (1285): Missing 'endstream' or incorrect stream length
Internal Error (0): Call to Object where the object was type 5, not the expected type 8

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff719ccaf in __GI_abort () at abort.c:90
#2  0x00007ffff7a931e8 in Object::streamReset (this=<optimized out>, 
    this=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Object.h:398
#3  Lexer::Lexer (this=0x5555557b1b60, xrefA=<optimized out>, 
    obj=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Lexer.cc:100
#4  0x00007ffff7a5320a in Gfx::display (this=this@entry=0x5555557b9060, 
    obj=obj@entry=0x7fffffffd4e0, topLevel=topLevel@entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:699
#5  0x00007ffff7a9ecb1 in Page::displaySlice (this=0x5555557b3c10, 
    out=0x5555557b57a0, hDPI=108, vDPI=108, rotate=0, 
    useMediaBox=<optimized out>, crop=false, sliceX=sliceX@entry=-1, 
    sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0, 
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, 
    annotDisplayDecideCbkData=0x0, copyXRef=false)
    at /home/legarrec/info/programmation/poppler/poppler/Page.cc:560
#6  0x00007ffff7a9ef28 in Page::display (this=<optimized out>, 
    out=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, 
    rotate=<optimized out>, useMediaBox=<optimized out>, crop=<optimized out>, 
    printing=<optimized out>, abortCheckCbk=0x0, abortCheckCbkData=0x0, 
    annotDisplayDecideCbk=0x0, annotDisplayDecideCbkData=0x0, copyXRef=false)
    at /home/legarrec/info/programmation/poppler/poppler/Page.cc:481
#7  0x00007ffff7aa36b9 in PDFDoc::displayPages (this=0x5555557b16c0, 
    out=0x5555557b57a0, firstPage=<optimized out>, lastPage=2, hDPI=108, 
    vDPI=108, rotate=0, useMediaBox=true, crop=false, printing=false, 
    abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0, 
    annotDisplayDecideCbkData=0x0)
    at /home/legarrec/info/programmation/poppler/poppler/PDFDoc.cc:514
#8  0x000055555555ec9d in main (argc=<optimized out>, argv=<optimized out>)
    at /home/legarrec/info/programmation/poppler/utils/pdftohtml.cc:392

Thanks
Comment 10 Albert Astals Cid 2018-01-05 21:22:06 UTC
Please open different bugs for each file. Those two files have nothing to do with GfxRadialShape


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.