A loop-call error bug
Opened this issue · 0 comments
AidPaike commented
Version
Version: 3.0.0 ( 1a2c047 )
Execution steps
/root/.jsvu/jerry Testcase.js
Testcase
var testcase = function() {
function foo() {
bar();
}
function bar() {
foo();
}
foo();
};
var CallingResult = testcase();
print(CallingResult);
Output
Aborted (core dumped)
Expected behavior
Error: Out of stack space
Description
In my testing of the compiler, I discovered that jerryscript is Aborted (core dumped) when dealing with functions that are being called indefinitely, and other engines are dumping errors like Error: Out of stack space to warn the programmer
Hope jerryscript gets better and better
Looking forward to your reply :)