jerryscript icon indicating copy to clipboard operation
jerryscript copied to clipboard

Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' in ecma_free_string_list

Open rerobika opened this issue 4 years ago • 1 comments

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)

rerobika avatar Jan 22 '21 11:01 rerobika

Note: It is a mem leak, still valid today on 2a82da62add363a33a5df5bc2f2295dd9a440b52

ossy-szeged avatar Oct 01 '21 10:10 ossy-szeged