Bug 104518 - poppler-master: abort on stream reset
Summary: poppler-master: abort on stream reset
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: 2018-01-06 20:45 UTC by LE GARREC Vincent
Modified: 2018-01-08 22:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
abort_on_stream_reset.pdf (1.27 KB, application/pdf)
2018-01-06 20:45 UTC, LE GARREC Vincent
Details

Description LE GARREC Vincent 2018-01-06 20:45:56 UTC
Created attachment 136587 [details]
abort_on_stream_reset.pdf

Backtrace:
#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
Comment 1 LE GARREC Vincent 2018-01-06 20:46:38 UTC
Console output:

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 (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
Comment 2 Albert Astals Cid 2018-01-08 22:34:52 UTC
Fixed, thanks :)


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.