On Tue, Dec 10, 2019 at 9:27 PM Henri Menke <henrimenke@gmail.com> wrote:
Dear devs,

The example below crashes LuaTeX with a segmentation fault.  It is reproducible
with LuaTeX 1.10.1 7143 and LuaTeX 1.11.2 7226.  To this end I built 7226 from
source with --debugopt to get a backtrace, which can be found below as well.

Cheers, Henri

---

\directlua{token.set_macro(-1, "foo","\string\\,")}
\show\foo
\foo
\bye

I guess that we have to check if catcodetable -1 is already defined...

--
luigi