-
Notifications
You must be signed in to change notification settings - Fork 684
Open
Labels
bugUndesired behaviourUndesired behaviourfuzzingRelated to fuzz testing of the engineRelated to fuzz testing of the engineparserRelated to the JavaScript parserRelated to the JavaScript parser
Description
This bug report leads to the same error message as in #4919 but 4919 is fixed whereas this is present on the most recent version.
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
function Boolean(){
async Boolean => {
return Int8Array;
}
await new Float64Array();
}
function WeakMap(){
await new Boolean();
}
Execution
./build/bin/jerry poc.js
Output
ICE: Assertion 'scope_stack_p >= context_p->scope_stack_p' failed at /home/rocky/jerryscript/jerry-core/parser/js/js-parser-statm.c(parser_parse_function_statement):700.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourfuzzingRelated to fuzz testing of the engineRelated to fuzz testing of the engineparserRelated to the JavaScript parserRelated to the JavaScript parser