ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

ASSERTION: (ChakraCore/lib/Backend/BackwardPass.cpp, line 582) blockSucc->GetDataUseCount() != 0

Open anbu1024 opened this issue 2 years ago • 1 comments

ChakraCore version: commit c3ead3f

Build cmd:

./build.sh --debug --static

Test case:

function foo() {
	try {
		try {
		    for (let i = 0; i < 1; i++) {
		        try {
	                function bar() {
	                    const ret = Reflect.ownKeys();
	                }
	                const x = new bar();
		        }
		        finally {
		            break;
		        }
		    }
		} 
		finally {
		}
	} 
	catch(e) {
	}
}

i = 0;
while (i<1024)
{
	foo();
	i++;
}

Execute

./ch ./test.js

Error msg:

ASSERTION 2675347: (ChakraCore/lib/Backend/BackwardPass.cpp, line 582) blockSucc->GetDataUseCount() != 0
 Failure: (blockSucc->GetDataUseCount() != 0)
Illegal instruction (core dumped)

anbu1024 avatar Sep 22 '23 14:09 anbu1024

Why do you try to find bugs in dead projects?

InternalHigh avatar Oct 01 '23 07:10 InternalHigh