The latest version
commit: 05dbbd134c3b9e2482998f267857dd3722001cd7

Build platform:
Ubuntu 20.04

Test case:
```
async function* foo() {
    yield* foo;
    return foo;
}

var i = Symbol.iterator;
foo[i] = foo;

var bar = foo();

bar.next(foo);
```

build options
```
python tools/build.py --debug
```

error msg:
```
ICE: Assertion 'capability_p != NULL' failed at jerry-core/ecma/builtin-objects/ecma-builtin-async-from-sync-iterator-prototype.c(ecma_builtin_async_from_sync_iterator_prototype_dispatch_routine):317.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)
```

ICE: Assertion 'capability_p != NULL' failed at jerry-core/ecma/builtin-objects/ecma-builtin-async-from-sync-iterator-prototype.c
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : ICE: Assertion 'capability_p != NULL' failed at jerry-core/ecma/builtin-objects/ecma-builtin-async-from-sync-iterator-prototype.c
Issue date:

--- start body ---
The latest version
commit: 05dbbd134c3b9e2482998f267857dd3722001cd7

Build platform:
Ubuntu 20.04

Test case:
```
async function* foo() {
    yield* foo;
    return foo;
}

var i = Symbol.iterator;
foo[i] = foo;

var bar = foo();

bar.next(foo);
```

build options
```
python tools/build.py --debug
```

error msg:
```
ICE: Assertion 'capability_p != NULL' failed at jerry-core/ecma/builtin-objects/ecma-builtin-async-from-sync-iterator-prototype.c(ecma_builtin_async_from_sync_iterator_prototype_dispatch_routine):317.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)
```

--- end body ---

An internal compiler error (ICE) occurs in JerryScript when an assertion fails due to a null pointer dereference in the async iterator implementation. This can lead to a Denial of Service (DoS) as the program aborts unexpectedly when executing the provided test case.