chakra-core / chakra-core/ChakraCore
ASSERTION: ChakraCore/lib/Runtime/Types/SimpleTypeHandler.cpp, line 570
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
ChakraCore version:
commit c3ead3f
Build cmd:
```shell
./build.sh --debug --static
```
Test case:
```js
function foo() {
function bar(v1,v2,v3) {
}
function* baz(v5,v6) {
}
const a = baz();
bar.__proto__ = a;
delete bar.length;
for (const i in bar) {
z = v14;
}
bar.length = 0;
}
for(let i=0; i<0x300; i++) {
foo();
}
```
Execute
```shell
./ch --bgjit --oopjit ./test.js
```
Error msg:
```
ASSERTION 2624246: (ChakraCore/lib/Runtime/Types/SimpleTypeHandler.cpp, line 570) !GetIsLocked()
Failure: (!GetIsLocked())
Illegal instruction (core dumped)
```
Contributor guide
Assessment
This issue has not been assessed yet.