View Issue Details

IDProjectCategoryView StatusLast Update
0001127libextractorpluginspublic2006-09-06 13:35
Reporterkoollman Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSlinuxOS Version2.6.16-gentoo
Product Version0.5.14 
Summary0001127: Segfault while using extract on a particular pdf file
DescriptionWhile running extract on a set of pdf files, one particular file
constantly produce a segfault.
Steps To Reproduceextract "D&D 3.0 - Malladins Gate Press - Forgotten Heroes - Paladin.pdf"
Additional InformationPlease do not distribute this file, I join it only for bug reproduction purpose

The file works well with xpdf, but pdf2ps has the same problem (segfault)

The only difference I found (I am not an expert in pdf format) is the tool
used to produce it ... pdfinfo report:
Producer: Amyuni PDF Converter
PDF version: 1.3

gdb trace:
(gdb) r "D&D 3.0 - Malladins Gate Press - Forgotten Heroes - Paladin.pdf"
Starting program: /usr/bin/extract "D&D 3.0 - Malladins Gate Press - Forgotten Heroes - Paladin.pdf"
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1209906416 (LWP 16717)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209906416 (LWP 16717)]
0xb7e95a63 in strlen () from /lib/libc.so.6
(gdb) where
#0 0xb7e9fa63 in strlen () from /lib/libc.so.6
#1 0xb7c7d5b6 in libextractor_pdf_extract () from /usr/lib/libextractor/libextractor_pdf.so
#2 0xb7e9a3b0 in free () from /lib/libc.so.6
#3 0xbfa99fc4 in ?? ()
#4 0x002789cd in ?? ()
#5 0xb79819d6 in ?? ()
#6 0xbfa99fd0 in ?? ()
#7 0x002789ed in ?? ()
#8 0xb7c7dc0c in ?? () from /usr/lib/libextractor/libextractor_pdf.so
#9 0xb7c7dbfd in ?? () from /usr/lib/libextractor/libextractor_pdf.so
#10 0xb79cf44e in ?? () from /usr/lib/libextractor/libextractor_gif.so
#11 0xbfa9a170 in ?? ()
#12 0xbfa9a16c in ?? ()
#13 0xb79819ed in ?? ()
#14 0xb7e3ea14 in ?? () from /lib/libc.so.6
#15 0xb7e43b58 in ?? () from /lib/libc.so.6
#16 0xbfa9a033 in ?? ()
#17 0xb7c7dc20 in ?? () from /usr/lib/libextractor/libextractor_pdf.so
#18 0xb79806c2 in ?? ()
#19 0x0805a6d8 in ?? ()
#20 0xb7f60002 in ?? () from /lib/libc.so.6
#21 0xb7f9cfd4 in ?? () from /lib/ld-linux.so.2
#22 0x0805cf90 in ?? ()
#23 0x002789e9 in ?? ()
#24 0x002776ef in ?? ()
#25 0x00000000 in ?? ()
(gdb)
TagsNo tags attached.

Activities

koollman

2006-08-02 07:13

reporter   ~0002732

oops, the upload failed .... the file is here : http://koolltrash.free.fr/.pdf/D&D%203.0%20-%20Malladins%20Gate%20Press%20-%20Forgotten%20Heroes%20-%20Paladin.pdf
the segfault have been verified on another system too

Christian Grothoff

2006-09-05 16:10

manager   ~0002740

In SVN 3357. Thanks for reporting!

Christian Grothoff

2006-09-05 16:24

manager   ~0002743

I've done some changes in SVN 3358 and 3359 which should hopefully fix the issue for OS X for HEAD. It'd be wonderful if someone could try it.

Issue History

Date Modified Username Field Change
2006-07-29 08:47 koollman New Issue
2006-08-02 07:13 koollman Note Added: 0002732
2006-09-05 15:54 Christian Grothoff Status new => assigned
2006-09-05 15:54 Christian Grothoff Assigned To => Christian Grothoff
2006-09-05 16:10 Christian Grothoff Status assigned => resolved
2006-09-05 16:10 Christian Grothoff Resolution open => fixed
2006-09-05 16:10 Christian Grothoff Note Added: 0002740
2006-09-05 16:24 Christian Grothoff Note Added: 0002743
2006-09-06 13:35 Christian Grothoff Status resolved => closed