Menu

#13 Invalid free, abort

v1.0_(example)
open
nobody
None
1
2015-01-20
2013-11-27
realazthat
No

Error: Invalid free occured:

    Program received signal SIGABRT, Aborted.
    0xb7b85245 in raise () from /lib/libc.so.6
    (gdb) bt
    #0  0xb7b85245 in raise () from /lib/libc.so.6
    #1  0xb7b86ac3 in abort () from /lib/libc.so.6
    #2  0xb7bc7035 in __libc_message () from /lib/libc.so.6
    #3  0xb7bcd63b in malloc_printerr () from /lib/libc.so.6
    #4  0xb7bce390 in _int_free () from /lib/libc.so.6
    #5  0x0805287d in TextPage::dump(int, int) ()
    #6  0x08057e64 in XmlOutputDev::endPage() ()
    #7  0x080b1342 in Gfx::~Gfx (this=0x815e980, __in_chrg=<optimized out>) at Gfx.cc:556
    #8  0x080813d0 in Page::displaySlice (this=0x815e670, out=0x815c200, hDPI=72, vDPI=72, rotate=<optimized out>, useMediaBox=1, crop=1, 
        sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, abortCheckCbk=0x0, abortCheckCbkData=0x0) at Page.cc:385
    #9  0x08081697 in Page::display (this=0x815e670, out=0x815c200, hDPI=72, vDPI=72, rotate=0, useMediaBox=1, crop=1, printing=0, 
        abortCheckCbk=0x0, abortCheckCbkData=0x0) at Page.cc:300
    #10 0x08082608 in PDFDoc::displayPages (this=0x8158874, out=0x815c200, firstPage=5, lastPage=5, hDPI=72, vDPI=72, rotate=0, useMediaBox=1, 
        crop=1, printing=0, abortCheckCbk=0x0, abortCheckCbkData=0x0) at PDFDoc.cc:399
    #11 0x0804bd3d in PDFDocXrce::displayPages(OutputDev*, _xmlNode*, int, int, double, double, int, int, int, int, int (*)(void*), void*) ()
    #12 0x0804b2d0 in main ()

Version:

pdftoxml version 2.0
(Based on Xpdf version 3.03, Copyright 1996-2011 Glyph & Cog, LLC)

Was compiled from tarball off the latest webcvs as of yesterday.

Built with gcc version 4.6.1 (GCC), on OpenSuse 12.4.


To reproduce:

Run:

./pdftoxml.exe -verbose -f 5 -l 5 -blocks -noImage DL-1998-citeseer.pdf 5.xml

PDF is attached.

Coredump attached.

2 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel