ConTeXt LMTX version: 2024.05.27 18:16

Reproducible example:

\definesectionlevels
[default]
[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection]

\starttext
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\startsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stoptext

lua error       > lua error on line 19 in file ./input.tex:

registered function call [969]: ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75: attempt to index a nil value (field '?')
stack traceback:
        ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75: in function <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:66>
        (...tail calls...)