pdftotext crashed with SIGSEGV in Dict::lookup()

Bug #213852 reported by Michael Babcock
18
Affects Status Importance Assigned to Milestone
Poppler
Won't Fix
Medium
poppler (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

It crashed out overnight, I believe it was linked to the file indexing that the tracker program was doing at the time. As the only other thing that was still running was Transmission, since I was downloading a couple of torrent files.

Using Ubuntu Hardy (Development branch), 8.04 beta.

ProblemType: Crash
Architecture: amd64
Date: Tue Apr 8 01:37:18 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pdftotext
NonfreeKernelModules: fglrx ath_hal
Package: poppler-utils 0.6.4-1
PackageArchitecture: amd64
ProcCmdline: pdftotext -enc UTF-8 -q -nopgbrk /home/username/Downloads/torrentfile.ext /tmp/Tracker-username.6325/tmp_text_file_7G7X8T
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: poppler
StacktraceTop:
 Dict::lookup () from /usr/lib/libpoppler.so.2
 FormField::FormField ()
 FormFieldButton::FormFieldButton ()
 Form::createFieldFromDict ()
 FormField::FormField ()
Title: pdftotext crashed with SIGSEGV in Dict::lookup()
Uname: Linux 2.6.24-15-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy lpadmin netdev plugdev powerdev scanner vboxusers video

Tags: apport-crash
Revision history for this message
Michael Babcock (babcock-michael) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:FormField (this=0x62fa40, xrefA=0x62f340,
FormFieldButton (this=0x7ffcf874c455,
Form::createFieldFromDict (this=0x62eef0,
FormField (this=0x62f9e0, xrefA=0x62f340,
Form::createFieldFromDict (this=0x62eef0,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

From stacktrace it appears this occurred in libpoppler.

description: updated
Revision history for this message
In , Pedro Villavicencio (pedro) wrote :
Download full text (3.2 KiB)

this bug has been reported here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/213852

"It crashed out overnight, I believe it was linked to the file indexing that the tracker program was doing at the time. As the only other thing that was still running was Transmission, since I was downloading a couple of torrent files."

".
Thread 1 (process 12665):
#0 Dict::lookup (this=0x7ffcf874c455, key=0x7ffcf8773c9c "Subtype",
    obj=0x7fff00c1af30) at Dict.cc:61
No locals.
#1 0x00007ffcf86cde54 in FormField (this=0x62fa40, xrefA=0x62f340,
    aobj=0x7fff00c1b0e0, aref=<value optimized out>,
    aform=<value optimized out>, ty=<value optimized out>) at Object.h:259
No locals.
#2 0x00007ffcf86ce501 in FormFieldButton (this=0x7ffcf874c455,
    xrefA=0x7ffcf8773c9c, aobj=0x7fff00c1af30, ref=@0x0,
    form=0xfefefefefefefeff) at Form.cc:809
No locals.
#3 0x00007ffcf86cd4e0 in Form::createFieldFromDict (this=0x62eef0,
    obj=0x7fff00c1b0e0, ptr=0x6321b0, xrefA=0x62f340, pref=@0x7fff00c1b100)
    at Form.cc:1155
 obj2 = {type = objName, {booln = 6498288, intg = 6498288,
    real = 3.2105808575824223e-317, string = 0x6327f0, name = 0x6327f0 "Btn",
    array = 0x6327f0, dict = 0x6327f0, stream = 0x6327f0, ref = {
      num = 6498288, gen = 0}, cmd = 0x6327f0 "Btn"}}
#4 0x00007ffcf86cdbb5 in FormField (this=0x62f9e0, xrefA=0x62f340,
    aobj=0x7fff00c1b1e0, aref=<value optimized out>,
    aform=<value optimized out>, ty=<value optimized out>) at Form.cc:700
No locals.
#5 0x00007ffcf86cd3ed in Form::createFieldFromDict (this=0x62eef0,
    obj=0x7fff00c1b1e0, ptr=0x62fba0, xrefA=0x62f340, pref=@0x7fff00c1b1f0)
    at Form.cc:1163
 obj2 = {type = objNull, {booln = 12693968, intg = 12693968,
    real = 6.9531442354212576e-310, string = 0x7fff00c1b1d0,
    name = 0x7fff00c1b1d0 "\t", array = 0x7fff00c1b1d0, dict = 0x7fff00c1b1d0,
    stream = 0x7fff00c1b1d0, ref = {num = 12693968, gen = 32767},
    cmd = 0x7fff00c1b1d0 "\t"}}
#6 0x00007ffcf86cd63d in Form (this=0x62eef0, xrefA=0x62f340,
    acroForm=<value optimized out>) at Form.cc:1107
No locals.
#7 0x00007ffcf86c3b50 in Catalog (this=0x62f3e0, xrefA=<value optimized out>)
    at Catalog.cc:59
No locals.
#8 0x00007ffcf871d809 in PDFDoc::setup (this=0x62ef50, ownerPassword=0x0,
    userPassword=0x0) at PDFDoc.cc:206
No locals.
#9 0x00007ffcf871d9ff in PDFDoc (this=0x62ef50,
    fileNameA=<value optimized out>, ownerPassword=0x0, userPassword=0x0,
    guiDataA=<value optimized out>) at PDFDoc.cc:102
No locals.
#10 0x0000000000401b0f in main (argc=3, argv=0x7fff00c1b4d8)
    at pdftotext.cc:152
 doc = (PDFDoc *) 0x62ef50
 fileName = (GooString *) 0x604010
 textFileName = <value optimized out>
 ownerPW = (GooString *) 0x0
 userPW = (GooString *) 0x0
 textOut = <value optimized out>
 f = <value optimized out>
 uMap = (UnicodeMap *) 0x62ed70
 info = {type = objNone, {booln = 4204389, intg = 4204389,
    real = 2.0772441666528327e-317, string = 0x402765,
    name = 0x402765 "H\205ít\0341Û\017\037@", array = 0x402765,
    dict = 0x402765, stream = 0x402765, ref = {num = 4204389, gen = 0},
    cmd = 0x402765 "H\205ít\0341Û\017\037@"}}
 ok = <value optimized out>
 p = <valu...

Read more...

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

He ran pdftotext on something called /home/username/Downloads/torrentfile.ext which does not seem to be a pdf, crashing of course is not ok, but without the exact /home/username/Downloads/torrentfile.ext that made the app crash there's little we can do.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=15459

Changed in poppler:
status: New → Triaged
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

One year after me asking the file noone has answered, closing the crash. Please reopen if you have the file that makes pdftotext crash.

Changed in poppler:
status: Confirmed → Won't Fix
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream closed the bug since there is no recent duplicate and that seem fixed in the current version, you can reopen if you still get the issue though

Changed in poppler (Ubuntu):
status: Triaged → Fix Released
Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.