Hi Reberto,
This is tested on Ubuntu16.04. I built it with –fsanitize=address.
I didn’t see any instruction on how to add `debug.setcstacklimit`. It seems that it is already set in luaconf.h.
Thanks,
Yongheng
Sent from Mail for Windows 10
From: Roberto Ierusalimschy
Sent: Monday, July 6, 2020 8:38 AM
To: Lua mailing list
Subject: Re: Stack overflow in luaO_pushvfstring
> We found a stack overflow in lua. Here’s the details:
>
> [...]
That may be a problem due to how you compiled Lua. Have you tried a smaller
C-stack limit? Add the following in the beginning of your script and see
how it goes:
debug.setcstacklimit(1000)
(It may be necessary a limit even smaller than 1000...)
-- Roberto