-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Labels
bugUndesired behaviourUndesired behaviourparserRelated to the JavaScript parserRelated to the JavaScript parser
Description
JerryScript revision
Build platform
Linux-5.3.0-53-generic-x86_64-with-Ubuntu-18.04-bionic
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 \
Test case
try{$,[ ]=!$--[``]}catch(\u7c19Output
ICE: Assertion 'block_found' failed at jerryscript//jerry-core/parser/js/js-parser-statm.c(parser_parse_try_statement_end):2003.
Error: ERR_FAILED_INTERNAL_ASSERTION
Backtrace
bt
#0 0xf7fd5b59 in __kernel_vsyscall ()
#1 0xf781b832 in __libc_signal_restore_set (set=0xffffb9fc) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80
#2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48
#3 0xf781ccc1 in __GI_abort () at abort.c:79
#4 0x5657c31c in jerry_port_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript//jerry-port/default/default-fatal.c:30
#5 0x56633cfa in jerry_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript//jerry-core/jrt/jrt-fatals.c:63
#6 0x56633d3b in jerry_assert_fail (assertion=0x566faea0 "block_found", file=0x566f9f60 "jerryscript//jerry-core/parser/js/js-parser-statm.c", function=0x566e9100 <__func__.6047.lto_priv.209> "parser_parse_try_statement_end", line=2003) at jerryscript//jerry-core/jrt/jrt-fatals.c:87
#7 0x565aab79 in parser_parse_try_statement_end (context_p=0xffffc150) at jerryscript//jerry-core/parser/js/js-parser-statm.c:2003
#8 0x565b02b4 in parser_parse_statements (context_p=0xffffc150) at jerryscript//jerry-core/parser/js/js-parser-statm.c:3211
#9 0x56642ebc in parser_parse_source (arg_list_p=0x0, arg_list_size=0, source_p=0x56755ba0 <buffer.lto_priv> "try{}catch(_ม){}try{letằ,[]=!function(){}--[``];}catch(\\u7c19){}finally{}exportconstල=nulldebugger", source_size=113, parse_opts=0, error_location_p=0xffffc380) at jerryscript//jerry-core/parser/js/js-parser.c:2177
#10 0x56646ca4 in parser_parse_script (arg_list_p=0x0, arg_list_size=0, source_p=0x56755ba0 <buffer.lto_priv> "try{}catch(_ม){}try{letằ,[]=!function(){}--[``];}catch(\\u7c19){}finally{}exportconstල=nulldebugger", source_size=113, parse_opts=0, bytecode_data_p=0xffffc440) at jerryscript//jerry-core/parser/js/js-parser.c:2808
#11 0x5669ac60 in jerry_parse (resource_name_p=0xffffca85 "/home/fancsikrobi/harmony/fuzzinator-configs/.fuzzinator-17057/jerryscript/picireny/593.js", resource_name_length=90, source_p=0x56755ba0 <buffer.lto_priv> "try{}catch(_ม){}try{letằ,[]=!function(){}--[``];}catch(\\u7c19){}finally{}exportconstල=nulldebugger", source_size=113, parse_opts=0) at jerryscript//jerry-core/api/jerry.c:447
#12 0x56697870 in main (argc=2, argv=0xffffc834) at jerryscript//jerry-main/main-unix.c:750
Found by Fuzzinator with grammarinator.
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourparserRelated to the JavaScript parserRelated to the JavaScript parser