[Tarantool-patches] [PATCH luajit v2] test: adapt test checking reversed function

Igor Munkin imun at tarantool.org
Mon Jun 20 15:47:28 MSK 2022


Max,

I've checked the patch into all long-term branches in tarantool/luajit
and bumped a new version in master, 2.10 and 1.10.

On 01.03.22, Maxim Kokryashkin wrote:
> The first fiber in Tarantool has only 512Kb of the stack, which is not enough
> to handle such a deep call chain. Thus, the chunk of code being considered
> cores with SIGSEGV as a result of C stack overflow.
> The test is adapted to Tarantool by decreasing the string length.
> 
> Resolves tarantool/tarantool#5782
> Part of tarantool/tarantool#5870
> ---
> Changes in v2:
> - Fixed comments as per review by Igor
> 
> GitHub branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-5782-adapt-deep-nest-gsub-PUC-Rio
> CI branch: https://github.com/tarantool/tarantool/tree/fckxorg/gh-5782-adapt-test-checking-reversed-function-full-ci
> Issue: https://github.com/tarantool/tarantool/issues/5782
> 
>  test/PUC-Rio-Lua-5.1-tests/pm.lua | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)
> 

<snipped>

> -- 
> 2.35.1
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list