<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Did you look into the <span style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">fiber_new_ex() interface?</span><div class=""><font face="Menlo, Monaco, Courier New, monospace" class=""><span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class="">I bet it’s doable to create a fiber with big enough stack.</span></span></font></div><div class=""><font face="Menlo, Monaco, Courier New, monospace" class=""><span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class=""><br class=""></span></span></font></div><div class=""><font face="Menlo, Monaco, Courier New, monospace" class=""><span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class="">Again, not about follow-ups: LGTM.</span></span></font></div><div class=""><font face="Menlo, Monaco, Courier New, monospace" class=""><span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class="">Sergos</span></span></font></div><div class=""><font face="Menlo, Monaco, Courier New, monospace" class=""><span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class=""><br class=""></span></span></font><div><br class=""><blockquote type="cite" class=""><div class="">On 26 Mar 2021, at 10:43, Sergey Kaplun <<a href="mailto:skaplun@tarantool.org" class="">skaplun@tarantool.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">The first Tarantool's fiber has only 512Kb of stack.<br class="">It is not enough for depth recursive call in the test for<br class="">`string.gsub()`.<br class=""><br class="">This patch disables test leads to Tarantool crash.<br class=""><br class="">Relates to tarantool/tarantool#5782<br class="">Resolves tarantool/tarantool#5845<br class="">Part of tarantool/tarantool#4473<br class="">---<br class=""> test/PUC-Lua-5.1-tests/pm.lua | 6 +++++-<br class=""> 1 file changed, 5 insertions(+), 1 deletion(-)<br class=""><br class="">diff --git a/test/PUC-Lua-5.1-tests/pm.lua b/test/PUC-Lua-5.1-tests/pm.lua<br class="">index b159b6b..c6e42df 100644<br class="">--- a/test/PUC-Lua-5.1-tests/pm.lua<br class="">+++ b/test/PUC-Lua-5.1-tests/pm.lua<br class="">@@ -207,7 +207,11 @@ function rev (s)<br class=""> end<br class=""><br class=""> local x = string.rep('012345', 10)<br class="">-assert(rev(rev(x)) == x)<br class="">+-- The first Tarantool's fiber has only 512Kb of stack.<br class="">+-- It is not enough for this recursive call.<br class="">+-- See also <a href="https://github.com/tarantool/tarantool/issues/5782" class="">https://github.com/tarantool/tarantool/issues/5782</a>.<br class="">+-- FIXME: The test is disabled for Tarantool binary.<br class="">+-- assert(rev(rev(x)) == x)<br class=""><br class=""><br class=""> -- gsub with tables<br class="">-- <br class="">2.31.0<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>