-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Labels
bugUndesired behaviourUndesired behaviourecma builtinsRelated to ECMA built-in routinesRelated to ECMA built-in routines
Description
Jerry version:
Checked revision: ec142f5f
Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on
OS:
Ubuntu 18.04, x86_64
Test case:
Object.defineProperty (Object.prototype, "" , { 'set' : function ( ) { throw new ReferenceError ( "foo" ) ; } } ) ;
JSON.stringify( )Backtrace:
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):43.
Error: ERR_FAILED_INTERNAL_ASSERTION
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff7a24801 in __GI_abort () at abort.c:79
#2 0x000055555555f2f6 in jerry_port_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-port/default/default-fatal.c:71
#3 0x000055555558b684 in jerry_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-core/jrt/jrt-fatals.c:63
#4 0x000055555558b6d6 in jerry_assert_fail (assertion=0x5555555e4d78 "ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)",
file=0x5555555e4d28 "jerryscript/jerry-core/ecma/base/ecma-literal-storage.c", function=0x5555555d1270 <__func__.4207.lto_priv.618> "ecma_free_string_list", line=43)
at jerryscript/jerry-core/jrt/jrt-fatals.c:87
#5 0x00005555555b50bf in ecma_free_string_list (string_list_p=0x5555558f7648 <jerry_global_heap+648>) at jerryscript/jerry-core/ecma/base/ecma-literal-storage.c:43
#6 0x00005555555b5144 in ecma_finalize_lit_storage () at jerryscript/jerry-core/ecma/base/ecma-literal-storage.c:60
#7 0x00005555555b486e in ecma_finalize () at jerryscript/jerry-core/ecma/base/ecma-init-finalize.c:63
#8 0x00005555555c1f94 in jerry_cleanup () at jerryscript/jerry-core/api/jerry.c:210
#9 0x00005555555c13b3 in main (argc=3, argv=0x7fffffffe038) at jerryscript/jerry-main/main-unix.c:874
Found by Fuzzinator with grammarinator.
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourecma builtinsRelated to ECMA built-in routinesRelated to ECMA built-in routines