pdflatex does not work on win after todays update but does on linux

Siep Kroonenberg siepo at bitmuis.nl
Sat Jun 12 15:09:02 CEST 2021


On Sat, Jun 12, 2021 at 04:01:24AM +0200, Reinhard Kotucha wrote:
> On 2021-06-11 at 11:02:06 +0200, Siep Kroonenberg wrote:
> 
>  > good\bye works with pdflatex.
> 
> Hi Siep,
> I suppose you mean (plain) pdftex.

Yes.

> It seems that only pdf*latex* is affected.  This is quite strange
> because LaTeX is supposed to be system independent.  There are only
> very few macros which are close to the OS, for instance checking
> whether a file exists.  LaTeX 3 probably does a bit more in this area.
> 
> According to the output of "kpathsea debug" submitted by Andreas,
> kpathsea is looking for article.cls.  This means that pdftex has no
> problem loading the LaTeX format file and the crash happens after
> \documentclass.

With me, the last line of output with KPATHSEA_DEBUG=-1 is:

kdebug:fsyscp_xfopen(192.168.101.1/tldev/Master/texmf-var/web2c/pdftex/pdflatex.fmt [], rb) => 0x6f6a3068

> Does it always crash at the same place?  If a document depends on many
> packages, does pdflatex --recorder always generate the same .fls file?

PWD x:/textest/lin_regression
INPUT //192.168.101.1/tldev/Master/texmf.cnf
INPUT //192.168.101.1/tldev/Master/texmf-dist/web2c/texmf.cnf
INPUT //192.168.101.1/tldev/Master/texmf-var/web2c/pdftex/pdflatex.fmt

> Siep, it's great that you can reproduce the problem.  I suppose that
> you have MinGW installed.  Is it possible to create a stack backtrace
> with gdb in order to find out in which function it crashes?

gdb --args pdflatex lin_regression

Reading symbols from pdflatex...(no debugging symbols found)...done.
(gdb) r
Starting program: \\192.168.101.1\tldev\Master\bin\win32\pdflatex.exe lin_regression
[New Thread 4776.0x330]
[New Thread 4776.0x21c]
[New Thread 4776.0x5dc]
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/W32TeX) (preloaded format=pdflatex)
 restricted \write18 enabled.

Thread 1 received signal SIGSEGV, Segmentation fault.
0x6f751780 in pdftex!dllpdftexmain ()
   from \\192.168.101.1\tldev\Master\bin\win32\pdftex.dll

(gdb) bt
#0  0x6f751780 in pdftex!dllpdftexmain ()
   from \\192.168.101.1\tldev\Master\bin\win32\pdftex.dll

I have also been piddling around with the utilities from
sysinternals.com, in particular procmon / process monitor. But it
gives you a deluge of data in which you have to search for the
relevant stuff.

-- 
Siep Kroonenberg


More information about the tex-live mailing list.