[tex-live] segfault in pdflatex

Vladimir Lomov lomov.vl at gmail.com
Fri Jan 29 08:30:42 CET 2010


** Barret Rhoden [2010-01-28 17:02:24 -0800]:

> Hi - 

> pdflatex segfaults in libc when including graphics in specific
> circumstances in texlive-2009.  It is location-specific (certain
> location in the file - seems like when its near the top of a page).

> If there is a ./ at the beginning of the \graphicspath, and no path on
> the \includegraphics item, it segfaults.  If there is no \graphicspath,
> but a ./ at the beginning of the \includegraphics item, it segfaults.
> Again, this is only for a pdf at a certain location (tried with multiple
> pdfs).  

> Here's the backtrace:

> Program received signal SIGSEGV, Segmentation fault.
> 0xb7b6b17b in strlen () from /lib/libc.so.6
> (gdb) backtrace
> #0  0xb7b6b17b in strlen () from /lib/libc.so.6
> #1  0xb7e688c3 in GlobalParams::scanEncodingDirs() ()
> from /usr/lib/libpoppler.so.5 
> #2  0xb7e699cf in GlobalParams::GlobalParams(char const*) ()
> from /usr/lib/libpoppler.so.5 
> #3  0x080ce046 in ?? () 
> #4  0x080bb753 in ?? () 
> #5  0x0860a120 in ?? () 
> #6  0x00000000 in ?? ()

> That's probably not enough info to debug fully, but I can't provide
> the .tex I'm using at this time.  If there's something I can try to
> debug this more, let me know.
Yes, you should provide minimal example which will illustrate the
problem.

> If you want to follow-up with me on this, email me directly (I'm not on
> the mailing list).

I made small example that works fine:

<file sample1.tex>
\documentclass{article}

\usepackage{graphicx}

\begin{document}

%\graphicspath{./figures}

\includegraphics{./figures/sampl1.pdf}

\end{document}
</file>

Here code (asymptote) for sampl1.pdf:
<file sampl1.asy>
pair P[];

P[0] = (0,0);
P[1] = (0,1);
P[2] = (1,1);

draw(P[0]--P[1]--P[2]--cycle);
</file>

TL: TeX Live distribution (official, not distro) with today updates.

-- 
Well, the handwriting is on the floor.
		-- Joe E. Lewis


More information about the tex-live mailing list