Open izmishi opened 4 years ago
I have trouble reproducing this issue. Small files and long files work, for multiple compilations.
There must be something subtly different between our configurations. I will probably need more information to solve this.
Maybe the full log files contain more information (Xcode and TeX)? I think you can attach documents to a message.
Apologies for the delay.
I've done some digging and found that pdftex uses zlib to compress the stream. I think setting \pdfcompresslevel=0
means that zlib won't be used (since we are asking for no compression). So I have two test files, Compression.tex
and No Compression.tex
, which are minimal files that differ only by the presence/absence of the line \pdfcompresslevel=0
.
Compression.tex
as many times as possibleNo Compression.tex
as many times as possibleCompression.tex
As expected, a PDF is produced. The log file produced is found at Compression Compile 1.log
.
Failed to produce a PDF and the log file is empty (0 KB). I managed to capture the stdout
, which can be found at Compression Compile 2 stdout.log
.
Failed to produce a PDF but did produce a non-empty log file which can be found at Compression Compile 3.log
.
Same as 2nd compilation. The captured stdout
can be found at Compression Compile 4 stdout.log
.
Same as 3rd compilation. The produced log file can be found at Compression Compile 5.log
.
Followed the pattern in the 2nd-5th compilations, no PDF produced and it kept switching between producing a 0 KB log file and a full log file.
No Compression.tex
As expected, a PDF is produced. The log file produced is found at No Compression Compile 1.log
.
Crashed the app with a SIGABRT
. The backtrace can be found at No Compression Compile 2 bt.txt
. A damaged PDF and a log file were produced; these can be found at No Compression Compile 2.pdf
and No Compression Compile 2.log
. The stdout
can be found at No Compression Compile 2 stdout.log
.
Everything should be in the zip file attached lib-tex Issues.zip
Thanks for that detailed report. I'm going to have a look.
On a-Shell, which uses the latest version of lib-tex, I can compile pdflatex Compression.tex
and pdflatex No\ Compression.tex
multiple times, with no crash. Each run produces a valid PDF file and a log file.
I am going to have a look at your logs, but the mistery deepens.
It can compile a tex file once, but when I try to compile a tex file after that, the app I'm using it in crashes and I get the following error
The minimal TeX file this happens with is
I also can't get lualatex to work.