<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 5:23 PM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org">aacid@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
A Dijous, 3 de febrer de 2011, Matt LaPlante va escriure:<br>
<div><div></div><div class="h5">> I occasionally run into cups servers in which pdftops will be running<br>
> seemingly forever against a single pdf. Currently we're using 0.16.1. I<br>
> would love to be able to provide one of the PDFs in question, but<br>
> unfortunately this is a business environment and most of the files are<br>
> confidential. I'm hoping there is some other way we can work towards<br>
> debugging the situation.<br>
><br>
> I have one such pdf sitting in front of me now. The pdftops -origpagesize<br>
> -level2 [pdf] just keeps churning and churning. It produced a sizable .ps<br>
> file almost immediately, then it just stops writing data, even though the<br>
> process is still running. The .ps file never appears to grow, even if left<br>
> for several more minutes. This behavior hangs up cups something awful, but<br>
> I can also reproduce it manually.<br>
><br>
> I fired up the process in gdb, waited for a few minutes, and then stopped<br>
> the process. Each time, the output was:<br>
><br>
> 0x00007ffff7b3e254 in Splash::pipeRun (this=<value optimized out>,<br>
> pipe=0x7fffffffd350) at Splash.cc:402<br>
> 402 Splash.cc: No such file or directory.<br>
> in Splash.cc<br>
><br>
> 0x00007ffff7b3e269 in Splash::pipeRun (this=<value optimized out>,<br>
> pipe=0x7fffffffd350) at Splash.cc:405<br>
> 405 Splash.cc: No such file or directory.<br>
> in Splash.cc<br>
><br>
> Splash::pipeRun (this=0x7872d0, pipe=0x7fffffffd350) at Splash.cc:399<br>
> 399 Splash.cc: No such file or directory.<br>
> in Splash.cc<br>
><br>
> Seems to be fairly consistently doing Splash:pipeRun. I'm not familiar<br>
> with the source, and not sure if this is helpful or not, but I'd be glad<br>
> to gather other info upon request.<br>
<br>
</div></div>A single function doesn't help much, give us a few backtraces.<br></blockquote><div><br></div><div><br></div><div><div>#0 0x00007ffff7b3e25d in Splash::pipeRun (this=<value optimized out>, pipe=0x7fffffffd350) at Splash.cc:404</div>
<div>#1 0x00007ffff7b3f07b in Splash::drawSpan (this=0x27d5580, pipe=0x7fffffffd350, x0=885, x1=<value optimized out>, y=2945, noClip=255) at Splash.cc:770</div><div>#2 0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27d5580, path=<value optimized out>, eo=<value optimized out>, pattern=<value optimized out>,</div>
<div> alpha=<value optimized out>) at Splash.cc:1651</div><div>#3 0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value optimized out>) at SplashOutputDev.cc:1634</div><div>#4 0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:1763</div>
<div>#5 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#6 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=80) at Gfx.cc:678</div>
<div>#7 0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized out>, resDict=<value optimized out>, matrix=<value optimized out>, bbox=0x7fffffffd8b0,</div><div> transpGroup=true, softMask=false, blendingColorSpace=0x27cd860, isolated=false, knockout=false, alpha=false, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4525</div>
<div>#8 0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at Gfx.cc:4451</div><div>#9 0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953</div>
<div>#10 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#11 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=80) at Gfx.cc:678</div>
<div>#12 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>,</div><div> useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:482</div><div>#13 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390, page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120, sliceX=-1, sliceY=-1, sliceW=-1,</div>
<div> sliceH=-1, printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012</div><div>#14 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390, hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value optimized out>,</div>
<div> sliceX=255, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0,</div><div> annotDisplayDecideCbkData=0x0) at Page.cc:466</div><div>
#15 0x00007ffff7ae3e7b in Page::display (this=0xff, out=0x7fffffffd350, hDPI=0, vDPI=2550, rotate=0, useMediaBox=false, crop=<value optimized out>,</div><div> printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:411</div>
<div>#16 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>, out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value optimized out>,</div><div> hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452</div><div>#17 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at pdftops.cc:373</div><div><br>
</div><div>.........................</div><div><br></div><div>#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</div>
<div>#1 0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27d5fa0, path=<value optimized out>, eo=<value optimized out>, pattern=<value optimized out>,</div><div> alpha=<value optimized out>) at Splash.cc:1651</div>
<div>#2 0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value optimized out>) at SplashOutputDev.cc:1634</div><div>#3 0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:1763</div>
<div>#4 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#5 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=204) at Gfx.cc:678</div>
<div>#6 0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized out>, resDict=<value optimized out>, matrix=<value optimized out>, bbox=0x7fffffffd8b0,</div><div> transpGroup=true, softMask=false, blendingColorSpace=0x27cd2d0, isolated=false, knockout=false, alpha=false, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4525</div>
<div>#7 0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at Gfx.cc:4451</div><div>#8 0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953</div>
<div>#9 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#10 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=204) at Gfx.cc:678</div>
<div>#11 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>,</div><div> useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:482</div><div>#12 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390, page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120, sliceX=-1, sliceY=-1, sliceW=-1,</div>
<div> sliceH=-1, printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012</div><div>#13 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390, hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value optimized out>,</div>
<div> sliceX=65025, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0,</div><div> annotDisplayDecideCbkData=0x0) at Page.cc:466</div><div>
#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>,</div><div> catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:411</div>
<div>#15 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>, out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value optimized out>,</div><div> hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452</div><div>#16 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at pdftops.cc:373</div><div><br>
</div><div>.........................</div><div><br></div><div>#0 Splash::pipeRun (this=<value optimized out>, pipe=0x7fffffffd350) at Splash.cc:448</div><div>#1 0x00007ffff7b3f07b in Splash::drawSpan (this=0x27cd360, pipe=0x7fffffffd350, x0=1285, x1=<value optimized out>, y=719, noClip=255) at Splash.cc:770</div>
<div>#2 0x00007ffff7b357a3 in Splash::fillWithPattern (this=0x27cd360, path=<value optimized out>, eo=<value optimized out>, pattern=<value optimized out>,</div><div> alpha=<value optimized out>) at Splash.cc:1651</div>
<div>#3 0x00007ffff7a52ffe in SplashOutputDev::fill (this=0x780a10, state=<value optimized out>) at SplashOutputDev.cc:1634</div><div>#4 0x00007ffff7a9f415 in Gfx::opFill (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:1763</div>
<div>#5 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#6 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=80) at Gfx.cc:678</div>
<div>#7 0x00007ffff7a9d88c in Gfx::doForm1 (this=0x780e40, str=<value optimized out>, resDict=<value optimized out>, matrix=<value optimized out>, bbox=0x7fffffffd8b0,</div><div> transpGroup=true, softMask=false, blendingColorSpace=0x27e80f0, isolated=false, knockout=false, alpha=false, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4525</div>
<div>#8 0x00007ffff7aa642e in Gfx::doForm (this=0x780e40, str=0x7fffffffd9c0) at Gfx.cc:4451</div><div>#9 0x00007ffff7aa6965 in Gfx::opXObject (this=0x780e40, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:3953</div>
<div>#10 0x00007ffff7a99e30 in Gfx::go (this=0x780e40, topLevel=<value optimized out>) at Gfx.cc:711</div><div>#11 0x00007ffff7a9a295 in Gfx::display (this=0x780e40, obj=<value optimized out>, topLevel=80) at Gfx.cc:678</div>
<div>#12 0x00007ffff7ae3cb6 in Page::displaySlice (this=0x670020, out=0x780a10, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>,</div><div> useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:482</div><div>#13 0x00007ffff7b00aa5 in PSOutputDev::checkPageSlice (this=0x61b390, page=0x670020, rotateA=0, useMediaBox=<value optimized out>, crop=120, sliceX=-1, sliceY=-1, sliceW=-1,</div>
<div> sliceH=-1, printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0) at PSOutputDev.cc:3012</div><div>#14 0x00007ffff7ae3b93 in Page::displaySlice (this=0x670020, out=0x61b390, hDPI=0, vDPI=2550, rotate=0, useMediaBox=<value optimized out>, crop=<value optimized out>,</div>
<div> sliceX=255, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0,</div><div> annotDisplayDecideCbkData=0x0) at Page.cc:466</div><div>
#15 0x00007ffff7ae3e7b in Page::display (this=0xff, out=0x7fffffffd350, hDPI=0, vDPI=2550, rotate=0, useMediaBox=153, crop=<value optimized out>,</div><div> printing=<value optimized out>, catalog=0x61a930, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:411</div>
<div>#16 0x00007ffff7ae9476 in PDFDoc::displayPages (this=<value optimized out>, out=<value optimized out>, firstPage=<value optimized out>, lastPage=<value optimized out>,</div><div> hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=true, printing=true, abortCheckCbk=0,</div>
<div> abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:452</div><div>#17 0x0000000000401fa4 in main (argc=2, argv=<value optimized out>) at pdftops.cc:373</div></div><div>
<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Albert<br>
<br>
><br>
> Thanks,<br>
> M@<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote></div><br>