<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>yesterday my texlive installation (texlive-full on Debian
Testing) stopped working all of a sudden. Unfortunately my day was
so frustratingly fragmented that I can't recall what events
immediately preceded the problem. There were a few things
happening yesterday, but I'm not sure if they're related:<br>
</p>
<ul>
<li>I had a major package update with apt (I'll copy the
respective changes at the end of this message) but I'm 98% sure
that this was hours before texlive stopped working.</li>
<li>Atom wreaked havoc eating up *all* memory including swap,
freezing my computer. After I removed it and installed the
latest version this seemed to have been fixed, though</li>
<li>At one point I was surprised that I had to log in after a
break, when I *think* I only set the computer to standby.</li>
</ul>
<p>So at one point my .tex documents weren't compiled anymore, with
xxTeX seemingly hanging. First I thought it had to do with issues
in my files, but the MWE behaves exactly the same:</p>
<p> \documentclass{article}<br>
\begin{document}<br>
Test<br>
\end{document}</p>
<p>I tested this by invoking a ..tex while watching with htop.</p>
<p>1)</p>
<pre>$ latex loop.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Debian) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./loop.tex
LaTeX2e <2018-04-01> patch level 4
Babel <3.20> and hyphenation patterns for 84 language(s) loaded.
</pre>
<p>2)</p>
<pre>$ lualatex loop.tex
This is LuaTeX, Version 1.07.0 (TeX Live 2018/Debian)
restricted system commands enabled.
(./loop.tex
</pre>
<p>In both cases there is no further output on the console. The
corresponding "latex" or "lualatex" permanently process consumes
100% of one CPU core, and memory continuously rises by ~ 6MB/sec -
it looks like it would do so until there is no memory left. I
canceled this after 1/2 GB.</p>
<p>When I stop the compilation with Ctrl-Z (message: "killed") the
process stays alive, keeping all the memory it had at the end, but
CPU dropping to zero. I can't kill the process with SIGTERM, only
after a SIGKILL it disappears.</p>
<p>###</p>
<p>Is there any way I can proceed investigating what could have
gotten wrong here?</p>
<p>TIA<br>
Urs<br>
</p>
<p>PS: After describing this process I have the impression that Atom
wasn't at fault at all but that this already was LaTeX giving
problems. So maybe the memory leak was already there while I still
could compile .tex documents?<br>
</p>
<p>PPS: Here are the related changes in the apt upgrade from
yesterday (as recorded by etckeeper):</p>
<p>$ sudo git log -n 1 | grep tex<br>
-fonts-texgyre 20160520-1 all<br>
+fonts-texgyre 20180621-1 all<br>
-ktexteditor-data 5.45.0-1 all<br>
-ktexteditor-katepart 5.45.0-1 amd64<br>
+ktexteditor-data 5.46.0-1 all<br>
+ktexteditor-katepart 5.46.0-1 amd64<br>
-latexmk 1:4.41-1 all<br>
+latexmk 1:4.56-0.1 all<br>
-libkf5texteditor-bin 5.45.0-1 amd64<br>
-libkf5texteditor5 5.45.0-1 amd64<br>
-libkf5textwidgets-data 5.45.0-2 all<br>
-libkf5textwidgets5 5.45.0-2 amd64<br>
+libkf5texteditor-bin 5.46.0-1 amd64<br>
+libkf5texteditor5 5.46.0-1 amd64<br>
+libkf5textwidgets-data 5.46.0-1 all<br>
+libkf5textwidgets5 5.46.0-1 amd64<br>
-libptexenc1 2018.20180416.47457-3+b1 amd64<br>
+libptexenc1 2018.20180416.47457-4 amd64<br>
-libsynctex2 2018.20180416.47457-3+b1 amd64<br>
+libsynctex2 2018.20180416.47457-4 amd64<br>
-libtexlua52 2018.20180416.47457-3+b1 amd64<br>
-libtexlua53 2018.20180416.47457-3+b1 amd64<br>
-libtexluajit2 2018.20180416.47457-3+b1 amd64<br>
+libtexlua52 2018.20180416.47457-4 amd64<br>
+libtexlua53 2018.20180416.47457-4 amd64<br>
+libtexluajit2 2018.20180416.47457-4 amd64<br>
-tex-gyre 20160520-1 all<br>
+tex-gyre 20180621-1 all<br>
-texinfo 6.5.0.dfsg.1-2+b1 amd64<br>
+texinfo 6.5.0.dfsg.1-3 amd64<br>
-texlive-binaries 2018.20180416.47457-3+b1 amd64<br>
+texlive-binaries 2018.20180416.47457-4 amd64<br>
-texstudio 2.12.8+debian-1 amd64<br>
-texstudio-doc 2.12.8+debian-1 all<br>
-texstudio-l10n 2.12.8+debian-1 all<br>
+texstudio 2.12.8+debian-2 amd64<br>
+texstudio-doc 2.12.8+debian-2 all<br>
+texstudio-l10n 2.12.8+debian-2 all<br>
<br>
</p>
</body>
</html>