代码拉取完成,页面将自动刷新
【任务描述】
在Linux-5.4.0-104-generic-x86_64-with-glibc2.29环境下,对测试用例new { async [ yield ] ( ... yield ) { }} 进行编译构建,输出如下:AddressSanitizer can not provide additional info.
构建平台
Linux-5.4.0-104-generic-x86_64-with-glibc2.29
构建步骤
./tools/build.py --clean --debug --profile=es.next --error-messages=ON --logging=ON
测试用例
new { async [ yield ] ( ... yield ) { }}
输出
ICE: Assertion 'scope_stack_p > context_p->scope_stack_p' failed at jerryscript/jerry-core/parser/js/js-scanner-util.c(scanner_literal_is_created):2920.
Error: JERRY_FATAL_FAILED_ASSERTION
AddressSanitizer:DEADLYSIGNAL
=================================================================
==698757==ERROR: AddressSanitizer: ABRT on unknown address 0x03e9000aa985 (pc 0x7fe4192d503b bp 0x7ffe32c02ff0 sp 0x7ffe32c02d80 T0)
#0 0x7fe4192d503b in raise /build/glibc-sMfBJT/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#1 0x7fe4192b4858 in abort /build/glibc-sMfBJT/glibc-2.31/stdlib/abort.c:79:7
#2 0x806f07 in jerry_port_fatal jerryscript/jerry-port/common/jerry-port-process.c:29:5
#3 0x6281ca in jerry_fatal jerryscript/jerry-core/jrt/jrt-fatals.c:63:3
#4 0x627f7a in jerry_assert_fail jerryscript/jerry-core/jrt/jrt-fatals.c:83:3
#5 0x670b4c in scanner_literal_is_created jerryscript/jerry-core/parser/js/js-scanner-util.c:2920:5
#6 0x63cf16 in parser_parse_function_arguments jerryscript/jerry-core/parser/js/js-parser.c:1824:13
#7 0x638a5c in parser_parse_function jerryscript/jerry-core/parser/js/js-parser.c:2685:3
#8 0x799476 in lexer_construct_function_object jerryscript/jerry-core/parser/js/js-lexer.c:2695:23
#9 0x7c5bee in parser_parse_object_literal jerryscript/jerry-core/parser/js/js-parser-expr.c:1405:43
#10 0x7b3107 in parser_parse_unary_expression jerryscript/jerry-core/parser/js/js-parser-expr.c:2133:7
#11 0x7a6d30 in parser_parse_expression jerryscript/jerry-core/parser/js/js-parser-expr.c:4115:9
#12 0x7aee42 in parser_parse_block_expression jerryscript/jerry-core/parser/js/js-parser-expr.c:4065:3
#13 0x7da34d in parser_parse_statements jerryscript/jerry-core/parser/js/js-parser-statm.c:3079:11
#14 0x650243 in parser_parse_source jerryscript/jerry-core/parser/js/js-parser.c:2280:5
#15 0x64bcca in parser_parse_script jerryscript/jerry-core/parser/js/js-parser.c:3326:38
#16 0x4cd866 in jerry_parse_common jerryscript/jerry-core/api/jerryscript.c:412:21
#17 0x4cd103 in jerry_parse jerryscript/jerry-core/api/jerryscript.c:480:10
#18 0x805137 in jerryx_source_parse_script jerryscript/jerry-ext/util/sources.c:52:26
#19 0x80526e in jerryx_source_exec_script jerryscript/jerry-ext/util/sources.c:63:26
#20 0x4c4cb6 in main jerryscript/jerry-main/main-desktop.c:156:20
#21 0x7fe4192b60b2 in __libc_start_main /build/glibc-sMfBJT/glibc-2.31/csu/../csu/libc-start.c:308:16
#22 0x41c53d in _start (jerryscript/build/bin/jerry+0x41c53d)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ABRT /build/glibc-sMfBJT/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1 in raise
==698757==ABORTING
【任务来源】
上游社区未关闭issue分析
https://github.com/jerryscript-project/jerryscript/issues/5005
登录 后才可以发表评论