issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (const i in RegExp) { // RegExp should not be iterated by for-in Object.defineProperty(RegExp, i...
Assertion Failure: (info->IsNoCache() || object->GetPropertyIndex(propertyId) == Constants::NoSlot) in ChakraCore/lib/Runtime/Language/CacheOperators.cpp, line 178
https://api.github.com/repos/chakra-core/ChakraCore/issues/6915/comments
0
2023-05-13T04:33:37Z
2023-05-13T04:33:37Z
https://github.com/chakra-core/ChakraCore/issues/6915
1,708,429,741
6,915
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` const a = new Proxy({}, {}); __proto__ = a; b = 1 ``` ## Execution steps & Output ``` ./ch poc...
Assertion Failure: (!(flags & PropertyOperation_Root)) in ChakraCore/lib/Runtime/Library/GlobalObject.cpp, line 1963
https://api.github.com/repos/chakra-core/ChakraCore/issues/6914/comments
0
2023-05-13T04:33:05Z
2023-05-13T04:33:05Z
https://github.com/chakra-core/ChakraCore/issues/6914
1,708,429,649
6,914
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let i = 0; i < 80; i++) { for (const j in 2) { const arr = [1,2,3]; for (let ...
Assertion Failure: landingPadValueType.IsSimilar(baseValueType) in ChakraCore/lib/Backend/GlobOptArrays.cpp::GlobOpt::ArraySrcOpt::CheckLoops, line 504
https://api.github.com/repos/chakra-core/ChakraCore/issues/6913/comments
0
2023-05-13T04:32:27Z
2023-05-13T04:32:27Z
https://github.com/chakra-core/ChakraCore/issues/6913
1,708,429,523
6,913
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let i = 0; i < 100; i++) { for (let j = 2; j != 2; j = j >>> i) { const m = []; ...
Assertion Failure: upperBoundCheck->GetBailOutKind() == IR::BailOutOnFailedHoistedBoundCheck in ChakraCore/lib/Backend/BackwardPass.cpp, line 5257
https://api.github.com/repos/chakra-core/ChakraCore/issues/6912/comments
0
2023-05-13T04:31:57Z
2023-05-13T04:31:57Z
https://github.com/chakra-core/ChakraCore/issues/6912
1,708,429,412
6,912
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt() { function f(a13) { opt = a13; } new Promise(f); opt.__proto_...
Assertion Failure: objectWithProperty->IsWritable(propertyId) in Js::JavaScriptOperators::SetProperty
https://api.github.com/repos/chakra-core/ChakraCore/issues/6911/comments
0
2023-05-13T04:31:22Z
2023-05-13T04:31:22Z
https://github.com/chakra-core/ChakraCore/issues/6911
1,708,429,302
6,911
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt(arg) { opt.__proto__ = Reflect; for (let i = 0; i < 50; i++) { arg[-2] = ...
Assertion Failure: canSetField in ChakraCore/lib/Runtime/./Language/InlineCache.inl, line 240
https://api.github.com/repos/chakra-core/ChakraCore/issues/6910/comments
0
2023-05-13T04:30:23Z
2023-05-13T04:30:23Z
https://github.com/chakra-core/ChakraCore/issues/6910
1,708,429,096
6,910
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt(arg) { try { switch (arg) { case 2: try {} catch...
Assertion Failure: this->func->IsLoopBodyInTry() in ChakraCore/lib/Backend/FlowGraph.cpp, line 1842
https://api.github.com/repos/chakra-core/ChakraCore/issues/6909/comments
0
2023-05-13T04:29:39Z
2023-05-13T04:29:39Z
https://github.com/chakra-core/ChakraCore/issues/6909
1,708,428,475
6,909
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let i = 0; i < 400; i++) { const obj = {}; obj["a"]; function f() { eval("")...
Assertion Failure: Invalid helperMethod in ChakraCore/lib/Backend/Lower.cpp::Lowerer::MapStFldHelper, line 7222
https://api.github.com/repos/chakra-core/ChakraCore/issues/6908/comments
0
2023-05-13T04:29:03Z
2023-05-13T04:29:03Z
https://github.com/chakra-core/ChakraCore/issues/6908
1,708,428,353
6,908
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt(arg) { do {} while (arg !== arg); } for (let i = 0; i < 100; i++) { opt(); } `...
Assertion Failure: Inconsistency in Helper label annotations in ChakraCore/lib/Backend/DbCheckPostLower.cpp, line 81
https://api.github.com/repos/chakra-core/ChakraCore/issues/6907/comments
0
2023-05-13T04:28:06Z
2023-05-13T04:28:06Z
https://github.com/chakra-core/ChakraCore/issues/6907
1,708,428,151
6,907
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` async function f1() { const v7 = await 1301655991; function f8() { return v7; } ...
Assertion Failure: offset != 0 in ChakraCore/lib/Backend/amd64/EncoderMD.cpp, line 263
https://api.github.com/repos/chakra-core/ChakraCore/issues/6906/comments
0
2023-05-13T04:27:33Z
2023-05-13T04:27:33Z
https://github.com/chakra-core/ChakraCore/issues/6906
1,708,428,062
6,906
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function f14() { try { f14(); } catch(e20) { } ("test")["localeCompare"]("te...
Assertion Failure: (propertyValue && VarIs<T>(propertyValue)) in ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 372
https://api.github.com/repos/chakra-core/ChakraCore/issues/6905/comments
0
2023-05-13T04:26:46Z
2023-05-13T04:26:46Z
https://github.com/chakra-core/ChakraCore/issues/6905
1,708,427,898
6,905
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let v0 = 0; v0 < 10; v0++) { async function f1() { function f6() {} for (let ...
Assertion Failure: (JavascriptOperators::GetTypeId(result) == TypeIds_AwaitObject) in ChakraCore/lib/Runtime/Library/JavascriptAsyncFunction.cpp, line 192
https://api.github.com/repos/chakra-core/ChakraCore/issues/6904/comments
0
2023-05-13T04:26:08Z
2023-05-13T04:26:08Z
https://github.com/chakra-core/ChakraCore/issues/6904
1,708,427,782
6,904
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let i = 0; i < 10; i++) { for (let j = 0; j < 10; j++) { function opt() { ...
Assertion Failure: IsUninitialized() || IsLikelyInt() when GlobOpt tries hoist invariant
https://api.github.com/repos/chakra-core/ChakraCore/issues/6903/comments
0
2023-05-13T04:25:29Z
2023-05-13T04:25:29Z
https://github.com/chakra-core/ChakraCore/issues/6903
1,708,427,659
6,903
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt(arg) { arg == -1; try { do {} while (arg < 2); } catch(e) {} } for...
Assertion failure: target->GetBasicBlock()->isAirLockBlock in ChakraCore/lib/Backend/BackwardPass.cpp, line 2702
https://api.github.com/repos/chakra-core/ChakraCore/issues/6902/comments
0
2023-05-13T04:24:39Z
2023-05-13T04:24:39Z
https://github.com/chakra-core/ChakraCore/issues/6902
1,708,427,490
6,902
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` for (let i = 0; i < 100; i++) { for (let j = 2; j < 2; j = j % i) { for (let k = 0; k < 0x7...
Assertion failure: !instr->GetDst() in ChakraCore/lib/Backend/GlobOpt.cpp, line 2378
https://api.github.com/repos/chakra-core/ChakraCore/issues/6901/comments
0
2023-05-10T12:09:23Z
2023-05-10T12:09:23Z
https://github.com/chakra-core/ChakraCore/issues/6901
1,703,786,263
6,901
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cbarg1935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` function opt(){} for (let i = 0; i < 100; i++) { opt[3] = 99 for (const j in opt) { ...
Assertion failure: (!GetIsLocked()) in ChakraCore/lib/Runtime/Types/SimpleTypeHandler.cpp Js::SimpleTypeHandler::DeleteProperty, line 664
https://api.github.com/repos/chakra-core/ChakraCore/issues/6900/comments
0
2023-05-10T11:42:37Z
2023-06-15T06:13:10Z
https://github.com/chakra-core/ChakraCore/issues/6900
1,703,733,463
6,900
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` async function opt() { Math.max(); Math.imul(2147483649, 2); await 2147483649; return...
Assertion Failure: unrestorableSymbols.IsEmpty() in ChakraCore/lib/Backend/LinearScan.cpp, line 5203
https://api.github.com/repos/chakra-core/ChakraCore/issues/6899/comments
0
2023-05-10T11:13:07Z
2023-05-10T11:13:07Z
https://github.com/chakra-core/ChakraCore/issues/6899
1,703,686,819
6,899
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` async function opt(arg1) { await 1300055; [arg1,1300055]; (1300055).indexOf; } for (le...
SEGV in JS::RecyclableObject::GetTypeId
https://api.github.com/repos/chakra-core/ChakraCore/issues/6898/comments
1
2023-05-10T09:01:21Z
2023-06-15T01:06:33Z
https://github.com/chakra-core/ChakraCore/issues/6898
1,703,442,402
6,898
[ "chakra-core", "ChakraCore" ]
## Version commit id: c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ## Platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ## Build - Debug Mode ``` ./build.sh --debug --static ``` ## PoC ``` ("abcdefg").padStart(1779013264); //("65536").padEnd(~3107152661); ``` ## Execution steps & Output ...
Aborted in ReportFatalException (Js::JavascriptString::PadCore)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6897/comments
1
2023-05-10T08:19:53Z
2023-05-11T07:43:55Z
https://github.com/chakra-core/ChakraCore/issues/6897
1,703,367,900
6,897
[ "chakra-core", "ChakraCore" ]
After adding a Apple Silicon support when building of the ChakraCore for Windows (ARM64) using the following command: ``` msbuild /m /p:Platform=arm64 /p:Configuration=Release /p:RuntimeLib=static_library D:\Projects\ChakraCore\Build\Chakra.Core.sln ``` An error occurs: ``` "D:\Projects\ChakraCore\Build\Cha...
Windows (ARM64) build failed after adding a Apple Silicon support
https://api.github.com/repos/chakra-core/ChakraCore/issues/6895/comments
1
2023-05-09T10:27:18Z
2024-04-17T13:57:59Z
https://github.com/chakra-core/ChakraCore/issues/6895
1,701,808,220
6,895
[ "chakra-core", "ChakraCore" ]
jsish reversion c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 master Build platform Ubuntu 20.04 LTS (Linux 5.4.0-1018-aws x86_64) Build steps ```sh ./build.sh ./ch poc.js ``` Test case poc.js ```javascript try { (function TestFunc() { var a; (function outer() { (funct...
Aborted in ReportFatalException (Func::TryCodegen)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6894/comments
4
2023-05-02T14:18:20Z
2023-08-31T08:07:19Z
https://github.com/chakra-core/ChakraCore/issues/6894
1,692,516,793
6,894
[ "chakra-core", "ChakraCore" ]
###### Version Branch : master Version: https://github.com/chakra-core/ChakraCore/commit/c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 ###### Build platform Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) ###### Build steps - Address Sanitizer=On - Debug ```sh ./build.sh -d --static --sanitize=addre...
Assertion Failure : isNextFieldDateNegativeVersion5 == false in ChakraCore/lib/Runtime/Library/DateImplementation.cpp, line 1138
https://api.github.com/repos/chakra-core/ChakraCore/issues/6893/comments
1
2023-04-30T07:30:41Z
2023-05-09T21:36:24Z
https://github.com/chakra-core/ChakraCore/issues/6893
1,689,815,520
6,893
[ "chakra-core", "ChakraCore" ]
Version --- Branch : master Version : https://github.com/chakra-core/ChakraCore/commit/c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 Platform --- Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) Build --- - Address Sanitizer=On - Debug ``` ./build.sh -d --static --sanitize=address ``` PoC --- <detai...
Aborted in ReportFatalException (Js::CompoundString::GetSz)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6892/comments
1
2023-04-25T12:40:19Z
2023-05-09T21:47:35Z
https://github.com/chakra-core/ChakraCore/issues/6892
1,683,096,075
6,892
[ "chakra-core", "ChakraCore" ]
Version --- Branch : master Version : https://github.com/chakra-core/ChakraCore/commit/c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 Platform --- Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) Build --- - Address Sanitizer=On - Debug ``` ./build.sh -d --static --sanitize=address ``` It also happens on...
Aborted in ReportFatalException (Js::JavascriptString::RepeatCore)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6891/comments
1
2023-04-23T07:46:48Z
2023-05-09T21:42:36Z
https://github.com/chakra-core/ChakraCore/issues/6891
1,679,908,194
6,891
[ "chakra-core", "ChakraCore" ]
Version --- Branch : master Version : https://github.com/chakra-core/ChakraCore/commit/c3ead3f8a6e0bb8e32e043adc091c68cba5935e9 Platform --- Ubuntu 20.04.5 LTS (Linux 5.4.0-144-generic x86_64) Build --- - Address Sanitizer=On - Debug ``` ./build.sh -d --static --sanitize=address ``` PoC --- <det...
Assertion Failure : m_token.tk == tkRCurly in ChakraCore/lib/Parser/Parse.cpp, line 13296
https://api.github.com/repos/chakra-core/ChakraCore/issues/6890/comments
0
2023-04-23T06:41:08Z
2023-05-09T21:38:30Z
https://github.com/chakra-core/ChakraCore/issues/6890
1,679,885,670
6,890
[ "chakra-core", "ChakraCore" ]
null
Support building with CMake and MSYS2 on Windows
https://api.github.com/repos/chakra-core/ChakraCore/issues/6889/comments
1
2023-04-23T03:42:08Z
2023-06-14T23:42:18Z
https://github.com/chakra-core/ChakraCore/issues/6889
1,679,841,714
6,889
[ "chakra-core", "ChakraCore" ]
Branch: `master` Commit: `cbb9b101d18e4c1682ca39a52a201d8e4241ea17` POC is: ``` let xxx = new Uint32Array(0x10000); xxx.slice = Array.prototype.slice; function jit(arr, index){ let ut = arr.slice(0,0); //become definite Uint32Array but |arr| is a VirtualUint32Array for(let i = 0; i < (i + ...
SEGV on unknown address 0x000000000000
https://api.github.com/repos/chakra-core/ChakraCore/issues/6888/comments
1
2023-04-09T04:55:55Z
2023-04-21T02:47:23Z
https://github.com/chakra-core/ChakraCore/issues/6888
1,659,749,340
6,888
[ "chakra-core", "ChakraCore" ]
Branch: `master` Commit: `cbb9b101d18e4c1682ca39a52a201d8e4241ea17` POC is: ``` async function f1() { await null; throw WScript.f2a(f1()); } f1(); async function f2() { async function f2a() { throw "err"; } async function f2b() { try { var p = f2a(); ...
SEGV (/root/ChakraCore-latest/out/Release/ch+0x6e3fff) in Js::EntryPointInfo::HasInlinees()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6887/comments
2
2023-04-09T03:34:13Z
2023-04-21T02:46:29Z
https://github.com/chakra-core/ChakraCore/issues/6887
1,659,734,429
6,887
[ "chakra-core", "ChakraCore" ]
Branch: `master` Commit: `cbb9b101d18e4c1682ca39a52a201d8e4241ea17` POC is: ``` function attach(f) { (function (r) { WScript.Attach(r); })(f); } async function mainTest(notAttachCall) { if (notAttachCall) { for (let i = 0; i < 1; []) { await attach(mainTest); } ...
SEGV (/root/ChakraCore-latest/out/Release/ch+0xe248a5) in Js::ProfilingHelpers::ProfiledNewScArray(unsigned int, Js::FunctionBody*, unsigned short)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6886/comments
1
2023-04-09T03:28:26Z
2023-04-21T02:41:02Z
https://github.com/chakra-core/ChakraCore/issues/6886
1,659,733,406
6,886
[ "chakra-core", "ChakraCore" ]
Branch: `master` Commit: `cbb9b101d18e4c1682ca39a52a201d8e4241ea17` POC: ``` function Run() { function f1() { var m = 31; m++; var coll = new Intl.Collator(); m += f2(); return m; } function f2() { return 100; } function test6() { ...
SEGV (/root/ChakraCore-latest/out/Release/ch+0x8bcaaf) in Js::DiagScopeVariablesWalker::GetChildrenCount()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6885/comments
1
2023-04-09T03:16:59Z
2023-04-21T02:42:47Z
https://github.com/chakra-core/ChakraCore/issues/6885
1,659,731,495
6,885
[ "chakra-core", "ChakraCore" ]
Branch: `master` Commit : `cbb9b101d18e4c1682ca39a52a201d8e4241ea17` POC : ``` function Run() { var intl = new Intl.Collator(); intl.compare('a','b');/**bp:resume('step_into');locals()**/ let C1 = class NotC1 { attemptOuterBindingChange() { C1 = 1; } attemptInnerBindingChange() { NotC1 ...
dynamic-stack-buffer-overflow in release build
https://api.github.com/repos/chakra-core/ChakraCore/issues/6884/comments
0
2023-04-09T03:05:13Z
2023-04-21T02:43:38Z
https://github.com/chakra-core/ChakraCore/issues/6884
1,659,728,699
6,884
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0, 1.13.0.0-beta ###### Test case ```js function foo() { var IntArr2 = new Int32Array(); Object.defineProperty(IntArr2, "length", {value: 1}); IntArr2[5] = 429496725; IntArr2[IntArr2.length] = 3; return [IntArr2,IntArr2.length] } for(let i = 0;i<100000;i++) foo()...
ChakraCore JIT problem with array
https://api.github.com/repos/chakra-core/ChakraCore/issues/6883/comments
0
2023-04-04T06:12:09Z
2023-04-04T06:12:09Z
https://github.com/chakra-core/ChakraCore/issues/6883
1,653,251,352
6,883
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0, 1.13.0.0-beta ###### Test case ```js function foo() { var IntArr2 = new Int32Array(); IntArr2.__defineGetter__("length", function () { return 1; }); IntArr2[5] = 429496725; IntArr2[IntArr2.length] = 3; return [IntArr2,IntArr2.length] } for(let i = 0;i<1000...
JIT did not handle array length correctly
https://api.github.com/repos/chakra-core/ChakraCore/issues/6882/comments
0
2023-04-04T05:50:33Z
2023-04-04T05:50:33Z
https://github.com/chakra-core/ChakraCore/issues/6882
1,653,225,977
6,882
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0, 1.13.0.0-beta ###### Test case ```js var obj = { hi() { super[1] = 'hello'; } }; obj.hi(); print(JSON.stringify(obj)) ``` ###### Execution steps .ch Testcase.js ###### Output ``` {} ``` ###### Expected result {"1":"hello"} #...
chakra Inherit problem
https://api.github.com/repos/chakra-core/ChakraCore/issues/6880/comments
1
2023-03-17T07:10:33Z
2023-03-18T04:28:06Z
https://github.com/chakra-core/ChakraCore/issues/6880
1,628,816,926
6,880
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0 ###### Test case ```js const a = Math.pow() const b = -a const c = b.toLocaleString(); print(c) ``` ###### Execution steps .ch Testcase.js ###### Output ``` -NaN ``` ###### Expected result NaN ###### Description The correct output of the t...
-NaN
https://api.github.com/repos/chakra-core/ChakraCore/issues/6879/comments
3
2023-03-17T06:48:38Z
2023-03-25T09:46:51Z
https://github.com/chakra-core/ChakraCore/issues/6879
1,628,793,723
6,879
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0, 1.13.0.0-beta ###### Test case 1 ```js var a; for(let b = 30000;b>-1;b--){ a = b * -1 a += a ; } print(Object.is(a, 0)); print(Object.is(a, -0)); ``` ###### Execution steps 1 .ch Testcase.js ###### Output 1 ``` true false ``` ###### Expected ...
Seems to be JIT optimization problem
https://api.github.com/repos/chakra-core/ChakraCore/issues/6878/comments
0
2023-03-17T06:45:29Z
2023-03-17T06:45:29Z
https://github.com/chakra-core/ChakraCore/issues/6878
1,628,790,798
6,878
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0, 1.13.0.0-beta ###### Test case ```js function foo(){ const b = [{name:"bob",age:25}]; const o = {"__proto__":[[]], "":""}; for (const p in o) { var a = b[p]; o.__proto__ = {}; } return JSON.stringify(a) } print(foo()...
chakra Inconsistent execution results
https://api.github.com/repos/chakra-core/ChakraCore/issues/6877/comments
2
2023-03-17T06:30:31Z
2023-03-23T16:34:33Z
https://github.com/chakra-core/ChakraCore/issues/6877
1,628,777,766
6,877
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0 ###### Test case ```js var x = 'a'; //large than 32 cause a crash for (var i = 0; i < 32; i++) { try { x = x + x; } catch (e) { } } print(x.length) ``` ###### Execution steps .ch Testcase.js ###### Output ``` Aborted (core dumped) ``` ###### Descrip...
For loop leads to a crash
https://api.github.com/repos/chakra-core/ChakraCore/issues/6876/comments
0
2023-03-17T05:55:18Z
2023-03-17T05:55:18Z
https://github.com/chakra-core/ChakraCore/issues/6876
1,628,739,599
6,876
[ "chakra-core", "ChakraCore" ]
I've found that trying to build from a fresh checkout of ChakraCore in MSVC usually fails with errors like the following: ![image](https://user-images.githubusercontent.com/4097841/216776295-6b861c15-0846-4498-b2f6-d7d5a85c56be.png) When this happens, clicking Build a second time results in a successful build. S...
Fresh Windows MSVC build fails, then succeeds on second attempt
https://api.github.com/repos/chakra-core/ChakraCore/issues/6875/comments
4
2023-02-04T15:43:57Z
2023-04-22T00:31:51Z
https://github.com/chakra-core/ChakraCore/issues/6875
1,570,997,856
6,875
[ "chakra-core", "ChakraCore" ]
I have enabled debugging in the runtime and provided a callback for debug events. I also called JsDiagSetBreakOnException(runtime, JsDiagBreakOnExceptionAttributeUncaught); If there is an exception in the script which is not caught, the debug event callback is provided and I am able to get all the diagnostic info...
Native Functions and Uncaught Exceptions
https://api.github.com/repos/chakra-core/ChakraCore/issues/6873/comments
3
2023-01-29T13:35:25Z
2023-02-09T08:40:20Z
https://github.com/chakra-core/ChakraCore/issues/6873
1,561,291,386
6,873
[ "chakra-core", "ChakraCore" ]
I am now looking at promises and have provided the PromiseContinuationCallback for the runtime. In the callback, I am adding the 'task' provided to a 'promises_to_keep' queue and then when 'control' comes back to my code .. I am processing this queue -calling the 'task' function with JsUndefinedValue as the single ...
Promise Continuation
https://api.github.com/repos/chakra-core/ChakraCore/issues/6872/comments
5
2023-01-29T13:09:51Z
2023-02-09T08:40:33Z
https://github.com/chakra-core/ChakraCore/issues/6872
1,561,281,871
6,872
[ "chakra-core", "ChakraCore" ]
A key usage while embedding a scripting engine in an application is to create 'native' objects. Two types of native objects are possible: a) those which are created by the host and exposed to the script b) those which can be created from the script with 'new' - here the host provides a constructor function. Typ...
Native Objects and External Data
https://api.github.com/repos/chakra-core/ChakraCore/issues/6871/comments
3
2023-01-22T13:11:38Z
2023-02-09T08:40:50Z
https://github.com/chakra-core/ChakraCore/issues/6871
1,552,111,306
6,871
[ "chakra-core", "ChakraCore" ]
As part of building C samples for chakra, am now working on modules. For this I am using the examples posted by Mozilla at https://github.com/mdn/js-examples/tree/main/module-examples https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules is the place where they explain the examples. All the ex...
ChakraCore : Dynamic Module Import
https://api.github.com/repos/chakra-core/ChakraCore/issues/6870/comments
6
2023-01-15T13:42:06Z
2023-02-09T08:41:07Z
https://github.com/chakra-core/ChakraCore/issues/6870
1,533,820,401
6,870
[ "chakra-core", "ChakraCore" ]
Hello I would like to make the document of requirements for the project. Could you give me some information about the project?
Requirements document
https://api.github.com/repos/chakra-core/ChakraCore/issues/6865/comments
1
2022-12-19T22:39:54Z
2022-12-28T05:56:11Z
https://github.com/chakra-core/ChakraCore/issues/6865
1,503,711,070
6,865
[ "chakra-core", "ChakraCore" ]
I am using Visual Studio 2015. When I try to debug my application, it does not step into the Chakra code - I have built the Chakra solution on the same machine and the Debug Output window indicates that the symbols for ChakraCore.dll have been loaded. If I locate the source file in chakra where a particular funct...
Debugging ChakraCore : Boolean valueOf
https://api.github.com/repos/chakra-core/ChakraCore/issues/6864/comments
3
2022-12-13T11:24:39Z
2023-01-16T17:06:42Z
https://github.com/chakra-core/ChakraCore/issues/6864
1,494,035,881
6,864
[ "chakra-core", "ChakraCore" ]
On ARM macOS (all versions), `./build.sh --icu=/opt/homebrew/opt/icu4c/include -j=4 -y --lto-thin` leads to: ``` CMake Error at CMakeLists.txt:47 (message): Couldn't detect target processor, try `--arch` argument with build.sh ```
Support lacking for Apple Silicon (ARM)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6860/comments
15
2022-11-09T12:49:33Z
2023-03-22T21:51:08Z
https://github.com/chakra-core/ChakraCore/issues/6860
1,442,039,533
6,860
[ "chakra-core", "ChakraCore" ]
Ubuntu18 tests will already fail during scheduled `brownout`. They will be fully unsupported by 4/1/2023. See https://github.com/actions/runner-images/issues/6002, #6831. PR: https://github.com/chakra-core/ChakraCore/pull/6833
Deprecation of `Ubuntu 18.04` Actions (DevOps)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6855/comments
3
2022-10-15T10:12:25Z
2024-04-16T10:37:04Z
https://github.com/chakra-core/ChakraCore/issues/6855
1,410,118,207
6,855
[ "chakra-core", "ChakraCore" ]
https://github.com/chakra-core/ChakraCore/blob/b4f1bb49e4e7d6bb0ac22c538e8bb841e7828336/tools/regenByteCode.py#L119 ```diff - // Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved. + // Copyright (c) ChakraCore Project Contributors. All rights reserved. ```
`regenByteCode.py` creates wrong copyright header
https://api.github.com/repos/chakra-core/ChakraCore/issues/6850/comments
1
2022-10-06T19:22:26Z
2022-10-07T07:11:16Z
https://github.com/chakra-core/ChakraCore/issues/6850
1,400,188,743
6,850
[ "chakra-core", "ChakraCore" ]
OS: Ubuntu 22.04 x86-64 Compiler: Clang ~14.0.0~12.0.1 CMake build type: RelWithDebInfo Bytecode generation for verification segfaults: ``` $ ./ch -GenerateLibraryByteCodeHeader -LdChakraLib -JsBuiltIn /path/to/ChakraCore/tools/../lib/Runtime/Library/InJavascript/Array_prototype.js Segmentation fault (core du...
ImmutableList undefined behavior
https://api.github.com/repos/chakra-core/ChakraCore/issues/6847/comments
19
2022-10-04T17:50:42Z
2024-04-22T03:45:27Z
https://github.com/chakra-core/ChakraCore/issues/6847
1,396,639,112
6,847
[ "chakra-core", "ChakraCore" ]
The following poc outputs different results in CC and V8. ```js const array = [40, 30, 10]; array.sort((x, y) => { array[0] = -1; console.log(array); return x - y; }); console.log(array); ``` #### CC ```js -1,30,10 -1,-1,10 -1,-1,10 ``` #### V8 ```js [ -1, 30, 10 ] [ -1, 30, 10 ] [ 10, 30, 40 ] ```...
`Array.prototype.sort` spec compliance
https://api.github.com/repos/chakra-core/ChakraCore/issues/6843/comments
7
2022-10-03T07:41:20Z
2022-10-07T07:07:47Z
https://github.com/chakra-core/ChakraCore/issues/6843
1,394,284,894
6,843
[ "chakra-core", "ChakraCore" ]
when i build this project , it says C:\..\...\ChakraCore-master\lib\Runtime\PlatformAgnostic\Chakra.Runtime.PlatformAgnostic.vcxproj : warning : Platform 'CHPE' referenced in the project file 'Chakra.Runtime.PlatformAgnostic' cannot be found. C:\..\...p\MyDesktop\ChakraCore-master\lib\Runtime\Debug\Chakra.Runtime...
i am getting error in build
https://api.github.com/repos/chakra-core/ChakraCore/issues/6837/comments
0
2022-09-19T01:26:16Z
2022-09-19T04:56:40Z
https://github.com/chakra-core/ChakraCore/issues/6837
1,377,261,516
6,837
[ "chakra-core", "ChakraCore" ]
Should we maintain release 1.11 on Ubuntu 20 and newer? Due to updates to the compiler and system headers it does not currently build. I have started working on that, as all the changes should already be known.
Release 1.11 on Ubuntu 20 and later
https://api.github.com/repos/chakra-core/ChakraCore/issues/6836/comments
0
2022-09-17T05:05:18Z
2022-09-17T05:05:33Z
https://github.com/chakra-core/ChakraCore/issues/6836
1,376,668,310
6,836
[ "chakra-core", "ChakraCore" ]
# Summary Construct a specific payload to \[String\].match cause ChakraCore engine StackOverflow crash, which may cause denial of service. # Description ## PoC The following is JS PoC to feed ch (ChakraCore 1.11.24 x64): ```Plain Text var dnaInput = "tacgattttatcgcgactagttaatcatcatagcaagtaaaatttgaattatgtc...
Construct a specific payload to [String].match cause ChakraCore engine StackOverflow crash, which may cause denial of service.
https://api.github.com/repos/chakra-core/ChakraCore/issues/6835/comments
10
2022-09-11T05:21:00Z
2022-11-02T05:33:41Z
https://github.com/chakra-core/ChakraCore/issues/6835
1,368,834,960
6,835
[ "chakra-core", "ChakraCore" ]
I wrote the following script to test the retrieval of the stack trace when there is an exception in the script: function func_1() { var a = func_2(); // line 3 : call another function } function func_2() { var b = func_3(); // line 8 : call another function } function func_3() { var x, y; va...
'stack' member of Exception
https://api.github.com/repos/chakra-core/ChakraCore/issues/6834/comments
2
2022-09-09T12:38:29Z
2023-02-09T09:35:54Z
https://github.com/chakra-core/ChakraCore/issues/6834
1,367,771,446
6,834
[ "chakra-core", "ChakraCore" ]
I've had to downgrade Windows CI image in #6829, and we might want to consider Ubuntu 22 and maybe dropping Ubuntu 18. Platforms we should consider: - [x] Windows 2022, currently msbuild detection fails, see #6828 - [ ] Ubuntu 22, need to give it a try I am not sure what is the best way to track new availabl...
Upgrade CI images
https://api.github.com/repos/chakra-core/ChakraCore/issues/6831/comments
2
2022-08-12T18:45:45Z
2022-08-26T23:37:14Z
https://github.com/chakra-core/ChakraCore/issues/6831
1,337,595,390
6,831
[ "chakra-core", "ChakraCore" ]
I embed chakra and chkracore in one app, but when call two APIs, app crashes. I test in VB6: eg: .... LoadLibrary("Chakra.dll") LoadLibrary("ChakraCore.dll") ... wheather static dll mode or dynamic load dll both crashes. If invoke only one set of APIs,it can run any times.
can't use chakra and chakracore in one app
https://api.github.com/repos/chakra-core/ChakraCore/issues/6827/comments
3
2022-08-02T12:31:34Z
2024-04-17T21:26:20Z
https://github.com/chakra-core/ChakraCore/issues/6827
1,325,785,142
6,827
[ "chakra-core", "ChakraCore" ]
I am porting an old application from Moziall JS to chakra. The application will include helper functions, native objects constructed in C code only and native objects that can be constructed from script with the new operator. I have been experimenting with chakra embedding to complete these tasks. Since the samp...
Embedding Samples
https://api.github.com/repos/chakra-core/ChakraCore/issues/6826/comments
5
2022-07-29T06:47:30Z
2023-01-22T11:04:07Z
https://github.com/chakra-core/ChakraCore/issues/6826
1,321,832,305
6,826
[ "chakra-core", "ChakraCore" ]
I am porting an old application that embedded a very old version of Mozilla js to use chakra. This application involves several native objects written in C. The methods of these objects will be invoked from the script. If there is an exception to be raised from the native method, is there a way to determine meta da...
Script Meta Data in Native Function
https://api.github.com/repos/chakra-core/ChakraCore/issues/6825/comments
1
2022-07-29T06:46:36Z
2024-04-17T16:07:01Z
https://github.com/chakra-core/ChakraCore/issues/6825
1,321,831,693
6,825
[ "chakra-core", "ChakraCore" ]
This poc will output different results in the JIT compiler. ```js let a = [1, 2, 3]; let proto = []; Object.defineProperty(proto, 3, { get: function () { console.log("woops") return 2; } }); a.__proto__ = proto; function oops(){ a.pop() } for(let i=0;i<10;i++){ a.length = 4 oops(...
Array.prototype.pop doesn't trigger getter in __proto__
https://api.github.com/repos/chakra-core/ChakraCore/issues/6824/comments
2
2022-07-26T14:24:30Z
2022-09-30T20:31:37Z
https://github.com/chakra-core/ChakraCore/issues/6824
1,318,322,644
6,824
[ "chakra-core", "ChakraCore" ]
This poc will output different results in the JIT compiler. ```js function foo(a) { return a.length; } let array = new Int32Array(); Object.defineProperty(array, "length", { value: 10 }); for(let i=0;i<10;i++){ print(foo(array)) } ``` run with the following command ``` Build\VcBuild\bin\x64_d...
Object.defineProperty with length doesn't work correctly
https://api.github.com/repos/chakra-core/ChakraCore/issues/6823/comments
1
2022-07-26T14:05:05Z
2022-09-28T20:33:46Z
https://github.com/chakra-core/ChakraCore/issues/6823
1,318,296,524
6,823
[ "chakra-core", "ChakraCore" ]
This poc will output different results in the JIT compiler. ```js function test2(a) { if ((a | 0) >>> 0 > (11569 | -29007) >>> 0) return true; else return false; } for (var i = 0; i < 10; i++) { print(test2(-1)) } ``` run with command in current master branch(`commit 41ad58a9eebf8d52a83424c8...
incorrect result with unsigned right shift operator
https://api.github.com/repos/chakra-core/ChakraCore/issues/6822/comments
1
2022-07-26T13:50:16Z
2022-09-28T21:59:08Z
https://github.com/chakra-core/ChakraCore/issues/6822
1,318,276,307
6,822
[ "chakra-core", "ChakraCore" ]
I'm trying to build chakracore with the visual studio solution but an error is raised during configuration which I traced back to line 63 in CMakeLists.txt that indicates that the processor my machine is running is not supported. How can I be able to complete this build successfully?
Unsupported target processor: AMD64
https://api.github.com/repos/chakra-core/ChakraCore/issues/6821/comments
1
2022-07-19T08:36:58Z
2022-08-18T03:04:26Z
https://github.com/chakra-core/ChakraCore/issues/6821
1,309,178,046
6,821
[ "chakra-core", "ChakraCore" ]
Hello, how can I import and use a module from file ???? ``` Memo1.Lines.Text:=Engine.ConvertToString(Engine.RunScript('import * as customName from ("./myjs/MyNode.js");')); Error $30002: JavaScript failed to compile. Name: SyntaxError Message: 'import' or 'export' can only be used in module code. Source: impo...
How can I import and use a module from file
https://api.github.com/repos/chakra-core/ChakraCore/issues/6820/comments
1
2022-07-19T04:04:45Z
2022-09-29T22:05:51Z
https://github.com/chakra-core/ChakraCore/issues/6820
1,308,945,648
6,820
[ "chakra-core", "ChakraCore" ]
When Math functions are involved in a large number of iterations (> 10000), for-of loop is about 10 times slower in master (x86 release build) then in the last released version. ```js const arr = [...Array(10000).keys()]; for (const item of arr) { const a = Math.round(item/3); } ```
for-of 10x slower with Math functions
https://api.github.com/repos/chakra-core/ChakraCore/issues/6819/comments
7
2022-07-09T11:48:48Z
2022-10-05T07:33:19Z
https://github.com/chakra-core/ChakraCore/issues/6819
1,299,653,131
6,819
[ "chakra-core", "ChakraCore" ]
This issue is with reference to another issue from 6 years ago: https://github.com/chakra-core/ChakraCore/issues/1435 Will supporting AssemblyScript be a good idea? This is not a proposal, but I was wondering if any knowledgable person could enlighten me (and others) about the pros and cons of supporting native Ass...
Add native support for AssemblyScript
https://api.github.com/repos/chakra-core/ChakraCore/issues/6818/comments
7
2022-06-22T14:08:48Z
2022-06-22T17:10:21Z
https://github.com/chakra-core/ChakraCore/issues/6818
1,280,210,515
6,818
[ "chakra-core", "ChakraCore" ]
### Version: chakra-1.11.24.0 ### Description: For the TestCase below, after judging that `!p` is `true` in line 2, the function should `return` directly, but chakra terminates the program abnormally. Through the stack information of the program`#1 0x00007ffff34ddece in ByteCodeGenerator::EmitInvertedLoop ( th...
for-loop optimization causes a null pointer exception
https://api.github.com/repos/chakra-core/ChakraCore/issues/6817/comments
3
2022-06-20T12:55:28Z
2022-09-23T13:52:45Z
https://github.com/chakra-core/ChakraCore/issues/6817
1,276,886,647
6,817
[ "chakra-core", "ChakraCore" ]
ChakraCore failed to build "error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC." with MSVC on Windows arm64ec. It can reproduce on latest version on master branch. Could you please help look at this issue? Repro steps: 1. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Pr...
ChakraCore failed to build "error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC." with MSVC on Windows arm64ec
https://api.github.com/repos/chakra-core/ChakraCore/issues/6816/comments
1
2022-06-16T09:26:47Z
2022-10-01T06:04:24Z
https://github.com/chakra-core/ChakraCore/issues/6816
1,273,297,505
6,816
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0 ###### Test case ```js var foo = function() { var me = arguments.callee; print(me.name); } foo(); ``` ###### Command /root/.jsvu/ch Testcase.js ###### Output ``` ``` ###### Expected result ``` foo ``` ###### Description `callee`...
arguments.callee can't get the correct result
https://api.github.com/repos/chakra-core/ChakraCore/issues/6814/comments
1
2022-05-14T08:22:05Z
2022-05-20T01:53:22Z
https://github.com/chakra-core/ChakraCore/issues/6814
1,235,913,480
6,814
[ "chakra-core", "ChakraCore" ]
I don't know if my process is wrong, I tried to register the c# class in jscontext, Then, create the registered class new in JS, and then release it, It was found that jssetobjectbeforecollectcallback was not called. My detailed process is shown below: 1: ![image](https://user-images.githubusercontent.com/2041172...
”JsSetObjectBeforeCollectCallback“ No call
https://api.github.com/repos/chakra-core/ChakraCore/issues/6813/comments
1
2022-05-04T03:17:12Z
2022-05-27T01:30:55Z
https://github.com/chakra-core/ChakraCore/issues/6813
1,224,881,419
6,813
[ "chakra-core", "ChakraCore" ]
### commit 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ```js function foo(f) { WScript.Attach(f); } async function bar() { for (let i = 0; i < 1; [0,1][0]--) { await foo(bar); } } bar(); ...
ASSERTION Failure: "(index < functionBody->GetProfiledArrayCallSiteCount())" in ChakraCore/lib/Runtime/Language/DynamicProfileInfo.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6812/comments
1
2022-04-20T13:54:00Z
2022-05-27T04:24:50Z
https://github.com/chakra-core/ChakraCore/issues/6812
1,209,726,102
6,812
[ "chakra-core", "ChakraCore" ]
### commit 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ```js function foo() { var x = new bar(); } function bar() { foo(); WebAssembly[0 === 1 ? keys : valueOf]; return {}; } WScript.Attach(b...
ASSERTION Failure: (!Js::TaggedInt::Is(right)) in ChakraCore/lib/Backend/GlobOpt.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6811/comments
0
2022-04-20T13:46:42Z
2022-04-20T13:48:07Z
https://github.com/chakra-core/ChakraCore/issues/6811
1,209,716,028
6,811
[ "chakra-core", "ChakraCore" ]
### commit 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ```js var bar = function foo() {}; delete bar.length; bar.toString = ''; delete Function.prototype.length; bar.length = 13; ``` ### assert log ``...
ASSERTION Failure: "Re-add of deleted property NYI in PathTypeHandler" in ChakraCore/lib/Runtime/Types/PathTypeHandler.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6810/comments
0
2022-04-20T13:46:06Z
2022-04-20T13:46:06Z
https://github.com/chakra-core/ChakraCore/issues/6810
1,209,715,183
6,810
[ "chakra-core", "ChakraCore" ]
###### Version ``` chakra-1.11.24.0 ``` ###### Test case ```js var foo = function() { var start = Date.now(); var stop = Date.now(); return stop - start; }; var result = foo(); print(result); ``` ###### Execution steps /root/.jsvu/ch Testcase.js ###### Output ``` 5 ...
A question about Date.now()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6809/comments
2
2022-04-11T09:12:44Z
2022-05-20T01:52:25Z
https://github.com/chakra-core/ChakraCore/issues/6809
1,199,660,795
6,809
[ "chakra-core", "ChakraCore" ]
###### Version ``` chakra-1.11.24.0 ``` ###### Test case ```js var foo = function () { try { print("1") } catch { } }; foo(); ``` ###### Execution steps /root/.jsvu/ch Testcase.js ###### Output ``` SyntaxError: Expected '(' at code (javascriptTestcase_eut5pcp...
chakra require () after catch
https://api.github.com/repos/chakra-core/ChakraCore/issues/6807/comments
1
2022-03-30T11:52:43Z
2022-09-26T14:15:03Z
https://github.com/chakra-core/ChakraCore/issues/6807
1,186,344,899
6,807
[ "chakra-core", "ChakraCore" ]
``` 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 efe25658e8db4c358a13283eec7f6e85.js ------------------------------------------------ function main() { function v0(v...
ASSERTION Failure "Js reentrancy error" in ChakraCore/lib/Common/Exceptions/Throw.cpp, line 103
https://api.github.com/repos/chakra-core/ChakraCore/issues/6806/comments
1
2022-03-12T15:46:01Z
2022-03-26T00:38:01Z
https://github.com/chakra-core/ChakraCore/issues/6806
1,167,321,941
6,806
[ "chakra-core", "ChakraCore" ]
``` 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 87b228d1b5ba4db0b1cc8dc471c76e52.js ------------------------------------------------------------------------------------...
ASSERTION Failure "U_STRING_NOT_TERMINATED_WARNING" in ChakraCore-master/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 941
https://api.github.com/repos/chakra-core/ChakraCore/issues/6805/comments
1
2022-03-12T15:45:29Z
2022-03-26T00:38:21Z
https://github.com/chakra-core/ChakraCore/issues/6805
1,167,321,798
6,805
[ "chakra-core", "ChakraCore" ]
``` 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 =...
ASSERTION Failure "U_ILLEGAL_ARGUMENT_ERROR" in ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 945
https://api.github.com/repos/chakra-core/ChakraCore/issues/6804/comments
1
2022-03-12T15:44:43Z
2022-03-26T00:37:12Z
https://github.com/chakra-core/ChakraCore/issues/6804
1,167,321,376
6,804
[ "chakra-core", "ChakraCore" ]
``` 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 b66bf88394d84085b34f1ca313f087e2.js ----------------------------------------------------------------- // |reftest| skip...
ASSERTION Failure "U_BUFFER_OVERFLOW_ERROR" in ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 941
https://api.github.com/repos/chakra-core/ChakraCore/issues/6803/comments
1
2022-03-12T15:44:10Z
2022-03-26T00:37:35Z
https://github.com/chakra-core/ChakraCore/issues/6803
1,167,321,176
6,803
[ "chakra-core", "ChakraCore" ]
``` 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 da5c7dd74b3349db93bbbd5f9340f241.js ----------------------------------------------------- try { (function TestFunc()...
ASSERTION Failure "scopeSlotCount != 0" in ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp, line 7592
https://api.github.com/repos/chakra-core/ChakraCore/issues/6802/comments
1
2022-03-12T15:43:25Z
2022-03-26T00:35:50Z
https://github.com/chakra-core/ChakraCore/issues/6802
1,167,320,978
6,802
[ "chakra-core", "ChakraCore" ]
``` 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 c47abaee6c514e2a80bdb63b8b7db8d0.js ---------------------------------------------------------------------------------- ...
ASSERTION Failure "entryPointInfo != nullptr" in ChakraCore/lib/Runtime/Language/JavascriptStackWalker.cpp, line 1289
https://api.github.com/repos/chakra-core/ChakraCore/issues/6801/comments
1
2022-03-12T15:42:32Z
2022-03-26T00:36:38Z
https://github.com/chakra-core/ChakraCore/issues/6801
1,167,320,734
6,801
[ "chakra-core", "ChakraCore" ]
### commit 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ``` function foo(o) { switch (o.f) { case 1: return 1; case 2: return class Baz{}; default: r...
ASSERTION Failure: (opndConstructor->m_sym->m_isSingleDef) in ChakraCore/lib/Backend/IRBuilder.cpp, line 2394
https://api.github.com/repos/chakra-core/ChakraCore/issues/6794/comments
1
2022-03-09T13:21:01Z
2022-03-26T00:31:35Z
https://github.com/chakra-core/ChakraCore/issues/6794
1,163,932,473
6,794
[ "chakra-core", "ChakraCore" ]
### commit 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ```js function foo() { (function () { function bar( a = 1, b = function () { return a; } ...
ASSERTION Failure: "reg < this->GetConstantCount()" in ChakraCore/lib/Runtime/./Base/FunctionBody.h, line 2977
https://api.github.com/repos/chakra-core/ChakraCore/issues/6793/comments
1
2022-03-09T12:57:05Z
2022-03-26T00:32:12Z
https://github.com/chakra-core/ChakraCore/issues/6793
1,163,907,144
6,793
[ "chakra-core", "ChakraCore" ]
### Commit hash 41ad58a9eebf8d52a83424c8fccfaacdb14105ec ### Build platform Ubuntu 20.04 ### Build steps ``` ./build.sh --debug ``` ### poc ```js let foo = new Uint8Array([ 0, 97, 115, 109, 1, 0, 0, 0, 1, 7, 1, 96, 2, 126, 12...
ASSERTION Failure: (m_pc + m_funcState.size == m_currentSection.end) in ChakraCore/lib/WasmReader/WasmBinaryReader.cpp, line 1319
https://api.github.com/repos/chakra-core/ChakraCore/issues/6792/comments
1
2022-03-09T12:31:51Z
2022-03-26T00:33:27Z
https://github.com/chakra-core/ChakraCore/issues/6792
1,163,881,646
6,792
[ "chakra-core", "ChakraCore" ]
I just pulled down the project and attempted to build the Debug x64 configuration with Visual Studio 2015 **2>C:\Dev\ChakraCore-master\lib\Runtime\Library\JavascriptArray.cpp(8938): error C2872: 'uint32_t': ambiguous symbol 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(23): note: could...
VC 2015 build issue. JavascriptArray.cpp(8938) error C2872: 'uint32_t': ambiguous symbol
https://api.github.com/repos/chakra-core/ChakraCore/issues/6791/comments
0
2022-02-23T03:40:46Z
2022-02-23T03:40:46Z
https://github.com/chakra-core/ChakraCore/issues/6791
1,147,595,384
6,791
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24.0 ###### Test case 1 ```js var foo = function() { var o = [1,2,3]; var a = [...o]; print(a); }; foo(); ``` ###### Execution steps 1 ./ChakraCore/out/Release/ch Testcase1.js ###### Output 1 ``` 1,2,3 ``` ###### Test case 2 ```js var foo =...
chakra can't recognize spread_syntax
https://api.github.com/repos/chakra-core/ChakraCore/issues/6790/comments
1
2022-02-22T11:08:25Z
2022-09-26T14:15:07Z
https://github.com/chakra-core/ChakraCore/issues/6790
1,146,770,582
6,790
[ "chakra-core", "ChakraCore" ]
Version: 41ad58a9eebf8d52a83424c8fccfaacdb14105ec (2022//2/20 latest) OS: Linux Ubuntu 20.04.3 LTS Architecture: x64 ### **Poc:** function attach(f) { (function (r) {    WScript.Attach(r); })(f); } async function mainTest(notAttachCall) {    if (notAttachCall) {        for (let i = 0; i < [1]; ++...
Segmentation fault
https://api.github.com/repos/chakra-core/ChakraCore/issues/6789/comments
0
2022-02-20T06:48:25Z
2022-10-13T02:49:34Z
https://github.com/chakra-core/ChakraCore/issues/6789
1,144,937,068
6,789
[ "chakra-core", "ChakraCore" ]
When a `ReportModuleCompletionCallback` is set, the callback is called even for modules that fail to load due to a syntax error (an exception object is passed to the callback in this case). It seems that, while a valid `JsModuleRecord` is still passed in in this situation, subsequently calling `JsGetModuleNamespace()`...
`JsGetModuleNamespace()` can segfault if passed an incomplete module record
https://api.github.com/repos/chakra-core/ChakraCore/issues/6788/comments
2
2022-02-15T07:36:59Z
2024-05-16T22:11:17Z
https://github.com/chakra-core/ChakraCore/issues/6788
1,138,300,123
6,788
[ "chakra-core", "ChakraCore" ]
Chakracore can't support some important nodejs module, like 'commonmark' and 'graphql' var reLinkLabel = /^\[(?:[^\\\[\]]|\\.){0,1000}\]/s; JavaScript failed to compile. SyntaxError: Syntax error in regular expression function KnownArgumentNamesRule(context) { return { // eslint-disable-next-line new-cap ...
chakarcore have not implement some es6 syntax
https://api.github.com/repos/chakra-core/ChakraCore/issues/6787/comments
5
2022-02-03T12:19:12Z
2024-04-17T15:56:41Z
https://github.com/chakra-core/ChakraCore/issues/6787
1,123,018,625
6,787
[ "chakra-core", "ChakraCore" ]
I'm working on a "Script Loader" that loads .js files from a specific path and runs the code within through the chakra environment, with this I've been able to make something like for the script: function onTick() { // Do Stuff }; and have a tick on the C++ end that not only finds this function in the script ...
Calling JsCallFunction with arguments?
https://api.github.com/repos/chakra-core/ChakraCore/issues/6784/comments
1
2022-01-12T03:48:21Z
2022-01-18T13:28:36Z
https://github.com/chakra-core/ChakraCore/issues/6784
1,099,845,167
6,784
[ "chakra-core", "ChakraCore" ]
the following poc cause a inconsistent output. ``` function v0(v1, v2) { const v4 = v1["o"](); return v4; } function v5() { const v9 = arguments[-1]; return v9; } const v10 = { "o": v5 }; const v11 = { }; c0 = v0(v10, v11);//true print(Object.is(c0,undefined)); for (i = 0; i < 10000; ...
incorrect optimization bug
https://api.github.com/repos/chakra-core/ChakraCore/issues/6783/comments
3
2021-12-30T09:01:50Z
2022-09-28T06:27:12Z
https://github.com/chakra-core/ChakraCore/issues/6783
1,090,967,636
6,783
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { const v4 = ` const v214 = async (v215,...v216) => { const v219 = {"construct":v215,"defineProperty":v215,"deleteProperty":v205,"get":v215,"getOwnPropertyDescriptor":v215,"getPrototypeOf":v214,"isExtensible":...
Assertion failure in FuncInfo.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6782/comments
0
2021-12-28T06:50:56Z
2021-12-28T06:50:56Z
https://github.com/chakra-core/ChakraCore/issues/6782
1,089,654,281
6,782
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { do { for (let v7 = 0; v7 != 0; v7++) { for (let v11 = 0; v11 < 9; v11 = v11 + 2147483647) { } } } while (0 !== 6); } main(); ```
Assertion failure in GlobOpt.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6781/comments
1
2021-12-28T06:49:03Z
2022-03-11T14:56:08Z
https://github.com/chakra-core/ChakraCore/issues/6781
1,089,653,508
6,781
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { const v0 = async () => { const v1 = ` const v2 = [..."-2147483647"]; for (const v3 of v2) { for (let v4 = 0; v4 < 9; v4++) { const v5 = () => { ...
Assertion failure in Backend/Lower.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6780/comments
0
2021-12-28T06:48:20Z
2021-12-28T06:48:20Z
https://github.com/chakra-core/ChakraCore/issues/6780
1,089,653,225
6,780
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { const v3 = [-3290630866,-3290630866,-3290630866,-3290630866,0]; for (const v4 of v3) { const v13 = async (v14) => { const v24 = ``; const v29 = await v14; for (let v52 = 1; v52 == -1; v52 ...
Assertion failure in EncoderMD.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6779/comments
0
2021-12-28T06:47:32Z
2021-12-28T06:47:32Z
https://github.com/chakra-core/ChakraCore/issues/6779
1,089,652,896
6,779
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { do { let v4 = 0; const v6 = ` for (let v12 = 1; v12 < -1683432796; v12 = v12 || 1) { } `; const v23 = eval(v6); for (let v26 = 0; v26 != 9; v26++) { switch (v4) { ...
Assertion failure in Backend/ValueInfo.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6778/comments
0
2021-12-28T06:44:47Z
2021-12-28T06:44:47Z
https://github.com/chakra-core/ChakraCore/issues/6778
1,089,651,819
6,778
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function v0(v1,v2) { try { for (let v6 = -1332925573; v6 >= 256; v6++) { try { } catch(v7) { } finally { break; } }...
Assertion failure in BackwardPass.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6777/comments
0
2021-12-24T11:13:31Z
2021-12-24T11:13:31Z
https://github.com/chakra-core/ChakraCore/issues/6777
1,088,323,965
6,777
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function v0(v1,v2) { function v3(v4,v5) { } const v7 = new v3(); function v8(v9,v10) { v2.__proto__ = v7; return v2; } const v11 = v8(); v11.constructor = Map; v11.length = 1; r...
Assertion failure in CacheOperators.inl
https://api.github.com/repos/chakra-core/ChakraCore/issues/6776/comments
0
2021-12-24T11:12:16Z
2021-12-24T11:12:16Z
https://github.com/chakra-core/ChakraCore/issues/6776
1,088,323,336
6,776
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function v0(v1,v2) { v2.length = 1; return v2; } function v4(v5,v6) { } const v8 = new v4(); function v9(v10,v11) { v11.__proto__ = v8; return v11; } const v12 = v9(undefined,v4); v12[-65537] = v9; const opt = v...
Assertion failure in InlineCache.inl
https://api.github.com/repos/chakra-core/ChakraCore/issues/6775/comments
0
2021-12-24T11:10:49Z
2021-12-24T11:10:49Z
https://github.com/chakra-core/ChakraCore/issues/6775
1,088,322,607
6,775
[ "chakra-core", "ChakraCore" ]
the following poc cause a assertion failure in "debug" build on ubuntu. ``` const v6 = Array(4294967295); const v8 = v6["copyWithin"](); ```
Assertion failure in JavascriptArray.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6774/comments
1
2021-12-24T11:09:40Z
2022-02-03T08:04:00Z
https://github.com/chakra-core/ChakraCore/issues/6774
1,088,322,028
6,774
[ "chakra-core", "ChakraCore" ]
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(); ```
Assertion failure in /IntlEngineInterfaceExtensionObject.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6773/comments
2
2021-12-24T11:08:10Z
2022-03-11T15:16:14Z
https://github.com/chakra-core/ChakraCore/issues/6773
1,088,321,277
6,773