Tarantool development patches archive
 help / color / mirror / Atom feed
* [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.
@ 2019-05-28 18:57 Cyrill Gorcunov
  2019-05-28 23:33 ` [tarantool-patches] " Kirill Yukhin
  2019-05-29 14:29 ` Kirill Yukhin
  0 siblings, 2 replies; 5+ messages in thread
From: Cyrill Gorcunov @ 2019-05-28 18:57 UTC (permalink / raw)
  To: tarantool; +Cc: Kirill Yukhin, Alexander Turenko

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-29 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 18:57 [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 Cyrill Gorcunov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox