[poppler] infinite running pdftops

Matt LaPlante mattl at google.com
Thu Feb 3 15:24:25 PST 2011


On Thu, Feb 3, 2011 at 5:23 PM, Albert Astals Cid <aacid at kde.org> wrote:

> A Dijous, 3 de febrer de 2011, Matt LaPlante va escriure:
> > I occasionally run into cups servers in which pdftops will be running
> > seemingly forever against a single pdf.  Currently we're using 0.16.1.  I
> > would love to be able to provide one of the PDFs in question, but
> > unfortunately this is a business environment and most of the files are
> > confidential.  I'm hoping there is some other way we can work towards
> > debugging the situation.
> >
> > I have one such pdf sitting in front of me now.  The pdftops
> -origpagesize
> > -level2 [pdf] just keeps churning and churning.  It produced a sizable
> .ps
> > file almost immediately, then it just stops writing data, even though the
> > process is still running.  The .ps file never appears to grow, even if
> left
> > for several more minutes.  This behavior hangs up cups something awful,
> but
> > I can also reproduce it manually.
> >
> > I fired up the process in gdb, waited for a few minutes, and then stopped
> > the process.  Each time, the output was:
> >
> > 0x00007ffff7b3e254 in Splash::pipeRun (this=<value optimized out>,
> > pipe=0x7fffffffd350) at Splash.cc:402
> > 402     Splash.cc: No such file or directory.
> >         in Splash.cc
> >
> > 0x00007ffff7b3e269 in Splash::pipeRun (this=<value optimized out>,
> > pipe=0x7fffffffd350) at Splash.cc:405
> > 405     Splash.cc: No such file or directory.
> >         in Splash.cc
> >
> > Splash::pipeRun (this=0x7872d0, pipe=0x7fffffffd350) at Splash.cc:399
> > 399     Splash.cc: No such file or directory.
> >         in Splash.cc
> >
> > Seems to be fairly consistently doing Splash:pipeRun.  I'm not familiar
> > with the source, and not sure if this is helpful or not, but I'd be glad
> > to gather other info upon request.
>
> A single function doesn't help much, give us a few backtraces.
>


#0  0x00007ffff7b3e25d in Splash::pipeRun (this=<value optimized out>,
pipe=0x7fffffffd350) at Splash.cc:404
#1  0x00007ffff7b3f07b in Splash::drawSpan (this=0x27d5580,
pipe=0x7fffffffd350, x0=885, x1=<value optimized out>, y=2945, noClip=255)
at Splash.cc:770
#2  0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27d5580,
path=<value optimized out>, eo=<value optimized out>, pattern=<value
optimized out>,
    alpha=<value optimized out>) at Splash.cc:1651
#3  0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value
optimized out>) at SplashOutputDev.cc:1634
#4  0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized
out>, numArgs=<value optimized out>) at Gfx.cc:1763
#5  0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#6  0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=80) at Gfx.cc:678
#7  0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized
out>, resDict=<value optimized out>, matrix=<value optimized out>,
bbox=0x7fffffffd8b0,
    transpGroup=true, softMask=false, blendingColorSpace=0x27cd860,
isolated=false, knockout=false, alpha=false, transferFunc=0x0,
backdropColor=0x0) at Gfx.cc:4525
#8  0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at
Gfx.cc:4451
#9  0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value
optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953
#10 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#11 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=80) at Gfx.cc:678
#12 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10,
hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>,
    useMediaBox=<value optimized out>, crop=<value optimized out>,
sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at Page.cc:482
#13 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390,
page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120,
sliceX=-1, sliceY=-1, sliceW=-1,
    sliceH=-1, printing=<value optimized out>, catalog=0x61a930,
abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012
#14 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390,
hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value
optimized out>,
    sliceX=255, sliceY=-1, sliceW=-1, sliceH=-1, printing=true,
catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0,
    annotDisplayDecideCbkData=0x0) at Page.cc:466
#15 0x00007ffff7ae3e7b in Page::display (this=0xff, out=0x7fffffffd350,
hDPI=0, vDPI=2550, rotate=0, useMediaBox=false, crop=<value optimized out>,
    printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0,
abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at Page.cc:411
#16 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>,
out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value
optimized out>,
    hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452
#17 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at
pdftops.cc:373

.........................

#0  0x00007ffff7b3ef83 in Splash::drawSpan (this=0x27d5fa0,
pipe=0x7fffffffd350, x0=<value optimized out>, x1=<value optimized out>,
y=411, noClip=true) at Splash.cc:768
#1  0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27d5fa0,
path=<value optimized out>, eo=<value optimized out>, pattern=<value
optimized out>,
    alpha=<value optimized out>) at Splash.cc:1651
#2  0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value
optimized out>) at SplashOutputDev.cc:1634
#3  0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized
out>, numArgs=<value optimized out>) at Gfx.cc:1763
#4  0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#5  0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=204) at Gfx.cc:678
#6  0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized
out>, resDict=<value optimized out>, matrix=<value optimized out>,
bbox=0x7fffffffd8b0,
    transpGroup=true, softMask=false, blendingColorSpace=0x27cd2d0,
isolated=false, knockout=false, alpha=false, transferFunc=0x0,
backdropColor=0x0) at Gfx.cc:4525
#7  0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at
Gfx.cc:4451
#8  0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value
optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953
#9  0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#10 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=204) at Gfx.cc:678
#11 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10,
hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>,
    useMediaBox=<value optimized out>, crop=<value optimized out>,
sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at Page.cc:482
#12 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390,
page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120,
sliceX=-1, sliceY=-1, sliceW=-1,
    sliceH=-1, printing=<value optimized out>, catalog=0x61a930,
abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012
#13 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390,
hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value
optimized out>,
    sliceX=65025, sliceY=-1, sliceW=-1, sliceH=-1, printing=true,
catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0,
    annotDisplayDecideCbkData=0x0) at Page.cc:466
#14 0x00007ffff7ae3e7b in Page::display (this=0xff, out=0xcc, hDPI=0,
vDPI=2550, rotate=-298964, useMediaBox=153, crop=<value optimized out>,
printing=<value optimized out>,
    catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:411
#15 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>,
out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value
optimized out>,
    hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452
#16 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at
pdftops.cc:373

.........................

#0  Splash::pipeRun (this=<value optimized out>, pipe=0x7fffffffd350) at
Splash.cc:448
#1  0x00007ffff7b3f07b in Splash::drawSpan (this=0x27cd360,
pipe=0x7fffffffd350, x0=1285, x1=<value optimized out>, y=719, noClip=255)
at Splash.cc:770
#2  0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27cd360,
path=<value optimized out>, eo=<value optimized out>, pattern=<value
optimized out>,
    alpha=<value optimized out>) at Splash.cc:1651
#3  0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value
optimized out>) at SplashOutputDev.cc:1634
#4  0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized
out>, numArgs=<value optimized out>) at Gfx.cc:1763
#5  0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#6  0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=80) at Gfx.cc:678
#7  0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized
out>, resDict=<value optimized out>, matrix=<value optimized out>,
bbox=0x7fffffffd8b0,
    transpGroup=true, softMask=false, blendingColorSpace=0x27e80f0,
isolated=false, knockout=false, alpha=false, transferFunc=0x0,
backdropColor=0x0) at Gfx.cc:4525
#8  0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at
Gfx.cc:4451
#9  0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value
optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953
#10 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized
out>) at Gfx.cc:711
#11 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized
out>, topLevel=80) at Gfx.cc:678
#12 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10,
hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>,
    useMediaBox=<value optimized out>, crop=<value optimized out>,
sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at Page.cc:482
#13 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390,
page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120,
sliceX=-1, sliceY=-1, sliceW=-1,
    sliceH=-1, printing=<value optimized out>, catalog=0x61a930,
abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012
#14 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390,
hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value
optimized out>,
    sliceX=255, sliceY=-1, sliceW=-1, sliceH=-1, printing=true,
catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0,
    annotDisplayDecideCbkData=0x0) at Page.cc:466
#15 0x00007ffff7ae3e7b in Page::display (this=0xff, out=0x7fffffffd350,
hDPI=0, vDPI=2550, rotate=0, useMediaBox=153, crop=<value optimized out>,
    printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0,
abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at Page.cc:411
#16 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>,
out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value
optimized out>,
    hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value
optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true,
abortCheckCbk=0,
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0,
annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452
#17 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at
pdftops.cc:373




>
> Albert
>
> >
> > Thanks,
> > M@
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110203/c4bae1a5/attachment-0001.htm>


More information about the poppler mailing list