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_completion_value_throw (completion)' failed in vm_run_global #129

Closed
renatahodovan opened this issue May 29, 2015 · 2 comments
Labels
bug Undesired behaviour normal parser Related to the JavaScript parser

Comments

@renatahodovan
Copy link
Contributor

Jerry version:
Checked revision: 77df022
Build: debug.linux
OS:
Ubuntu 14.04, x86_64
Test case:
do {
    return null;
} while (false);
Backtrace:
ICE: Assertion 'ecma_is_completion_value_throw (completion)' failed at jerryscript/jerry-core/vm/vm.cpp(vm_run_global):400.
Error: ERR_FAILED_INTERNAL_ASSERTION
[Inferior 1 (process 18935) exited with code 0170]
(gdb) bt
#0  vm_run_global () at jerryscript/jerry-core/vm/vm.cpp:400
#1  0x00000000004bf487 in jerry_run () at jerryscript/jerry-core/jerry.cpp:1243
#2  0x00000000004bdab6 in main (argc=2, argv=0x7fffffffd908) at jerryscript/main-linux.cpp:248
@ruben-ayrapetyan ruben-ayrapetyan added bug Undesired behaviour normal api Related to the public API labels May 29, 2015
@ruben-ayrapetyan ruben-ayrapetyan added this to the Core ECMA features milestone May 29, 2015
@ruben-ayrapetyan ruben-ayrapetyan added parser Related to the JavaScript parser and removed api Related to the public API labels May 29, 2015
@egavrin egavrin self-assigned this Jul 1, 2015
egavrin added a commit that referenced this issue Jul 1, 2015
Related issue: #129

JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin [email protected]
egavrin added a commit that referenced this issue Jul 2, 2015
Related issue: #129

JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin [email protected]
@galpeter
Copy link
Contributor

Now I'm getting the following error:

    return null;
    ^
ERROR: Ln 2, Col 5: Return is illegal

So I think it works correctly now.

@egavrin
Copy link
Contributor

egavrin commented Nov 19, 2015

Ok on master, closing.

./build/bin/debug.linux/jerry /tmp/aa.js
    return null;
    ^
ERROR: Ln 2, Col 5: Return is illegal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour normal parser Related to the JavaScript parser
Projects
None yet
Development

No branches or pull requests

4 participants