Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
renatahodovan opened this issue Jun 23, 2015 · 1 comment
Labels
bug Undesired behaviour ecma core Related to core ECMA functionality

Comments

@renatahodovan
Copy link
Contributor

Jerry version:
Checked revision: 216dc25
Build: debug.linux
OS:
Ubuntu 14.10, x86_64
Test case:
Object.unobserve(undefined,print());
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

Program received signal SIGABRT, Aborted.
0x000000000047ef56 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32
32    SYSCALL_2
(gdb) bt
#0  0x000000000047ef56 in syscall_2_asm () at jerryscript/jerry-libc/target/linux/jerry-asm.S:32
#1  0x00000000004003c2 in syscall_2 (syscall_no=62, arg1=670, arg2=6)
    at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:96
#2  0x0000000000400563 in abort () at jerryscript/jerry-libc/target/linux/jerry-libc-target.c:175
#3  0x000000000043a6f2 in jerry_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-core/jrt/jrt-fatals.cpp:65
#4  0x000000000043a741 in jerry_assert_fail (assertion=0x49c528 "!ecma_is_value_empty (reg_value)", 
    file=0x49c490 "jerryscript/jerry-core/vm/opcodes-helpers-variables.cpp", 
    function=0x47f930 <_ZZ18get_variable_valueP10int_data_thbE8__func__.lto_priv.998> "get_variable_value", line=87)
    at jerryscript/jerry-core/jrt/jrt-fatals.cpp:92
#5  0x0000000000478da9 in get_variable_value (int_data=0x7fffffffd4f0, var_idx=132 '\204', do_eval_or_arguments_check=false)
    at jerryscript/jerry-core/vm/opcodes-helpers-variables.cpp:87
#6  0x0000000000475ed9 in fill_varg_list(int_data_t*, unsigned short, unsigned int*, unsigned short*) (int_data=0x7fffffffd4f0, args_number=2, 
    arg_values=0x7eb790 <_ZL13mem_heap_area.lto_priv.1028+262032>, out_arg_number_p=0x7fffffffd42e)
    at jerryscript/jerry-core/vm/opcodes-varg.cpp:53
#7  0x000000000042d96f in opfunc_call_n (opdata=..., int_data=0x7fffffffd4f0) at jerryscript/jerry-core/vm/opcodes.cpp:685
#8  0x000000000047c349 in vm_loop (int_data_p=0x7fffffffd4f0, run_scope_p=0x0) at jerryscript/jerry-core/vm/vm.cpp:471
#9  0x000000000047c5d6 in vm_run_from_pos (opcodes_p=0x7ab998 <_ZL13mem_heap_area.lto_priv.1028+408>, start_pos=1, this_binding_value=15, 
    lex_env_p=0x7ab828 <_ZL13mem_heap_area.lto_priv.1028+40>, is_strict=false, is_eval_code=false)
    at jerryscript/jerry-core/vm/vm.cpp:561
#10 0x000000000047c1cf in vm_run_global () at jerryscript/jerry-core/vm/vm.cpp:395
#11 0x000000000047ea64 in jerry_run () at jerryscript/jerry-core/jerry.cpp:1278
#12 0x000000000047d751 in main (argc=3, argv=0x7fffffffd888) at jerryscript/main-linux.cpp:248
@egavrin egavrin added the bug Undesired behaviour label Jul 1, 2015
@egavrin egavrin added this to the Core ECMA features milestone Jul 1, 2015
@egavrin egavrin added the ecma core Related to core ECMA functionality label Jul 1, 2015
@renatahodovan
Copy link
Contributor Author

This issue is no longer reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour ecma core Related to core ECMA functionality
Projects
None yet
Development

No branches or pull requests

2 participants