jerryscript
jerryscript copied to clipboard
Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' in ecma_free_string_list
JerryScript revision
8ba0d1b6ee5a065a42f3b306771ad8e3c0d819bc
Build platform
Ubuntu 18.04.5 LTS (Linux 4.15.0-128-generic x86_64)
Build steps
./tools/build.py --clean --debug --logging=on
Test case
function* g() {
class A extends (yield) {}
}
g().next();
Execution steps & output
$ ./build/bin/jerry test.js
ICE: Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed at jerryscript/jerry-core/ecma/base/ecma-literal-storage.c(ecma_free_string_list):77.
Error: ERR_FAILED_INTERNAL_ASSERTION
Aborted (core dumped)
Note: It is a mem leak, still valid today on 2a82da62add363a33a5df5bc2f2295dd9a440b52