2012/10/14 Hironori Kitagawa <[email protected]>: >> %#!luatex >> \newcount\X >> >> \X=1 >> \loop A% >> \advance\X by 1 >> \ifnum \X < 10000 >> \repeat >> >> \end > > causes a segmentation fault on LuaTeX. > ... > If I the number on the line 7 reduced from 10000 to 1000, > this segmentation fault disappeared. > > Does anyone know the cause of this behavior?
For the following variation: \newcount\X% \X=1% \loop i% \advance\X by 1% \ifnum \X < 1085% \repeat \end the error message is more informative: This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012) restricted \write18 enabled. (./b.texluatex: ../../../texk/web2c/luatexdir/tex/primitive.w:314: store_primitive_name: Assertion `idx<=0xFFFF' failed. Aborted (core dumped)
