Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121480 - poppler-0.5.0-r3 now crashes on uv-design.pdf
Summary: poppler-0.5.0-r3 now crashes on uv-design.pdf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-03 15:08 UTC by Jan Spitalnik
Modified: 2006-02-06 04:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Spitalnik 2006-02-03 15:08:21 UTC
Hi,

This version has applied popppler-0.5.0-fontimprove.patch patch, which causes a regression that manifests itself through crashing of kpdf (that started using poppler as it's backend with revision 3.5.1-r2).

The file that induces the crash is here:
http://opensolaris.org/os/community/networking/uv-design.pdf

Here's a backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1850465200 (LWP 22978)]
0x6e676bb3 in SplashOutputDev::updateFont (this=0x8237980, state=0x828b3e8) at GooString.h:51
51      GooString.h: No such file or directory.
        in GooString.h
Current language:  auto; currently c++
(gdb) bt
#0  0x6e676bb3 in SplashOutputDev::updateFont (this=0x8237980, state=0x828b3e8) at GooString.h:51
#1  0x6e695c75 in Gfx::opShowText (this=0x826b1b8, args=0x6e676bad, numArgs=1) at Gfx.cc:2607
#2  0x6e68c17a in Gfx::execOp (this=0x826b1b8, cmd=0x6e676bad, args=0x6e4bd0e0, numArgs=1) at Gfx.cc:711
#3  0x6e68c391 in Gfx::go (this=0x826b1b8, topLevel=1) at Gfx.cc:579
#4  0x6e68c83f in Gfx::display (this=0x826b1b8, obj=0x8252c20, topLevel=1852271533) at Gfx.cc:542
#5  0x6e6d6764 in Page::displaySlice (this=0x823d540, out=0x8237980, hDPI=0, vDPI=0, rotate=1852271533, useMediaBox=1852271533, crop=1852271533, sliceX=1852271533,
    sliceY=1852271533, sliceW=1852271533, sliceH=1852271533, links=0x8259240, catalog=0x8238600, abortCheckCbk=0x6e676bad <SplashOutputDev::updateFont(GfxState*)+1085>,
    abortCheckCbkData=0x6e676bad, annotDisplayDecideCbk=0x6e676bad <SplashOutputDev::updateFont(GfxState*)+1085>, annotDisplayDecideCbkData=0x6e676bad) at Page.cc:374
#6  0x6e6d6854 in Page::display (this=0x6e676bad, out=0x6e676bad, hDPI=0, vDPI=0, rotate=1852271533, useMediaBox=1852271533, crop=1852271533, links=0x6e676bad,
    catalog=0x6e676bad, abortCheckCbk=0x6e676bad <SplashOutputDev::updateFont(GfxState*)+1085>, abortCheckCbkData=0x6e676bad,
    annotDisplayDecideCbk=0x6e676bad <SplashOutputDev::updateFont(GfxState*)+1085>, annotDisplayDecideCbkData=0x6e676bad) at Page.cc:257
#7  0x6e6d8caa in PDFDoc::displayPage (this=0x82381d8, out=0x8237980, page=0, hDPI=107.93949579831933, vDPI=108, rotate=0, useMediaBox=0, crop=1, doLinks=1,
    abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:372
#8  0x6e90ceff in PDFPixmapGeneratorThread::run (this=0x814d038) at page.h:92
#9  0x6f0d222c in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x6ebd12e2 in start_thread () from /lib/libpthread.so.0
1


Thanks,
       spity
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-03 15:51:09 UTC
I removed the patch from stable--candidate -r4. But I am still interested in fixing it because it is applied to upstreams cvs.
However I am not very much into c-segfault-fixing, do you maybe have an howto for that?
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-06 04:28:32 UTC
I fixed this upstream, will get into portage with the next poppler release.