Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: Assertion 'ecma_string_p != NULL' failed at jerry-core/ecma/base/ecma-helpers-value.c(ecma_make_string_value):593 #3813

Closed
nszetei opened this issue May 29, 2020 · 0 comments · Fixed by #3816
Labels
bug Undesired behaviour ecma builtins Related to ECMA built-in routines

Comments

@nszetei
Copy link

nszetei commented May 29, 2020

JerryScript revision

3b4c259

Build platform

Ubuntu 18.04.4 LTS (Linux 4.15.0-91-generic x86_64)

Build steps
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g \
--strip=off --system-allocator=on --logging=on \
--linker-flag=-fuse-ld=gold --error-messages=on --profile=es2015-subset \
--stack-limit=15
Test case
function main() {
var v2 = "jye5rkxQrX".__proto__;
v2.toString = Symbol;
var v6 = JSON.stringify(2147483647,constructor);
}
main();
Execution steps
$ /tmp/jerryscript/build/bin/jerry 01.js
ICE: Assertion 'ecma_string_p != NULL' failed at /tmp/jerryscript/jerry-core/ecma/base/ecma-helpers-value.c(ecma_make_string_value):593.
Error: ERR_FAILED_INTERNAL_ASSERTION
Aborted (core dumped)
dbatyai added a commit to dbatyai/jerryscript that referenced this issue May 30, 2020
Fixes jerryscript-project#3813.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
@dbatyai dbatyai added bug Undesired behaviour ecma builtins Related to ECMA built-in routines labels May 30, 2020
dbatyai added a commit to dbatyai/jerryscript that referenced this issue May 30, 2020
Fixes jerryscript-project#3813.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
rerobika pushed a commit that referenced this issue May 30, 2020
Fixes #3813.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour ecma builtins Related to ECMA built-in routines
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants