FS#55721 - pdflatex crashes when including some PDFs with embedded fonts

Attached to Project: Arch Linux
Opened by Matthew Lawson (the_vorpal_blade) - Saturday, 23 September 2017, 21:50 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Monday, 25 September 2017, 21:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using pdflatex to compile a tex file which includes a pdf file that itself has embedded fonts,
pdflatex crashes with the error:

"Internal Error (0): Call to Object where the object was type 5, not the expected type 8"

This error has also been reported to poppler here:
https://bugs.freedesktop.org/show_bug.cgi?id=102952

where multiple people confirm that downgrading to poppler 0.57 fixes the issue.
One of the folks on the thread suggested that this patch might be the issue:
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/texlive-bin&id=9d93b64063f7d98568d4f029453c7edf5597a7b4

I've attached a MWE including a pdf file that triggers the issue (generated today with inkscape) and a
.tex file that includes it and when compiled results in the error.

When exporting a inkscape drawing as a PDF, if you choose to convert text to paths, there is no issue.
Interestingly, when including other PDFs that have embedded text (like those produced by pdflatex) there is also
no issue.


Additional info:
extra/texlive-bin 2017.44590-3 [installed]
extra/poppler 0.59.0-1 [installed]

pdflatex --version gives:
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux)
kpathsea version 6.2.3
Compiled with libpng 1.6.32; using libpng 1.6.32
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with poppler version 0.59.0


Steps to reproduce:
* Download the attachments and place them both in the same directory
* run pdflatx mwe.tex

This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Monday, 25 September 2017, 21:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-bin 2017.44590-4
Comment by Georgi Georgiev (ggf) - Sunday, 24 September 2017, 15:23 GMT
Same problem here.
Rolling back to poppler-0.57.0 and recompiling texlive-bin from ABS r305912 (prelast) worked.
Comment by Rémy Oudompheng (remyoudompheng) - Monday, 25 September 2017, 21:09 GMT
Thanks for the report. The patch for poppler 0.59 compatibility contained a logic bug, triggering the issue.
The package texlive-bin 2017.44590-4 fixes it.

Loading...