<div dir="ltr"><div>Dear all,</div><div><br></div><div>I can add another test case for the segfault.</div><div><br></div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Since at least two days ago, the Markdown package [has failed to compile XeLaTeX example document][1] with TeX Live pretest due to a segmentation fault with AMD64 binaries for Linux:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">- [Compilation logs from 2024-02-28][4] (success)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">- [Compilation logs from 2024-03-03][2] (failure)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">- [Compilation logs from 2024-03-05][3] (failure)</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"> [1]: <a href="https://github.com/Witiko/markdown/actions">https://github.com/Witiko/markdown/actions</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> [2]: <a href="https://github.com/Witiko/markdown/actions/runs/8127770761/job/22212974098">https://github.com/Witiko/markdown/actions/runs/8127770761/job/22212974098</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> [3]: <a href="https://github.com/Witiko/markdown/actions/runs/8151062393/job/22278370166">https://github.com/Witiko/markdown/actions/runs/8151062393/job/22278370166</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> [4]: <a href="https://github.com/Witiko/markdown/actions/runs/8075304001">https://github.com/Witiko/markdown/actions/runs/8075304001</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">I was able to create an MWE that reproduces the issue with current TeX Live pretest:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">```</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">$ xelatex example</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">This is XeTeX, Version 3.141592653-2.6-0.999996 (TeX Live 2024) (preloaded format=xelatex)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> \write18 enabled.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">entering extended mode</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">(./latex-xetex.tex</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">LaTeX2e <2023-11-01> patch level 1</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">L3 programming layer <2024-02-20></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">[... snip]</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">[7] [8] [9] (./_markdown_example/89a89e0981b83735997c42f3f5d93a6b.verbatim)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">(./_markdown_example/07fe0bf180fb395d67966e3c3b0b3177.verbatim) [10] [11]</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">(./example.aux) )</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Segmentation fault (core dumped)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">(see the transcript file for additional information)</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Error 35584 (driver return code) generating output;</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">file example.pdf may not be valid.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Transcript written on example.log.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">```</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">You will find an archive with the MWE attached.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Best,</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Vít Starý Novotný</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2024 at 1:28 PM Pablo González L <<a href="mailto:pablgonz@educarchile.cl">pablgonz@educarchile.cl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> With a fully updated TL2024 pretest I can confirm that<br>
><br>
> \documentclass{article}<br>
> \usepackage{graphicx}<br>
> \begin{document}<br>
> \includegraphics{example-image.pdf}<br>
><br>
> \includegraphics{example-image.pdf}<br>
> \end{document}<br>
><br>
> fails when typeset with xelatex but typesets fine with pdflatex and lualatex.<br>
><br>
Under fedora linux 39 I get (TL24 updated as of today)<br>
Error 139 (driver return code) generating output;<br>
file test.pdf may not be valid.<br>
Transcript written on test.log.<br>
<br>
But under windows 11 (TL24 updated as of today) it compiles without problems.<br>
</blockquote></div>