2010/12/17 Taco Hoekwater <taco@elvenkind.com>
On 12/17/2010 07:52 AM, luigi scarso wrote:
On Fri, Dec 17, 2010 at 12:04 AM, Jonas Stein<news@jonasstein.de>  wrote:
Yesterday I was trying to typeset a very, very long document (about 3000
pages in A4). Well, mkiv died with a

PANIC: unprotected error in call to Lua API (stack overflow (out of stack space))

It's easily reproducible with a simple

\starttext
\dorecurse{50000}{
\input knuth
}
\starttext
 \dorecurse{50000}{
 \input knuth
 }\stoptext
also fails after page  [1619.1619]) with
! TeX capacity exceeded, sorry [pool size=1254582].

That is mkii, right? (I am not interested in that)


PANIC: unprotected error in call to Lua API (stack overflow (out of
stack space))

I think that is a bug, or not?
yes, I think so.

Yes it was a bug, fixed in the luatex source repository now.

How high is the limit now? Just curious, since I saw LuaTeX building _a paragraph_ lasting few hundred pages without problems (on the other hand, pdfTeX couldn't do it).

Regards,

Vedran Miletić