Assertion 'dividend_end_p[0] == divisor_high && dividend_end_p[-1] < divisor_high' failed
voidptr127 opened this issue · 0 comments
voidptr127 commented
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
eval("999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999100000000999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999\x6E\x25999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999\x6E\x2BhasOwnProperty")
Execution
./build/bin/jerry poc.js
Output
ICE: Assertion 'dividend_end_p[0] == divisor_high && dividend_end_p[-1] < divisor_high' failed at /home/rocky/jerryscript/jerry-core/ecma/operations/ecma-big-uint.c(ecma_big_uint_div_mod):1119.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)