ChakraCore
ChakraCore copied to clipboard
Assertion failure in /IntlEngineInterfaceExtensionObject.cpp
the following poc cause a assertion failure in "debug" build on ubuntu.
function v0(v1,v2) {
try {
const v3 = v0();
} catch(v4) {
const v7 = "65537".localeCompare;
const v8 = Reflect.apply(v7,"65537",v4);
} finally {
}
}
const v9 = v0();
Seems to have the same effect:
$ 6773.js
function v0(v1,v2) {
try {
const v3 = v0();
} catch(v4) {
const v7 = String.prototype.localeCompare;
const v8 = Reflect.apply(v7,"65537",v4);
}
}
const v9 = v0();
$ ch 6773.js
ASSERTION 553548: (../lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 372) propertyValue && VarIs<T>(propertyValue)
Failure: (propertyValue && VarIs<T>(propertyValue))
Illegal instruction (core dumped)