[Dev-luatex] reproducibility issue of pdf inclusion of LuaTeX 1.09.0

Hironobu Yamashita h.y.acetaminophen at gmail.com
Mon Dec 3 14:20:53 CET 2018


Hi,

I'm suffering from reproducibility issue of pdf inclusion of LuaTeX.
The output file size differs from time to time, and the largest one
is more than twice of the smallest one!
Please find the attached 20181203-luatex-pdfobj.tar.xz

========
Details:
========

My binaries are based on TeX Live svn r49302 (self-build on macOS)
and I am using LuaTeX with Lua5.2:

$ luatex --version
This is LuaTeX, Version 1.09.0 (TeX Live 2019/dev)
[.. snip ..]
LuaTeX is Copyright 2018 Taco Hoekwater and the LuaTeX Team.

With the attached source, I run

$ export SOURCE_DATE_EPOCH=0
$ export FORCE_SOURCE_DATE=1
$ for i in `seq 0 256`; do lualatex -jobname=include-$i include; done

(SOURCE_DATE_EPOCH and FORCE_SOURCE_DATE are set above,
to ensure that all output binaries are expected to be identical)

The output file (include-[num].pdf) sizes differ from time to time
as follows:

[size] - [frequency]
63928 bytes - 230
63947 bytes - 1
63958 bytes - 1
110923 bytes - 2
110924 bytes - 10
110925 bytes - 2
110928 bytes - 1
110931 bytes - 1
110932 bytes - 1
110935 bytes - 7
157913 bytes - 1

The largest one is more than twice of the smallest one
(= the most frequent one)!
Attached are some representatives, and I noticed that
the log files also show some strange difference of object numbers:

* include-0: 63928 bytes
  PDF statistics: 72 PDF objects out of 1000 (max. 8388607)
  36 compressed objects within 1 object stream
* include-11: 110924 bytes
  PDF statistics: 86 PDF objects out of 1000 (max. 8388607)
  44 compressed objects within 1 object stream
* include-201: 158913 bytes
  PDF statistics: 100 PDF objects out of 1000 (max. 8388607)
  52 compressed objects within 1 object stream

I never experienced this kind of difference with LuaTeX 1.07.0
of TeX Live 2018. Could you examine this issue? Thanks -- Hironobu


----
山下 弘展 (Hironobu Yamashita)
e-mail: h.y.acetaminophen at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20181203-luatex-pdfobj.tar.xz
Type: application/x-xz
Size: 68092 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20181203/15f2df8a/attachment-0001.xz>


More information about the dev-luatex mailing list