From: Cyrill Gorcunov <gorcunov@gmail.com> To: tarantool <tarantool-patches@freelists.org> Cc: Kirill Yukhin <kyukhin@tarantool.org>, Alexander Turenko <alexander.turenko@tarantool.org> Subject: [tarantool-patches] [PATCH luajit] bugfix: fixed assertion failure "lj_record.c:92: rec_check_slots: Assertion `nslots <= 250' failed" found by stressing our edgelang compiler. Date: Tue, 28 May 2019 21:57:05 +0300 [thread overview] Message-ID: <20190528185705.GP11013@uranus> (raw) From: "Yichun Zhang (agentzh)" <yichun@openresty.com> Fixes #4053 --- https://github.com/tarantool/tarantool/issues/4053 As being requested by @olegrok src/lj_record.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lj_record.c b/src/lj_record.c index fe9691d..55aa565 100644 --- a/src/lj_record.c +++ b/src/lj_record.c @@ -1860,6 +1860,8 @@ static void rec_varg(jit_State *J, BCReg dst, ptrdiff_t nresults) lj_trace_err_info(J, LJ_TRERR_NYIBC); } } + if (J->baseslot + J->maxslot >= LJ_MAX_JSLOTS) + lj_trace_err(J, LJ_TRERR_STACKOV); } /* -- Record allocations -------------------------------------------------- */ -- 2.20.1
next reply other threads:[~2019-05-28 18:57 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-28 18:57 Cyrill Gorcunov [this message] 2019-05-28 23:33 ` [tarantool-patches] " Kirill Yukhin 2019-05-28 23:51 ` Alexander Turenko 2019-05-29 6:52 ` Cyrill Gorcunov 2019-05-29 14:29 ` Kirill Yukhin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190528185705.GP11013@uranus \ --to=gorcunov@gmail.com \ --cc=alexander.turenko@tarantool.org \ --cc=kyukhin@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH luajit] bugfix: fixed assertion failure "lj_record.c:92: rec_check_slots: Assertion `nslots <= 250'\'' failed" found by stressing our edgelang compiler.' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox