## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g \
--strip=off --system-allocator=on --logging=on \
--linker-flag=-fuse-ld=gold --error-messages=on --line-info=ON \
--stack-limit=10
```

## poc
```
function assertThrows(code, type_opt, cause_opt) {
    if (typeof code === 'function')
        return code();
    if (typeof code === 'string')
        return eval(code);
}
function f0(a = eval('var b'), b) {
}
assertThrows(f0, SyntaxError);
function f1(a = eval('var b = 0'), b) {
}
assertThrows(f1, SyntaxError);
function f2(a = eval('function b(){}'), b) {
}
assertThrows(f2, SyntaxError);
function f3(a = eval('{ function b(){} }'), b) {
    return b;
}
print(undefined, f3());
function f4(b, a = eval('var b = 0')) {
    return b;
}
assertThrows(f4, SyntaxError);
function f5(b, a = eval('function b(){}')) {
    return b;
}
assertThrows(f5, SyntaxError);
function f6(b, a = eval('{ function b(){} }')) {
    return b;
}
print(42, f6(42));
```

## assert log
```
Assertion 'ECMA_PROPERTY_VALUE_PTR (property_p)->value == ECMA_VALUE_UNINITIALIZED' failed at jerry-core/vm/vm.c(vm_loop):1662. Error: ERR_FAILED_INTERNAL_ASSERTION 
```
Assertion 'ECMA_PROPERTY_VALUE_PTR (property_p)->value == ECMA_VALUE_UNINITIALIZED' failed at jerry-core/vm/vm.c(vm_loop):1662. 
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Assertion 'ECMA_PROPERTY_VALUE_PTR (property_p)->value == ECMA_VALUE_UNINITIALIZED' failed at jerry-core/vm/vm.c(vm_loop):1662. 
Issue date:

--- start body ---
## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g \
--strip=off --system-allocator=on --logging=on \
--linker-flag=-fuse-ld=gold --error-messages=on --line-info=ON \
--stack-limit=10
```

## poc
```
function assertThrows(code, type_opt, cause_opt) {
    if (typeof code === 'function')
        return code();
    if (typeof code === 'string')
        return eval(code);
}
function f0(a = eval('var b'), b) {
}
assertThrows(f0, SyntaxError);
function f1(a = eval('var b = 0'), b) {
}
assertThrows(f1, SyntaxError);
function f2(a = eval('function b(){}'), b) {
}
assertThrows(f2, SyntaxError);
function f3(a = eval('{ function b(){} }'), b) {
    return b;
}
print(undefined, f3());
function f4(b, a = eval('var b = 0')) {
    return b;
}
assertThrows(f4, SyntaxError);
function f5(b, a = eval('function b(){}')) {
    return b;
}
assertThrows(f5, SyntaxError);
function f6(b, a = eval('{ function b(){} }')) {
    return b;
}
print(42, f6(42));
```

## assert log
```
Assertion 'ECMA_PROPERTY_VALUE_PTR (property_p)->value == ECMA_VALUE_UNINITIALIZED' failed at jerry-core/vm/vm.c(vm_loop):1662. Error: ERR_FAILED_INTERNAL_ASSERTION 
```
--- end body ---

An assertion failure in JerryScript's virtual machine indicates a potential vulnerability related to uninitialized property values. This could lead to undefined behavior or crashes when executing certain JavaScript code, particularly those involving variable initializations and function definitions. The issue arises when the virtual machine encounters unexpected states during execution, which may be exploited to cause crashes or unexpected behavior in applications using JerryScript.