Re: [NTG-pdftex] [tex-live] TeX Live 2008: nasty pdf(la)tex bug on Solaris SPARC with ZFS
after some hours debugging, here is what I can confirm: - the problem is with LFS enabled only; re-compiled pdftex with LFS disabled doesn't have this problem. - the problem seems to be related to the value of variable pdfptr gone wild at certain moment, not to the *seek() functions. - it seems a bug of pdftex, not compiler. Regards, Thanh On Tue, Sep 09, 2008 at 02:49:41PM +0400, Vladimir Volovich wrote:
"THT" == Thanh Han The writes:
THT> I also confirm this bug. This is caused by LFS. I did a lot of THT> testing with pdf inclusion on utah machines before TL release, THT> unfortunately with LFS always disabled so this bug was not THT> detected.
i tested the same on AIX, and got even weirder messages:
[skipped] (/mnt/Master/texmf-dist/tex/context/base/supp-pdf.tex [Loading MPS to PDF converter (version 2006.09.02).] )
<use cgolfer.pdf> [1{/mnt/Maste r/texmf/fonts/map/pdftex/updmap/pdftex.map} <./cgolfer.pdf>] (./test.aux) )2004 640010pen_name_prefixHur_file_name lose_name_suffixpdflatex: test: Invalid argument i'll recompile sparc-solaris and powerpc-aix using --disable-largefile and will look if it helps.
i didn't have an idea that LFS should be disabled because of such buggy behavior. the above messages on AIX look strange too. at least on solaris i get a meaningful error message.
Best, v.
"THT" == Thanh Han The writes:
THT> after some hours debugging, here is what I can confirm: - the
THT> problem is with LFS enabled only; re-compiled pdftex with LFS
THT> disabled doesn't have this problem.
yes, i recompiled passing the --disable-largefile to configure on
sparc-solaris and powerpc-aix, and now the test case works on both of
them (correct PDF is produced).
i commited only the updated pdftex binaries (rebuild on aix and solaris
produces lots of changed files even when sources did not change, so i
did not want to touch unaffected programs). if someone knows which
other programs are affected by the --disable-largefile, please let me
know. or maybe it's ok to update all binaries.
two odd things noticed on AIX:
1) pdftex prints some garbage to terminal and to the log instead
of the list of preloaded fonts. here is the diff between terminal output
on aix and solaris:
(/mnt/Master/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
)
participants (2)
-
Thanh Han The
-
Vladimir Volovich