pdftex/libpoppler crashed with SIGSEGV in strlen()

Bug #410242 reported by Robert Jordens
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
texlive-bin (Ubuntu)
Fix Released
High
Unassigned
Nominated for Karmic by Andreas Moog

Bug Description

Probably due to the recent libppler upgrade, pdflatex crashes on including a graphic.
Testcase:

cp /usr/share/doc/texlive-doc/latex/feyn/feyn.pdf .
cat t.tex

\documentclass{revtex4}
\usepackage{graphicx}
\begin{document}
\begin{figure}
    \includegraphics{feyn}
\end{figure}
\end{document}

pdflatex t.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./t.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, basque, french, german, ngerman, ibycus, greek, monogreek, ancientg
reek, latin, spanish, catalan, galician, loaded.
(/usr/share/texmf-texlive/tex/latex/revtex/revtex4.cls
Document Class: revtex4 2001/08/02 v4.0 (http://publish.aps.org/revtex4/ for do
cumentation)
ltxutil: portions licensed from W. E. Baxter (<email address hidden>)
ltxgrid: portions licensed from W. E. Baxter (<email address hidden>)
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty)
(/usr/share/texmf-texlive/tex/latex/revtex/revsymb.sty))

Class revtex4 Warning: No Society specified, using generic APS style.

(/usr/share/texmf-texlive/tex/latex/revtex/aps.rtx)
(/usr/share/texmf-texlive/tex/latex/revtex/10pt.rtx)
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) (./t.aux)
Segmentation fault (core dumped)

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Fri Aug 7 13:26:04 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/pdftex
Package: texlive-base-bin 2007.dfsg.2-6ubuntu2
ProcCmdline: pdflatex paper.tex
ProcVersionSignature: Ubuntu 2.6.31-4.23-generic
SegvAnalysis:
 Segfault happened at: 0xaf7ffb <strlen+11>: cmp %ch,(%eax)
 PC (0x00af7ffb) ok
 source "%ch" ok
 destination "(%eax)" (0x00000001) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: texlive-bin
StacktraceTop:
 strlen () from /lib/tls/i686/cmov/libc.so.6
 GlobalParams::scanEncodingDirs() ()
 GlobalParams::GlobalParams(char const*) ()
 ?? ()
 ?? ()
Title: pdftex crashed with SIGSEGV in strlen()
Uname: Linux 2.6.31-4-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm libvirtd lpadmin openpcd plugdev polkituser scard thinkfinger vboxusers video

Related branches

Revision history for this message
Robert Jordens (jordens) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:strlen () at ../sysdeps/i386/i486/strlen.S:40
GlobalParams::scanEncodingDirs (this=0x9cd33c0)
GlobalParams (this=0x9cd33c0, customPopplerDataDir=0x0)
read_pdf_info (image_name=0x9cd3360 "./d_versus_rho.pdf",
readimage (s=8717, page_num=1, page_name=0, colorspace=0,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in texlive-bin (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Robert Jordens (jordens)
visibility: private → public
Revision history for this message
Andreas Moog (ampelbein) wrote :

Confirmed. texlive-bin needs to be rebuilt against the new poppler, debdiff attached. You can try the texlive-bin from my ppa at https://edge.launchpad.net/~amoog/+archive/amoog-devel which fixes the issue.

Changed in texlive-bin (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Moog (ampelbein) wrote :

texlive-bin (2007.dfsg.2-6ubuntu3) karmic; urgency=low

  * rebuild for new libpoppler, fixes various crashes (LP: #410242)
  * debian/patches/65_fix_getline_glibc2.10.patch: fix FTBFS by renaming
    included getline-functions to not conflict with glibc provided getline.
  * debian/fix-manpages.sh: quote special chars in sed command

 -- Andreas Moog <email address hidden> Mon, 10 Aug 2009 16:23:59 +0200

Revision history for this message
Andreas Moog (ampelbein) wrote :
Revision history for this message
David Vonka (vonkad) wrote :

Oh, this really scared me. When even TeX crashes, there is no fixed point in the world any more ...

The ppa version works all right. Thanks a lot, Andreas.

Revision history for this message
Andreas Moog (ampelbein) wrote :

Raising importance since this causes several FTBFS of other packages.

Changed in texlive-bin (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
Revision history for this message
Aron Xu (happyaron) wrote :

I have got a bug likely from the same origin, but reported before Ampelbein on #ubuntu-devel told me this bug.
https://bugs.edge.launchpad.net/ubuntu/+source/texlive-bin/+bug/413964

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package texlive-bin - 2007.dfsg.2-6ubuntu3

---------------
texlive-bin (2007.dfsg.2-6ubuntu3) karmic; urgency=low

  * rebuild for new libpoppler, fixes various crashes (LP: #410242)
  * debian/patches/65_fix_getline_glibc2.10.patch: fix FTBFS by renaming
    included getline-functions to not conflict with glibc provided getline.
  * debian/fix-manpages.sh: quote special chars in sed command

 -- Andreas Moog <email address hidden> Mon, 10 Aug 2009 16:23:59 +0200

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

Other bug subscribers

Remote bug watches

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