Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303015 - app-text/texlive-core-2009 pdflatex segmentation fault
Summary: app-text/texlive-core-2009 pdflatex segmentation fault
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 20:00 UTC by Raimar Sandner
Modified: 2010-02-15 00:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Minimal example (needs pdffile.pdf) (example.tex,219 bytes, text/plain)
2010-01-31 20:02 UTC, Raimar Sandner
Details
included in example.latex (pdffile.pdf,6.49 KB, text/plain)
2010-01-31 20:02 UTC, Raimar Sandner
Details
minimal example (needs pdffile.pdf) (example.latex,219 bytes, text/plain)
2010-01-31 20:04 UTC, Raimar Sandner
Details
backtrace (backtrace.log,854 bytes, text/plain)
2010-01-31 20:04 UTC, Raimar Sandner
Details
system information (systeminfo.txt,15.79 KB, text/plain)
2010-01-31 20:05 UTC, Raimar Sandner
Details
log of most minimal testcase using beamer class (pdflatex-beamer-crash.log,9.88 KB, text/plain)
2010-02-14 22:23 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raimar Sandner 2010-01-31 20:00:50 UTC
pdflatex segfaults on inclusion of a pdf file.

Minimal example and backtrace is attached. Segmentation fault does not occur if file extension is tex instead of latex. 

Reproducible: Always

Steps to Reproduce:
1. pdflatex example.latex
Segmentation fault

2. mv example.latex example.tex; pdflatex example.tex
No segmentation fault
Comment 1 Raimar Sandner 2010-01-31 20:02:10 UTC
Created attachment 218012 [details]
Minimal example (needs pdffile.pdf)
Comment 2 Raimar Sandner 2010-01-31 20:02:56 UTC
Created attachment 218014 [details]
included in example.latex
Comment 3 Raimar Sandner 2010-01-31 20:04:10 UTC
Created attachment 218016 [details]
minimal example (needs pdffile.pdf)
Comment 4 Raimar Sandner 2010-01-31 20:04:58 UTC
Created attachment 218018 [details]
backtrace
Comment 5 Raimar Sandner 2010-01-31 20:05:31 UTC
Created attachment 218020 [details]
system information
Comment 6 Raimar Sandner 2010-02-02 20:15:24 UTC
I forgot to mention that the segmentation fault occurs on the second and all following runs.
Comment 7 qqqqqqqqq9 2010-02-04 12:53:47 UTC
Hi, 

i have the same problem with pdflatex, when i use the documentclass beamer.
The file extension doesn't matter. With texlive-2008 the same document compiles without problems.

\documentclass{beamer}
\begin{document}
   \begin{frame}
      \includegraphics{test.pdf}
   \end{frame}
\end{document}
Comment 8 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2010-02-06 21:15:38 UTC
I were experiencing the exact same issue. I think it started after a recent poppler update. It seems that after rebuilding all texlive related packages I had installed the issue has gone away.
Comment 9 Raimar Sandner 2010-02-07 17:24:41 UTC
Rebuilding all texlive related packages doesn't change the situation for me.
Comment 10 MJ 2010-02-11 17:42:16 UTC
emerge -1 texlive-core texlive-basic texlive-documentation-base texlive-fontsextra texlive-fontsrecommended texlive-latex texlive-latexextra texlive-latexrecommended texlive-metapost

solved the problem for me.
Comment 11 Dennis Schridde 2010-02-14 22:12:00 UTC
I have the same issue as described in comment #7, and remerging app-text/texlive-core dev-texlive/texlive-basic dev-texlive/texlive-latex does not fix the issue.
Comment 12 Dennis Schridde 2010-02-14 22:23:31 UTC
Created attachment 219721 [details]
log of most minimal testcase using beamer class

(In reply to comment #11)
> I have the same issue as described in comment #7, and remerging
> app-text/texlive-core dev-texlive/texlive-basic dev-texlive/texlive-latex does
> not fix the issue.
In fact even a reduced testcase produces this issue:
\documentclass{beamer}
\begin{document}
\end{document}

Log and backtrace of this example attached.

[I] app-text/texlive-core (2009-r1@14/02/10): A complete TeX distribution
[I] dev-texlive/texlive-documentation-base (2009@27/01/10): TeXLive TeX Live documentation
[I] dev-texlive/texlive-fontsrecommended (2009@27/01/10): TeXLive Recommended fonts
[I] dev-texlive/texlive-genericrecommended (2009@27/01/10): TeXLive Recommended generic packages
[I] dev-texlive/texlive-langgerman (2009@27/01/10): TeXLive German
[I] dev-texlive/texlive-latexrecommended (2009@27/01/10): TeXLive LaTeX recommended packages
[I] dev-texlive/texlive-mathextra (2009@27/01/10): TeXLive Advanced math typesetting
[I] dev-texlive/texlive-pictures (2009@14/02/10): TeXLive Graphics packages and programs
[I] dev-texlive/texlive-pstricks (2009@27/01/10): TeXLive PSTricks packages
[I] dev-texlive/texlive-science (2009@27/01/10): TeXLive Typesetting for natural and computer sciences
[I] dev-texlive/texlive-latex (2009@14/02/10): TeXLive Basic LaTeX packages
[I] dev-texlive/texlive-latexextra (2009@27/01/10): TeXLive LaTeX supplementary packages
[I] dev-texlive/texlive-basic (2009@14/02/10): TeXLive Essential programs and files
Comment 13 Dennis Schridde 2010-02-14 23:16:23 UTC
Rebuilding app-text/poppler, app-text/texlive-core, dev-tex/luatex, in this specific order, solved the issue!

[I] app-text/texlive-core (2009-r1@14/02/10): A complete TeX distribution
[I] app-text/poppler (0.12.3-r3@14/02/10): PDF rendering library based on the xpdf-3.0 code base
[I] dev-tex/luatex (0.50.0-r1@15/02/10): An extended version of pdfTeX using Lua as an embedded scripting language.

Portage 2.2_rc62 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r5 i686)                 
=================================================================                                                  
System uname: Linux-2.6.32-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1                   
Timestamp of tree: Sun, 14 Feb 2010 11:15:01 +0000                                                                 
distcc 3.1 i686-pc-linux-gnu [enabled]                                                                             
app-shells/bash:     4.1_p2                                                                                        
dev-java/java-config: 2.1.10                                                                                       
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                                                            
dev-python/pycrypto: 2.1.0                                                                                         
dev-util/cmake:      2.8.0-r2                                                                                      
sys-apps/baselayout: 2.0.1                                                                                         
sys-apps/openrc:     0.6.0-r1                                                                                      
sys-apps/sandbox:    2.2                                                                                           
sys-devel/autoconf:  2.13, 2.65                                                                                    
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                            
sys-devel/binutils:  2.20                                                                                          
sys-devel/gcc:       4.4.3                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                        
sys-devel/libtool:   2.2.6b                                                                                        
virtual/os-headers:  2.6.32                                                                                        
ACCEPT_KEYWORDS="x86 ~x86"                                                                                         
ACCEPT_LICENSE="* -@EULA"                                                                                          
CBUILD="i686-pc-linux-gnu"                                                                                         
CFLAGS="-pipe -march=i686 -mtune=generic -mmmx -msse -msse2 -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"                                                                                                  
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                                                 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                        
CXXFLAGS="-pipe -march=i686 -mtune=generic -mmmx -msse -msse2 -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -fstack-protector"                    
DISTDIR="/var/cache/portage/distfiles"                                                                                                           
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                                                                                             
FEATURES="assume-digests distcc distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox usersync"                                                                                       
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"                                                    
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/java-overlay /var/cache/portage/layman/kde /var/cache/portage/layman/sunrise /var/cache/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Raimar Sandner 2010-02-15 00:14:48 UTC
Confirming solution described in comment #13. Closing.