Hello Max,
thanks for the reply. > If you put the following contents into a file called <filename>.lua > > #!/usr/bin/env texlua > print(dofile > "/home/wl/.texlive2025/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc") > > and run it with > > LD_PRELOAD=/usr/local/lib64/libtrash.so texlua <filename>.lua > > what does it output? It should output something like > > table: 0x116dddb0 > > (the exact hex number doesn't matter) If it doesn't output that or > crashes, It crashes. The topmost elements of the function stack gdb shows are the same as with the originally reported crash. I'm willing to debug this further if you tell me how to do that. > can you try running Lua 5.3 (Lua 5.4 won't work) on that same file? How do I do that? Looking into `./build.sh` I see that ``` BUILDLUA53=TRUE ``` is the default... > Another thing that you can try is deleting the entire contents of > ~/.texlive2025/texmf-var/luatex-cache, and then compile simple.tex > again. I did that, and the first time calling lualatex succeeds – as expected, since the font cache is empty. The second time it crashes, so there is indeed a problem with reading the created font cache files. >> I thus think the problem must have been introduced rather recently >> (i.e., within the last few weeks) – or maybe I was just lucky, and >> other changes in TeXLive accidentally started to trigger the crash. > > Luigi and Hans will know better than I do, but I don't think that > there have been any changes in LuaTeX recently that would have > caused this. OK, thanks for the information. I had another idea and tried various checkouts of the TeXLive repository, going back to the beginning of the year 2023: lualatex always crashes. Since I know with 100% certainty that it worked for me then, my conclusion is that a change in one of the necessary DLLs rather than a change in luatex per se causes the problem (alternatively, it now exposes an already earlier existing bug) – most likely something in the GNU C library. I'm not an expert in this area, so I might be wrong, of course. On my platform version (openSUSE 15.6), version 2.38 of the GNU C Library is used. Are there known problems with lua and this glibc version? > But you can try running "git bisect" against the main repo > > https://gitlab.lisn.upsaclay.fr/texlive/luatex > > if you think that the problem was caused by a recent change. (Tip: > run "build.sh" with the "--make" and "--parallel" flags to > significantly speed up the repeated builds). I no longer think that a recent change caused that. However, if you still think I should do that, I can give it a try. Werner
