jerryscript-project/jerryscript

Assertion 'ecma_is_value_boolean (completion)' failed

voidptr127 opened this issue · 0 comments

JerryScript revision
05dbbd134c3b9e2482998f267857dd3722001cd7
Build platform
Linux-6.2.15-200.fc37.x86_64-x86_64-with-glibc2.34
clang version 14.0.6 (Red Hat 14.0.6-4.el9_1)
Build steps
CC=/usr/bin/clang python3 tools/build.py --clean \
    --debug \
    --strip=off \
    --compile-flag=-fsanitize=address \
    --lto=off \
    --compile-flag=-g \
    --error-messages=on \
    --promise-callback=on \
    --logging=on \
    --line-info=on \
    --stack-limit=128
Test case
(this.__proto__)=new Proxy(this,new Set());
(g)=new RegExp();
Execution
./build/bin/jerry poc.js
Output
ICE: Assertion 'ecma_is_value_boolean (completion)' failed at /home/rocky/jerryscript/jerry-core/ecma/operations/ecma-get-put-value.c(ecma_op_put_value_lex_env_base):314.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)