You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** FATAL ERROR: assertion failed: pt->line >= 1 (prep/fuzz/duktape.c:82130)
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 0x00007ffff7686801 in __GI_abort () at abort.c:79
#2 0x0000555555557b4b in duk_default_fatal_handler (udata=0x0,
msg=0x555555770bd0 "assertion failed: pt->line >= 1 (prep/fuzz/duktape.c:82130)") at prep/fuzz/duktape.c:11792
#3 0x0000555555639b6c in duk_lexer_setpoint (lex_ctx=0x7fffffff93c8, pt=0x7fffffff8e60) at prep/fuzz/duktape.c:82130
#4 0x0000555555606f43 in duk__parse_func_like_fnum (comp_ctx=0x7fffffff93b8, flags=9) at prep/fuzz/duktape.c:72717
#5 0x000055555560538b in duk__parse_stmt (comp_ctx=0x7fffffff93b8, res=0x7fffffff9030, allow_source_elem=1)
at prep/fuzz/duktape.c:71404
#6 0x0000555555605cdc in duk__parse_stmts (comp_ctx=0x7fffffff93b8, allow_source_elem=1, expect_eof=1, regexp_after=1)
at prep/fuzz/duktape.c:71866
#7 0x0000555555606781 in duk__parse_func_body (comp_ctx=0x7fffffff93b8, expect_eof=1, implicit_return_value=1, regexp_after=1,
expect_token=-1) at prep/fuzz/duktape.c:72441
#8 0x0000555555607941 in duk__js_compile_raw (thr=0x555555991680, udata=0x7fffffff93b0) at prep/fuzz/duktape.c:72959
#9 0x00005555555f9b41 in duk__handle_safe_call_inner (thr=0x555555991680, func=0x555555607456 <duk__js_compile_raw>,
udata=0x7fffffff93b0, entry_valstack_bottom_byteoff=128, entry_callstack_top=2, entry_curr_thread=0x555555991680,
entry_thread_state=2 '\002', idx_retbase=1, num_stack_rets=1) at prep/fuzz/duktape.c:64542
#10 0x00005555555fa95e in duk_handle_safe_call (thr=0x555555991680, func=0x555555607456 <duk__js_compile_raw>,
udata=0x7fffffff93b0, num_stack_args=1, num_stack_rets=1) at prep/fuzz/duktape.c:64787
#11 0x000055555556085e in duk_safe_call (thr=0x555555991680, func=0x555555607456 <duk__js_compile_raw>, udata=0x7fffffff93b0,
nargs=1, nrets=1) at prep/fuzz/duktape.c:14520
#12 0x0000555555607aab in duk_js_compile (thr=0x555555991680, src_buffer=0x55555599e920 "function\t\342\200\251w(\f) {\r};",
src_length=22, flags=8) at prep/fuzz/duktape.c:73001
#13 0x00005555555c7cee in duk_bi_global_object_eval (thr=0x555555991680) at prep/fuzz/duktape.c:33944
#14 0x00005555555f8c81 in duk__handle_call_raw (thr=0x555555991680, idx_func=1, call_flags=24) at prep/fuzz/duktape.c:64335
#15 0x00005555555f9802 in duk_handle_call_unprotected (thr=0x555555991680, idx_func=1, call_flags=12) at prep/fuzz/duktape.c:64489
#16 0x000055555560c40c in duk__executor_handle_call (thr=0x555555991680, idx=1, nargs=1, call_flags=12)
at prep/fuzz/duktape.c:75751
#17 0x0000555555631497 in duk__js_execute_bytecode_inner (entry_thread=0x555555991680, entry_act=0x55555599f7a0)
at prep/fuzz/duktape.c:77825
#18 0x000055555560c80e in duk_js_execute_bytecode (exec_thr=0x555555991680) at prep/fuzz/duktape.c:76013
#19 0x00005555555f8aea in duk__handle_call_raw (thr=0x555555991680, idx_func=3, call_flags=0) at prep/fuzz/duktape.c:64307
#20 0x00005555555f9802 in duk_handle_call_unprotected (thr=0x555555991680, idx_func=3, call_flags=0) at prep/fuzz/duktape.c:64489
#21 0x000055555555edc1 in duk_call_method (thr=0x555555991680, nargs=0) at prep/fuzz/duktape.c:14352
#22 0x00005555556463ce in wrapped_compile_execute (ctx=0x555555991680, udata=0x0) at examples/cmdline/duk_cmdline.c:301
#23 0x00005555555f9b41 in duk__handle_safe_call_inner (thr=0x555555991680, func=0x555555646129 <wrapped_compile_execute>,
udata=0x0, entry_valstack_bottom_byteoff=0, entry_callstack_top=0, entry_curr_thread=0x0, entry_thread_state=1 '\001',
idx_retbase=0, num_stack_rets=1) at prep/fuzz/duktape.c:64542
#24 0x00005555555fa95e in duk_handle_safe_call (thr=0x555555991680, func=0x555555646129 <wrapped_compile_execute>, udata=0x0,
num_stack_args=4, num_stack_rets=1) at prep/fuzz/duktape.c:64787
#25 0x000055555556085e in duk_safe_call (thr=0x555555991680, func=0x555555646129 <wrapped_compile_execute>, udata=0x0, nargs=4,
nrets=1) at prep/fuzz/duktape.c:14520
#26 0x0000555555646601 in handle_fh (ctx=0x555555991680, f=0x5555559a3280, filename=0x7fffffffe488 "test.js",
bytecode_filename=0x0) at examples/cmdline/duk_cmdline.c:632
#27 0x00005555556467ce in handle_file (ctx=0x555555991680, filename=0x7fffffffe488 "test.js", bytecode_filename=0x0)
at examples/cmdline/duk_cmdline.c:691
#28 0x000055555564724b in main (argc=2, argv=0x7fffffffe1a8) at examples/cmdline/duk_cmdline.c:1465
Duktape version:
OS:
Test case:
Backtrace:
Build script:
duktape-fuzzinator-options.yaml:
Found by Fuzzinator with grammarinator.
The text was updated successfully, but these errors were encountered: