Package: texlive-binaries
Version: 2025.20250727.75242+ds-4
Severity: normal
User: [email protected]
Usertags: randomness toolchain
I have found that when a PNG image's row width does not correspond to a
whole number of bytes, the low-order bits of the last byte in each
uncompressed row can fluctuate between pdflatex runs, at least when
libpng can perform SIMD-assisted decompression, yielding
nondeterministic output even when arranging to supply predetermined
timestamps. (Moreover, this fluctuation can affect the length of the
resulting compressed stream, slightly shifting the file position of
subsequent content.)
In particular, such nondeterminism occurs when including images with
4-bit color maps and odd row lengths, such as FLTK's valuators.png [1].
I tried to put together a minimal example, but the bits in question
came out all zero, presumably because there hadn't yet been enough
memory churn. At any rate, I suspect it would help for the PNG-reading
code to prezero the last byte of the row buffer, at least in this
scenario.
Could you please take a look?
Thanks!
-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.
In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.
*** The Debian TeX Team is *not* a LaTeX Help Desk ***
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.
Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.
Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.minimalbeispiel.de/mini-en.html (english)
or
http://www.minimalbeispiel.de/mini.html (german)
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 amu amu 171 Oct 21 2005 /home/amu/share/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Apr 8 2025 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 5016 Oct 15 23:07 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 28 2025 /usr/share/texmf/ls-R ->
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Sep 29 18:31 /usr/share/texlive/texmf-dist/ls-R ->
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Sep 29 18:31 /usr/share/texlive/texmf-dist/ls-R ->
/var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
-rw-r--r-- 1 root root 1656 Mar 5 2025 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Sep 29 18:31 /usr/share/texmf/web2c/fmtutil.cnf ->
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Sep 29 18:31 /usr/share/texmf/web2c/updmap.cfg ->
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 5067 Oct 4 23:44
/var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jun 25 2011 mktex.cnf
-rw-r--r-- 1 root root 1656 Mar 5 2025 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf
d588a08518f705d06ac262acd78f2bc4 /etc/texmf/texmf.d/20xmltex.cnf
8e901c9e6562b73e4ba4d1b4e603412f /etc/texmf/texmf.d/30ptex.bak
055e06548bac99958d8ab2dd1248f2b4 /etc/texmf/texmf.d/80tex4ht.cnf
1df66bc319cec731e202eaf39f5d85e1 /etc/texmf/texmf.d/96JadeTeX.cnf
-- System Information:
Debian Release: forky/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'oldstable-security'),
(500, 'testing'), (300, 'unstable-debug'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32
Kernel: Linux 6.16.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages texlive-binaries depends on:
ii libc6 2.41-12
ii libcairo2 1.18.4-1+b1
ii libfontconfig1 2.15.0-2.4
ii libfreetype6 2.13.3+dfsg-1
ii libgcc-s1 15.2.0-4
ii libgraphite2-3 1.3.14-11
ii libharfbuzz0b 12.1.0-1
ii libicu76 76.1-4
ii libkpathsea6 2025.20250727.75242+ds-4
ii libmpfi0 1.5.4+ds-4
ii libmpfr6 4.2.2-2
ii libpaper2 2.2.5-0.3+b2
ii libpixman-1-0 0.46.4-1
ii libpng16-16t64 1.6.50-1
ii libpotrace0 1.16-2+b2
ii libptexenc1 2025.20250727.75242+ds-4
ii libstdc++6 15.2.0-4
ii libsynctex2 2025.20250727.75242+ds-4
ii libteckit0 2.5.12+ds1-1+b1
ii libtexlua53-5 2025.20250727.75242+ds-4
ii libx11-6 2:1.8.12-1
ii libxaw7 2:1.0.16-1
ii libxi6 2:1.8.2-1
ii libxmu6 2:1.1.3-3+b4
ii libxpm4 1:3.5.17-1+b3
ii libxt6t64 1:1.2.1-1.3
ii libzzip-0-13t64 0.13.78+dfsg.1-0.2
ii perl 5.40.1-6
ii t1utils 1.41-4
ii tex-common 6.19
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
Versions of packages texlive-binaries recommends:
ii dvisvgm 3.5+ds-1
ii texlive-base 2025.20250927-3
Versions of packages texlive-binaries suggests:
ii hintview 2.1.0-1
ii texlive-binaries-sse2 2025.20250727.75242+ds-4
Versions of packages tex-common depends on:
ii ucf 3.0052
Versions of packages tex-common suggests:
ii debhelper 13.28
Versions of packages texlive-binaries is related to:
ii tex-common 6.19
ii texlive-base 2025.20250927-3
-- debconf-show failed