[Poppler-bugs] [Bug 42793] New: pdftotext program crash while parsing the PDF document. poppler-0.18.x

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 10 09:49:55 PST 2011


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

             Bug #: 42793
           Summary: pdftotext program crash while parsing the PDF
                    document. poppler-0.18.x
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: medium
         Component: utils
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: npauls at gmail.com


[npaul at my33smsm ~/work/pdf/poppler-0.18.1/utils/.libs]$ gdb ./pdftotext
../pdftotext.59604.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `pdftotext'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/usr/home/npaul/work/pdf/poppler-0.18.1/poppler/.libs/libpoppler.so.19...done.
Loaded symbols for
/usr/home/npaul/work/pdf/poppler-0.18.1/poppler/.libs/libpoppler.so.19
Reading symbols from /usr/local/lib/liblcms.so.1...done.
Loaded symbols for /usr/local/lib/liblcms.so.1
Reading symbols from /usr/local/lib/libpng.so.6...done.
Loaded symbols for /usr/local/lib/libpng.so.6
Reading symbols from /usr/local/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000080079b452 in TextWord (this=0x80195c300, state=Variable "state" is
not available.
) at GfxState.h:1322
1322        { fillColorSpace->getRGB(&fillColor, rgb); }
[New Thread 0x801901120 (LWP 100286)]
(gdb) bt
#0  0x000000080079b452 in TextWord (this=0x80195c300, state=Variable "state" is
not available.
) at GfxState.h:1322
#1  0x000000080079b6cd in TextPage::beginWord (this=0x80195f0e0,
state=0x801974c00, x0=79.849999999999994, y0=569) at TextOutputDev.cc:2162
#2  0x000000080079be86 in TextPage::addChar (this=0x80195f0e0,
state=0x801974c00, x=79.849999999999994, y=569, dx=16.392000000000003, dy=0,
c=86, nBytes=1, u=0x801973d58, uLen=1)
    at TextOutputDev.cc:2261
#3  0x000000080071c213 in Gfx::doShowText (this=0x80196d100, s=0x801929890) at
Gfx.cc:3915
#4  0x000000080071cb01 in Gfx::opShowText (this=0x80196d100,
args=0x7fffffffe490, numArgs=Variable "numArgs" is not available.
) at Gfx.cc:3701
#5  0x0000000800711969 in Gfx::go (this=0x80196d100, topLevel=true) at
Gfx.cc:711
#6  0x0000000800719d46 in Gfx::display (this=0x80196d100, obj=0x7fffffffe7d0,
topLevel=Variable "topLevel" is not available.
) at Gfx.cc:678
#7  0x00000008007620db in Page::displaySlice (this=0x80195c260,
out=0x80195c080, hDPI=72, vDPI=72, rotate=0, useMediaBox=Variable "useMediaBox"
is not available.
) at Page.cc:483
#8  0x0000000800762168 in Page::display (this=Variable "this" is not available.
) at Page.cc:412
#9  0x0000000800766de1 in PDFDoc::displayPages (this=0x801930080,
out=0x80195c080, firstPage=Variable "firstPage" is not available.
) at PDFDoc.cc:453
#10 0x0000000000403a40 in main (argc=3, argv=0x7fffffffeb78) at
pdftotext.cc:374

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list