On Thu, 19 Mar 2026 at 08:32, Marco Coppola <[email protected]> wrote:
> Hi everyone, > > I am reporting a reproducible segfault in LuaHBTeX 1.18.0 occurring during > intensive font loading (compiling a large font specimen). > > *Environment:* > > - > > OS: Gentoo Linux (Kernel 6.12) > - > > Compiler: GCC 15.2.1 > - > > LuaTeX compiled with: CFLAGS="-g -O1" FEATURES="nostrip splitdebug" > > *The Issue:* The crash does not happen on a single font, but rather after > processing hundreds of fonts via fontspec/luaotfload. It seems to be a > memory corruption or uninitialized value accumulation in the embedded LPeg > library. > > *Valgrind Trace (Relevant snippet):* > > ==339700== Conditional jump or move depends on uninitialised value(s) > ==339700== at 0x420AD41: correctkeys (lpeg.c:2403) > ==339700== by 0x420BDCD: joinktables (lpeg.c:2447) > ==339700== by 0x420E5B8: newroot2sib (lpeg.c:2693) > ==339700== by 0x420E974: lp_choice (lpeg.c:2743) > > It appears that correctkeys is accessing uninitialized memory during a > table join operation in LPeg. > > I have the full 15MB Valgrind log and a 4GB core dump available. I can > provide the source .tex file and the font set upon request. > > Best regards, Marco > -- > Ok, I will email you my address. -- luigi
_______________________________________________ dev-luatex mailing list -- [email protected] To unsubscribe send an email to [email protected]
