Skip to content

Assertion '!ecma_is_value_empty (reg_value)' failed in get_variable_value #117

Closed
@renatahodovan

Description

@renatahodovan
Jerry version:
Checked revision: aaeec7f
Build: debug.linux
OS:
Ubuntu 14.04, x86_64
Test case:
[print(typeof v_1)];
Backtrace:
ICE: Assertion '!ecma_is_value_empty (reg_value)' failed at jerryscript/jerry-core/vm/opcodes-helpers-variables.cpp(get_variable_value):87.
Error: ERR_FAILED_INTERNAL_ASSERTION
[Inferior 1 (process 12086) exited with code 0170]
(gdb) bt
#0  get_variable_value (int_data=0x7fffffffd590, var_idx=130 '\202', do_eval_or_arguments_check=false)
    at jerryscript/jerry-core/vm/opcodes-helpers-variables.cpp:87
#1  0x00000000004a662b in fill_varg_list (int_data=0x7fffffffd590, args_number=1, arg_values=0x8296d0 <_ZL13mem_heap_area.4015+262032>, 
    out_arg_number_p=0x7fffffffd466) at jerryscript/jerry-core/vm/opcodes-varg.cpp:53
#2  0x000000000045005f in opfunc_array_decl (opdata=..., int_data=0x7fffffffd590) at jerryscript/jerry-core/vm/opcodes.cpp:835
#3  0x00000000004bfa60 in run_int_loop (int_data=0x7fffffffd590) at jerryscript/jerry-core/vm/vm.cpp:440
#4  0x00000000004b678d in run_int_from_pos (start_pos=0, this_binding_value=15, lex_env_p=0x7e9770 <_ZL13mem_heap_area.4015+48>, is_strict=false, 
    is_eval_code=false) at jerryscript/jerry-core/vm/vm.cpp:513
#5  0x00000000004bf82e in run_int () at jerryscript/jerry-core/vm/vm.cpp:381
#6  0x00000000004bd4d0 in jerry_run () at jerryscript/jerry-core/jerry.cpp:1243
#7  0x00000000004bbaff in main (argc=2, argv=0x7fffffffd938) at jerryscript/main-linux.cpp:248

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviournormal

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions