Ungraceful handling of stack overflow

Author: winteredCreated Jul 18, 2026Updated Jul 18, 2026

https://github.com/jerryscript-project/jerryscript/commit/b7069350c2e52e7dc721dfb75f067147bd79b39b OS: Ubuntu 24.04.3 LTS

Hi,

the following program leads to a SIGABORT (exitcode 134) while other engines (e.g. V8) handle this with a RangeError.

$jerry bug.js
zsh: IOT instruction (core dumped)  jerry bug.js
$cat bug.js
a = { toString() {eval("this") / { }}}
if (decodeURIComponent(a)) ;
$

Source: jerryscript-project/jerryscript