[pdftex] pdftex core dump when including certain pdf files

Andre Wobst sender.pdftex at wobsta.de
Sun Jul 10 23:47:30 CEST 2016


We recently got told by a PyX user, that recent versions of pdftex (in our
tests on Ubuntu 16.04) core dumps when embedding certain PDF files. An example
is attached to the bug report

We investigated in detail what causes the issue and found out that this
happens when the font descriptors contain non-integer values. While usually
those data can be taken from the AFM file, we have a fallback in place (similar
to pdftex) to extract estimated values from the font data directly. For
non-integer values of StemV pdftex core dumps.

In the PDF reference the StemV value is said to be a "number" which are
specified to be either integers or floats.

(In the mean time we applied a patch to PyX to output integer values for the
font descriptor values.)

Note that the issue is not present in an older version of TeX Live on OS X.



by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
   / \ \    / )   lists at wobsta.de, http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

More information about the pdftex mailing list