ConTeXt LMTX version: 2024.05.27 18:16

Sample tex file:

\setupbackend[export=yes]

\starttext
x
\startsectionlevel
\startitemize
\item
\startitemize
\item
\startitemize
\item
\stopitemize
\stopitemize
\stopitemize
\stopsectionlevel

\stoptext

Error log:

tex error       > tex error on line 1 in file ./input.tex:
lua error:
        registered function call [252]: ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1426: attempt to get length of a nil value (local 'td')
stack traceback:
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1426: in upvalue 'pushcontent'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1597: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
.....
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1867: in upvalue 'collectresults'
        ...mtx/tex/texmf-context/tex/context/base/mkxl/back-exp.lmt:1969: in upvalue 'nodes_handlers_export'
        [string "local tonut  = nodes.tonut..."]:27: in function <[string "local tonut  = nodes.tonut..."]:12>
        (...tail calls...)
        ...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37>
        (...tail calls...)

 1 >>  \setupbackend[export=yes]
 2    
 3     \starttext
 4     x
 5     \startsectionlevel
 6     \startitemize
 7     \item
 8       \startitemize
 9       \item
10         \startitemize
11         \item
mtx-context     | fatal error: return code: 1