[Poppler-bugs] [Bug 104567] New: Abort while parsing GfxGouraudTriangleShading

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 10 07:24:47 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104567

            Bug ID: 104567
           Summary: Abort while parsing GfxGouraudTriangleShading
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: legarrec.vincent at gmail.com

Created attachment 136643
  --> https://bugs.freedesktop.org/attachment.cgi?id=136643&action=edit
GfxGouraudTriangleShading_parse.pdf

Abort similar with #104354

Backtrace:
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff6d5fcaf in __GI_abort () at abort.c:90
#2  0x00007ffff7802344 in Object::getNum (this=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Object.h:230
#3  GfxGouraudTriangleShading::parse (res=res at entry=0x5555557d6590, 
    typeA=typeA at entry=4, dict=dict at entry=0x5555557daf20, str=<optimized out>, 
    out=out at entry=0x5555557d67c0, gfxState=gfxState at entry=0x5555557da790)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:4798
#4  0x00007ffff7808438 in GfxShading::parse (res=res at entry=0x5555557d6590, 
    obj=obj at entry=0x7fffffffcf20, out=out at entry=0x5555557d67c0, 
    state=state at entry=0x5555557da790)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3586
#5  0x00007ffff7808754 in GfxShadingPattern::parse (
    res=res at entry=0x5555557d6590, patObj=patObj at entry=0x7fffffffd050, 
    out=out at entry=0x5555557d67c0, state=state at entry=0x5555557da790, 
    patternRefNum=patternRefNum at entry=1)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3482
#6  0x00007ffff78092ae in GfxPattern::parse (res=res at entry=0x5555557d6590, 
    obj=obj at entry=0x7fffffffd050, out=out at entry=0x5555557d67c0, 
    state=state at entry=0x5555557da790, patternRefNum=1)
    at /home/legarrec/info/programmation/poppler/poppler/GfxState.cc:3350
#7  0x00007ffff772be1d in GfxResources::lookupPattern (this=<optimized out>, 
    name=<optimized out>, out=0x5555557d67c0, state=0x5555557da790)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:462
#8  0x00007ffff7732fd5 in Gfx::opSetFillColorN (this=0x5555557d9490, 
    args=<optimized out>, numArgs=<optimized out>)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:1603
#9  0x00007ffff774f841 in Gfx::go (this=this at entry=0x5555557d9490, 
    topLevel=topLevel at entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:738
#10 0x00007ffff7751794 in Gfx::display (this=this at entry=0x5555557d9490, 
    obj=obj at entry=0x7fffffffd4f0, topLevel=topLevel at entry=true)
    at /home/legarrec/info/programmation/poppler/poppler/Gfx.cc:700
#11 0x00007ffff78a8aa1 in Page::displaySlice (this=0x5555557d93c0, 
    out=0x5555557d67c0, hDPI=108, vDPI=108, rotate=0, 
    useMediaBox=<optimized out>, crop=<optimized out>, sliceX=sliceX at 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 0x00007ffff78a930f 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 0x00007ffff78bee15 in PDFDoc::displayPages (this=0x5555557d56c0, 
    out=0x5555557d67c0, 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:520
#14 0x00005555555612e8 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/legarrec/info/programmation/poppler/utils/pdftohtml.cc:392

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180110/43897da3/attachment.html>


More information about the Poppler-bugs mailing list