Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Too many open files" errors with xelatex #1090

Closed
1 task done
lvjr opened this issue Apr 16, 2022 · 0 comments
Closed
1 task done

"Too many open files" errors with xelatex #1090

lvjr opened this issue Apr 16, 2022 · 0 comments
Labels
Projects
Milestone

Comments

@lvjr
Copy link

lvjr commented Apr 16, 2022

I am using the latest miktex 22.3 on Windows 10. The following example compiles well with pdflatex and lualatex but causes fatal error with xelatex. Also it compiles well with xelatex in TeX Live 2022.

\documentclass{article}
\usepackage{tabularray}
\usepackage{amsmath}
\newcommand\mytab{$\text{\begin{tblr}{l}cell\end{tblr}}$}
\begin{document}
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\mytab
\end{document}

Here is the log file:

This is XeTeX, Version 3.141592653-2.6-0.999994 (MiKTeX 22.3 Portable) (preloaded format=xelatex.fmt)
 restricted \write18 enabled.
entering extended mode
(issue232.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-02-24>
(D:\install\miktex\texmfs\install\tex/latex/base\article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(D:\install\miktex\texmfs\install\tex/latex/base\size10.clo)) (tabularray.sty
(D:\install\miktex\texmfs\install\tex/latex/l3kernel\expl3.sty
(D:\install\miktex\texmfs\install\tex/latex/l3backend\l3backend-xetex.def ())))
 (D:\install\miktex\texmfs\install\tex/latex/amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\install\miktex\texmfs\install\tex/latex/amsmath\amstext.sty
(D:\install\miktex\texmfs\install\tex/latex/amsmath\amsgen.sty))
(D:\install\miktex\texmfs\install\tex/latex/amsmath\amsbsy.sty)
(D:\install\miktex\texmfs\install\tex/latex/amsmath\amsopn.sty)) (issue232.aux)
(D:\install\miktex\texmfs\install\tex/latex/base\ts1cmr.fd)
Sorry, but xelatex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  D:\install\miktex\texmfs\data\miktex\log\xelatex.log

Also here is the xelatex.log:

2022-04-16 11:24:44,598+0800 INFO  xelatex - this process (12736) started by WinEdt in directory E:\work\latex\code\tabularray\back\issue with command line: xelatex.exe --interaction=nonstopmode --synctex=-1 issue232.tex
2022-04-16 11:24:44,600+0800 INFO  xelatex - this is MiKTeX-XETEX 4.8.0 (0.999994) (MiKTeX 22.3 Portable)
2022-04-16 11:24:44,601+0800 INFO  xelatex - allowing known shell commands
2022-04-16 11:24:44,704+0800 INFO  xelatex - executing input pipe: extractbb "--version"
2022-04-16 11:24:44,704+0800 INFO  xelatex.core - starting input pipe: extractbb "--version"
2022-04-16 11:24:44,705+0800 INFO  xelatex.core - start process: C:\Windows\system32\cmd.exe /c "extractbb "--version""
2022-04-16 11:24:48,260+0800 FATAL xelatex.core - Too many open files: path="D:\install\miktex\texmfs\install\fonts/tfm/public/cm\cmr10.tfm"
2022-04-16 11:24:48,260+0800 FATAL xelatex.core - Function: fdopen
2022-04-16 11:24:48,260+0800 FATAL xelatex.core - Result: 24
2022-04-16 11:24:48,260+0800 FATAL xelatex.core - Data: path="D:\install\miktex\texmfs\install\fonts/tfm/public/cm\cmr10.tfm"
2022-04-16 11:24:48,260+0800 FATAL xelatex.core - Source: Libraries\MiKTeX\Core\internal.h:363
2022-04-16 11:24:48,260+0800 FATAL xelatex - Too many open files: path="D:\install\miktex\texmfs\install\fonts/tfm/public/cm\cmr10.tfm"
2022-04-16 11:24:48,260+0800 FATAL xelatex - Info: path="D:\install\miktex\texmfs\install\fonts/tfm/public/cm\cmr10.tfm"
2022-04-16 11:24:48,260+0800 FATAL xelatex - Source: Libraries\MiKTeX\Core\internal.h
2022-04-16 11:24:48,260+0800 FATAL xelatex - Line: 363
2022-04-16 11:24:48,261+0800 INFO  xelatex - this process (12736) finishes with exit code 1
2022-04-16 11:24:48,261+0800 FATAL xelatex.core - Too many open files: path="D:\install\miktex\texmfs/config\miktex/config\issues.json"
2022-04-16 11:24:48,261+0800 FATAL xelatex.core - Function: ifstream::open
2022-04-16 11:24:48,261+0800 FATAL xelatex.core - Result: 24
2022-04-16 11:24:48,261+0800 FATAL xelatex.core - Data: path="D:\install\miktex\texmfs/config\miktex/config\issues.json"
2022-04-16 11:24:48,262+0800 FATAL xelatex.core - Source: Libraries\MiKTeX\Core\File\File.cpp:151

Here is the installation report: miktex-report.txt

@edocevoli edocevoli added this to the 22.4 milestone Apr 16, 2022
@edocevoli edocevoli added this to Triage in What's next via automation Apr 16, 2022
@stale stale bot added the wontfix label Jun 18, 2022
@stale stale bot closed this as completed Jun 27, 2022
What's next automation moved this from Triage to Done Jun 27, 2022
@edocevoli edocevoli added pinned and removed wontfix labels Jul 1, 2022
@MiKTeX MiKTeX deleted a comment from stale bot Jul 1, 2022
@edocevoli edocevoli reopened this Jul 1, 2022
What's next automation moved this from Done to To do Jul 1, 2022
edocevoli added a commit that referenced this issue Jul 9, 2022
@edocevoli edocevoli moved this from To do to In progress in What's next Jul 9, 2022
What's next automation moved this from In progress to Done Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
What's next
  
Done
Development

No branches or pull requests

2 participants