[tex-live] LaTeX suddenly stopped working (loop/memory leak?)

Urs Liska lists at openlilylib.org
Sat Jun 30 17:02:28 CEST 2018


Hi Norbert,


Am 30.06.2018 um 16:45 schrieb Norbert Preining:
> Then please run
>    latex -kpsedebug +1 somefile.tex
> And capture the debug output (2>foo.log)

Thank you for that hint. I had to search a while for the right option 
-kpathsea-debug=+1, but that let me find the issue myself.

I had created a loop by having a symlink from a document's directory to 
a grandparent directory, which wasn't even intended for LaTeX. I hadn't 
thought of the possibility that LaTeX follows such a symlink in order to 
collect all possible targets down the (of course circular) directory 
hierarchy.

So thank you for the various input, Norbert and Ulrike. Unfortunately 
one can't mark a mailing list thread "closed".

Thanks
Urs

> Let it run a bit and then so it. The file will be big, please if possible put it not compressed somewhere online, I'm online on my mobile.
>
> Thanks
>
> Norbert
>
> On June 30, 2018 4:36:32 PM GMT+02:00, Urs Liska <lists at openlilylib.org> wrote:
>> Hi Norbert,
>>
>>
>> Am 30.06.2018 um 15:41 schrieb Norbert Preining:
>>> I can tell you that the packages in Debian are working correctly, it
>> must be something special on your system.
>>
>> Thank you for confirming. I would have been very surprised about such a
>>
>> severe issue without anyone else running into it.
>>
>>>   From what you wrote it sounds like you had an HD error, or memory
>> that resulted in some corruption.
>>
>> That makes some sense, and if it's true that I had an unjustified
>> reboot
>> that would point in that direction.
>> OTOH it would be strange if a complete reinstall wouldn't fix that.
>>
>>> I'm currently out in the mountains and cannot help much more, but can
>> you please send me the list of files in /etc/texmf/, and all
>> environment variables you have set which might be trusted to TeX, and
>> your path, and the output of which mktexlsr, and any further
>> information.
>>
>> $ tree /etc/texmf
>> /etc/texmf
>> ├── dvipdfmx
>> ├── dvips
>> │   └── config
>> ├── tex
>> │   ├── context
>> │   │   └── user
>> │   │       └── cont-sys.rme
>> │   └── generic
>> │       └── config
>> ├── texdoctk
>> │   └── texdocrc.defaults
>> ├── texmf.d
>> │   └── 00debian.cnf
>> └── web2c
>>      ├── mktex.cnf
>>      └── texmf.cnf
>>
>>
>> I don't see any environment variables that seem to refer to TeX (I
>> haven't set any)
>>
>> $ echo $PATH
>> /home/uliska/git/lilypond/git-cl:/home/uliska/bin:/home/shared/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>>
>> $ which mktexlsr
>> /usr/bin/mktexlsr
>>
>>
>> Hm, I have no further idea what to look for. Is there any way to make
>> XXtex's output more verbose to get a better idea at what point it
>> fails?
>>
>>> Thanks
>>>
>>> Norbert
>>>
>>> PS, this is not a list to discuss Debian's TeX Live, please use
>> debian-tex-maint at lists.debian.org or the BTS, thanks
>>
>> Do you mean there shouldn't be questions/discussions about Debian
>> specific issues with TeX Live, or is this list not the platform for
>> *any* TeX Live questions that happen to occur with the Debian packages?
>>
>> Thanks
>> Urs
>>
>>>
>>> On June 30, 2018 1:20:53 PM GMT+02:00, Urs Liska
>> <lists at openlilylib.org> wrote:
>>>> Am 30.06.2018 um 12:59 schrieb Urs Liska:
>>>>> Am 30.06.2018 um 12:36 schrieb Ulrike Fischer:
>>>>>> Am Sat, 30 Jun 2018 12:21:16 +0200 schrieb Urs Liska:
>>>>>>
>>>>>>>> Did you try to recreate the formats?
>>>>>>> No, because I don't have any idea what that means.
>>>>>> Then run
>>>>>>
>>>>>> fmtutil-sys --refresh
>>>>>>
>>>>>> or something like this.
>>>>>>
>>>>> After looking at the manpage I issued this with sudo.
>>>>> The end of the output is
>>>>>
>>>>> fmtutil [INFO]: /var/lib/texmf/web2c/aleph/lamed.fmt installed.
>>>>> fmtutil [ERROR]: running `euptex -ini   -jobname=euptex
>>>>> -progname=euptex *euptex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `tex -ini   -jobname=tex -progname=tex
>>>>> tex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `luatex -ini   -jobname=luatex
>>>>> -progname=luatex luatex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `xetex -ini   -jobname=xetex
>> -progname=xetex
>>>>> -etex xetex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `ptex -ini   -jobname=ptex -progname=ptex
>>>>> ptex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `eptex -ini   -jobname=eptex
>> -progname=eptex
>>>>> *eptex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `uptex -ini   -jobname=uptex
>> -progname=uptex
>>>>> uptex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `aleph -ini   -jobname=aleph
>> -progname=aleph
>>>>> *aleph.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=pdftex
>>>>> -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=pdfmex
>>>>> -progname=pdfmex -translate-file=cp227.tcx *pdfmex.ini </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=amstex
>>>>> -progname=amstex -translate-file=cp227.tcx *amstex.ini </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=mex -progname=mex
>>>>> -translate-file=cp227.tcx *mex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=texsis
>>>>> -progname=texsis -translate-file=cp227.tcx texsis.ini </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=csplain
>>>>> -progname=csplain -etex -enc csplain-utf8.ini </dev/null' return
>>>> status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=pdfetex
>>>>> -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini
>> </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `xetex -ini   -jobname=pdfcsplain
>>>>> -progname=pdfcsplain -etex csplain.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `luatex -ini   -jobname=pdfcsplain
>>>>> -progname=pdfcsplain -etex csplain.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=pdfcsplain
>>>>> -progname=pdfcsplain -etex -enc csplain-utf8.ini </dev/null' return
>>>>> status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=mltex
>>>> -progname=mltex
>>>>> -translate-file=cp227.tcx -mltex mltex.ini </dev/null' return
>> status
>>>> 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=etex
>> -progname=etex
>>>>> -translate-file=cp227.tcx *etex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `luatex -ini   -jobname=dviluatex
>>>>> -progname=dviluatex dviluatex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=mptopdf
>>>>> -progname=context -translate-file=cp227.tcx mptopdf.tex </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=eplain
>>>>> -progname=eplain -translate-file=cp227.tcx *eplain.ini </dev/null'
>>>>> return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [ERROR]: running `pdftex -ini   -jobname=utf8mex
>>>>> -progname=utf8mex -enc *utf8mex.ini </dev/null' return status 1
>>>>> fmtutil [ERROR]: return error due to options --strict
>>>>> fmtutil [INFO]: Disabled formats: 3
>>>>> fmtutil [INFO]: Successfully rebuilt formats: 19
>>>>> fmtutil [INFO]: Failed to build: 24 (euptex/euptex tex/tex
>>>>> luatex/luatex xetex/xetex ptex/ptex eptex/eptex uptex/uptex
>>>>> aleph/aleph pdftex/pdftex pdftex/pdfmex pdftex/amstex pdftex/mex
>>>>> pdftex/texsis pdftex/csplain pdftex/pdfetex xetex/pdfcsplain
>>>>> luatex/pdfcsplain pdftex/pdfcsplain pdftex/mltex pdftex/etex
>>>>> luatex/dviluatex pdftex/mptopdf pdftex/eplain pdftex/utf8mex)
>>>>> fmtutil [INFO]: Total formats: 46
>>>>> fmtutil [INFO]: exiting with status 24
>>>>>
>>>>> which seems to indicate a lot of problems...
>>>> Hm, since it was time to make lunch anyway I decided to reinstall
>>>> texlive-full, after cleaning up the system with apt purge and a
>> number
>>>> of reiterations of apt update, apt autoremove, apt purge etc.
>>>>
>>>> Reinstalling texlive-full through apt resulted in exactly the same
>>>> situation as before :-(
>>>>
>>>> So do I have to assume that the current version of texlive
>>>> (https://packages.debian.org/buster/texlive-full) is broken in
>> Debian?
>>>> I
>>>> would find that rather strange ...
>>>>
>>>> But still I'm not inclined to remove the package and install TL from
>>>> its
>>>> installer - first, that just can't be the solution and second, I
>> need
>>>> TL
>>> >from the packages as part of some others' dependencies (the LilyPond
>>>> build system).
>>>>
>>>> So is there anything left for me to do?
>>>>
>>>> Thanks
>>>> Urs
>>> --
>>> PREINING Norbert http://www.preining.info
>>> Accelia Inc. + JAIST + TeX Live + Debian Developer
>>> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
>
> --
> PREINING Norbert http://www.preining.info
> Accelia Inc. + JAIST + TeX Live + Debian Developer
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the tex-live mailing list