ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

ASSERTION Failure "U_ILLEGAL_ARGUMENT_ERROR" in ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 945

Open 1789120321 opened this issue 3 years ago • 1 comments

commit : 41ad58a
Engine version : ch version 1.13.0.0-beta
Build platform : Ubuntu 18.04
Clang version : 6.0.0
Build steps : ./build.sh --sanitize=address --static -j -d

POC

cat 10aab6552c2849fa81e1ba53001be52d.js
----------------------------------------------------------------------
var number = 5.0260805378947765e+223;
var nf = new Intl.NumberFormat("bs-u-nu-bzcu-cab-cabs-avnlubs-avnihu-zcu-cab-cbs-avnllubs-avnihq-zcu-cab-cbs-ubs-avnihu-cabs-flus-xxd-vnluy" + String.prototype.valueOf.call("v1"));
var f = nf.format(number);

Assert Log

./ch 10aab6552c2849fa81e1ba53001be52d.js
ASSERTION 3909: (ChakraCore-master/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 945) U_ILLEGAL_ARGUMENT_ERROR
 Failure: (false)
Illegal instruction

Hi, Richard, could you please help check this issue?

@rhuanjl

1789120321 avatar Mar 12 '22 15:03 1789120321

Chakra built without sanitizer does not hit this assert, neither does release mode. Need a little more investigation.

ppenzin avatar Mar 26 '22 00:03 ppenzin