Hi,

Looks like it is a problem with "StartPage" and "StopPage" in metapost.

I get the same error with any MP graphic using those commands.

More minimal example (without simpleslides) as per the wiki:
https://wiki.contextgarden.net/Cover_Pages

colors          > 'rgb' color space is supported
colors          > 'cmyk' color space is supported
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method 'default'
metapost        > initializing number mode 'scaled'
input stack overflow
mtx-context     | fatal error: return code: 256

Commenting out "StartPage" and "StopPage" compiles.

mtx-context     | current version: 2021.05.09 17:14
This is LuaTeX, Version 1.14.0
Development id: 7438

Adam

On Sun, May 9, 2021 at 9:57 PM Adam Reviczky <reviczky@gmail.com> wrote:
Hi,

With the latest luatex change from https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59 (and MKIV 2021-05-09 17:14:00) I get an input stack overflow:

simpleslides    > loading style Boxed
system          > command '\NormalHeight' is already defined
system          > command '\NormalWidth' is already defined
system          > command '\PictureFrameHeight' is already defined
system          > command '\PictureFrameWidth' is already defined
close source    > level 4, order 8, name '/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-Boxed.tex'
close source    > level 3, order 8, name '/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv'
fonts           > bodyfont '24.0414pt' is defined (can better be done global)
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method 'default'
metapost        > initializing number mode 'scaled'
input stack overflow
mtx-context     | fatal error: return code: 256

MWE from the documentation:
\usemodule[simpleslides][style=Boxed]
\setupTitle[title={Title of the presentation},author={Name of authors},date={Date of presentation}]
\starttext
\placeTitle
\SlideTitle{The first slide}
Write whatever you want.
\SlideTitle{The second slide}
Continue writing.
\stoptext

Does that mean the simpleslides module has some recursion problems?
I have tried a couple of themes but getting the same error.

Adam