-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Segmentation Fault in Js::ScopeSlots::GetCount
#6678
Comments
FYI, this issue isn't reproducable on windows 10 in interpreted and dynapogo modes. |
It is reproducable on Ubuntu 18.04 and Mac OS 11.2 when built with debug version. |
This is due to I can reproduce the bug in Ubuntu 18 (WSL). However function main() {
async function v0(v2) {
for (let v8 = 0; v8 < 1337; v8++) {
const v9 = class V9 {
constructor(v11,v12,v13) {
const v14 = !v8;
}
};
const v24 = await v2;
}
}
const v25 = v0();
}
main(); Command would then become |
This is a new bug from jitting generators, will need to fix this or re-disable generator jit :( before release. |
I think it's to do with the handling of OpCode::CloneInnerScopeSlots in IRBuilder.cpp - hopefully will be able to write a fix this weekend. |
Reduced further: async function v0() {
for (let v8 = 0; v8 < 1337; v8++) {
function foo () {v8}
await undefined;
}
}
v0(); The problem is I'm working on a fix. |
PoC:
backtrace:
How to reproduce:
The error code:
The text was updated successfully, but these errors were encountered: