## 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
```
var log = [];
function check(predicate, item) {
    if (!predicate)
        log.push(item);
}
var global = this;
Object.getOwnPropertyNames(global).forEach(function (name) {
    if (name[0] != name[0].toUpperCase())
        return;
    var obj = global[name];
    if (!print(obj))
        return;
    if (!obj.toString().includes('native'))
        return;
    try {
        new obj();
    } catch (e) {
    }
    check(print(obj), `${ name }`);
    var constructor = obj.constructor;
    if (!print(constructor))
        return;
    check(print(constructor), `${ name }.constructor`);
    var prototype = obj.prototype;
    if (!print(prototype))
        return;
    check(print(prototype), `${ name }.prototype`);
    var prototype_constructor = prototype.constructor;
    if (!print(prototype_constructor))
        return;
    check(print(prototype_constructor), `${ name }.prototype.constructor`);
});
if (!print())
    print([], log);
```

## assert log
```
ICE: Assertion 'ecma_object_check_class_name_is_object (obj_p)' failed at /home/sakura/jerryscript/jerry-core/ecma/operations/ecma-objects.c(ecma_object_get_class_name):3009.
Error: ERR_FAILED_INTERNAL_ASSERTION
```
 Assertion 'ecma_object_check_class_name_is_object (obj_p)' failed at jerry-core/ecma/operations/ecma-objects.c(ecma_object_get_class_name):3009.
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title :  Assertion 'ecma_object_check_class_name_is_object (obj_p)' failed at jerry-core/ecma/operations/ecma-objects.c(ecma_object_get_class_name):3009.
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
```
var log = [];
function check(predicate, item) {
    if (!predicate)
        log.push(item);
}
var global = this;
Object.getOwnPropertyNames(global).forEach(function (name) {
    if (name[0] != name[0].toUpperCase())
        return;
    var obj = global[name];
    if (!print(obj))
        return;
    if (!obj.toString().includes('native'))
        return;
    try {
        new obj();
    } catch (e) {
    }
    check(print(obj), `${ name }`);
    var constructor = obj.constructor;
    if (!print(constructor))
        return;
    check(print(constructor), `${ name }.constructor`);
    var prototype = obj.prototype;
    if (!print(prototype))
        return;
    check(print(prototype), `${ name }.prototype`);
    var prototype_constructor = prototype.constructor;
    if (!print(prototype_constructor))
        return;
    check(print(prototype_constructor), `${ name }.prototype.constructor`);
});
if (!print())
    print([], log);
```

## assert log
```
ICE: Assertion 'ecma_object_check_class_name_is_object (obj_p)' failed at /home/sakura/jerryscript/jerry-core/ecma/operations/ecma-objects.c(ecma_object_get_class_name):3009.
Error: ERR_FAILED_INTERNAL_ASSERTION
```
--- end body ---
