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"
] | The debug build of Chakacore crashes.
PoC:
```
function testReconfigureAsAccessorProperty(f) {
var length = 2;
Object.defineProperty(f, 'length', {
get: function () {
return length;
},
set: function (v) {
length = v;
}
});
}
(function testSetOnInstance() {
function f()... | ASSERTION failure in ChakraCore/lib/Runtime/Language/CacheOperators.cpp, line 178 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6271/comments | 1 | 2019-09-09T18:14:16Z | 2019-10-04T17:31:58Z | https://github.com/chakra-core/ChakraCore/issues/6271 | 491,247,880 | 6,271 |
[
"chakra-core",
"ChakraCore"
] | The debug build of Chakacore crashes.
PoC:
```
(function testSetOnInstance() {
function f() {}
delete f.name;
Object.defineProperty(Function.prototype, 'name', {
writable: true
});
f.name = 123;
print(f.name) // It should print 123; but print nothing
}());
```
Version=v1.11.... | ASSERTION failure in ChakraCore/lib/Runtime/Types/PathTypeHandler.cpp, line 3830 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6270/comments | 0 | 2019-09-09T18:07:37Z | 2019-09-09T18:07:37Z | https://github.com/chakra-core/ChakraCore/issues/6270 | 491,244,817 | 6,270 |
[
"chakra-core",
"ChakraCore"
] | The debug build of Chakacore crashes.
PoC:
```
const x = "const x";
this.x = 20;
delete this.x;
x += "const x";
x = "but we can write";
print(x) // It should print "const x" but print "but we can write"
```
This PoC leads to be able to write const variable 'x'.
Version=v1.11.12
OS=Ubuntu 16.04.6
Arch=x86_6... | ASSERTION failure in ChakraCore/lib/Runtime/Language/InlineCache.inl, line 244 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6269/comments | 0 | 2019-09-09T18:02:50Z | 2019-09-09T18:02:50Z | https://github.com/chakra-core/ChakraCore/issues/6269 | 491,242,559 | 6,269 |
[
"chakra-core",
"ChakraCore"
] | The debug build of Chakacore crashes.
PoC:
```
class X {
constructor() {
Object.defineProperty(this, "prop1", {
configurable: true,
writable: false,
value: 1
});
}
f1() {
super.prop1 = 2;
}
}
var x = new X();
(() => x.f1())();
print(x.prop1) // It should be 1; but ... | ASSERTION failure in ChakraCore/lib/Runtime/Language/CacheOperator.inl, line 367 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6268/comments | 0 | 2019-09-09T17:53:09Z | 2019-09-09T17:53:09Z | https://github.com/chakra-core/ChakraCore/issues/6268 | 491,238,025 | 6,268 |
[
"chakra-core",
"ChakraCore"
] | I am working on implementing support of the ECMAScript 2015 static modules in a .NET library ([JavaScript Engine Switcher](https://github.com/Taritsyn/JavaScriptEngineSwitcher) project). I've already read the [API documentation](https://github.com/microsoft/ChakraCore/wiki/JavaScript-Runtime-%28JSRT%29-Reference) and [... | The `JsModuleEvaluation` method always returns a result equal to `undefined` | https://api.github.com/repos/chakra-core/ChakraCore/issues/6266/comments | 4 | 2019-09-05T18:11:12Z | 2020-03-25T09:04:11Z | https://github.com/chakra-core/ChakraCore/issues/6266 | 489,920,381 | 6,266 |
[
"chakra-core",
"ChakraCore"
] | os:ubuntu 16.04 x64
build: debug & release
poc:
var v0 = "can't";
var v2 = "get";
var v3 = "no";
var v4 = "Satisfaction";
var v7 = "in";
while((v2.length) < (200000)){
{
(v12) = v2;
(v2) = (v2) + (" ZOMBIE");
}
}
var v8 = new RegExp((((((((((((('^(?:') + (v3)) + ('|')) + (v0)) + ('|')) + (v4)) + ('|')) + ... | crash due to invalid memory access at ChakraCore/lib/Common/Memory/PageAllocator.h:731 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6263/comments | 0 | 2019-09-02T02:36:24Z | 2019-09-02T02:36:24Z | https://github.com/chakra-core/ChakraCore/issues/6263 | 487,967,220 | 6,263 |
[
"chakra-core",
"ChakraCore"
] | Consider implementing top-level await, stage 3: https://github.com/tc39/proposal-top-level-await
I had misgivings about this, but it seems to have picked up traction recently and is already stage 3 so I doubt it's going anywhere, regardless of what I think of it. 😛 | Implement Top-Level Await (Stage 3 proposal) | https://api.github.com/repos/chakra-core/ChakraCore/issues/6262/comments | 7 | 2019-09-01T05:52:24Z | 2020-12-18T15:45:36Z | https://github.com/chakra-core/ChakraCore/issues/6262 | 487,845,697 | 6,262 |
[
"chakra-core",
"ChakraCore"
] | Module execution of ES modules is based on post-order execution up the graph (with circular deduping).
The Edge behaviour is incorrectly implementing a _reverse post-order execution_.
The simple example of this is the following:
```html
<script>order=[]</script>
<script type="module">
import '/a.js';
impor... | Modules executing in reverse post-order | https://api.github.com/repos/chakra-core/ChakraCore/issues/6261/comments | 7 | 2019-08-31T15:19:15Z | 2019-10-09T22:43:34Z | https://github.com/chakra-core/ChakraCore/issues/6261 | 487,780,403 | 6,261 |
[
"chakra-core",
"ChakraCore"
] | Alignment hint to `v128` stores appears to affect the array index into which values get stored:
```
$ cat align.wat
(module
(import "dummy" "memory" (memory 1))
(func
(export "store_i32")
(param $index i32)
(param $value i32)
(i32.store align=4 (get_local $index) (get_local $value))
)
... | [Wasm SIMD] alignment affects memory index | https://api.github.com/repos/chakra-core/ChakraCore/issues/6259/comments | 0 | 2019-08-30T23:44:57Z | 2019-09-19T19:34:54Z | https://github.com/chakra-core/ChakraCore/issues/6259 | 487,704,810 | 6,259 |
[
"chakra-core",
"ChakraCore"
] | Looks like `v128` memory accesses require alignment no greater than 4, the following would fail with `align=8` or `align=16` added to `v128.load` instruction.
```
$ cat load.wat
(module
(import "dummy" "memory" (memory 1))
(func (export "test_load")
(result i32)
(i32x4.extract_lane 1 (v12... | [Wasm SIMD] wrong natural alignment for v128 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6258/comments | 0 | 2019-08-30T23:44:44Z | 2019-09-19T19:34:54Z | https://github.com/chakra-core/ChakraCore/issues/6258 | 487,704,782 | 6,258 |
[
"chakra-core",
"ChakraCore"
] | The [documentation indicates](https://github.com/microsoft/ChakraCore/blob/c0ae3d327654e4390d9c250eb62cc81b6c47492e/lib/Jsrt/ChakraCore.h#L772) that `scriptLoadCallback` is optional (set to null if not required) for `JsParseSerialized`. This parameter is [actually checked against null](https://github.com/microsoft/Chak... | JsParseSerialized Argument Documentation Disagreement | https://api.github.com/repos/chakra-core/ChakraCore/issues/6256/comments | 1 | 2019-08-26T21:55:07Z | 2022-06-16T18:31:21Z | https://github.com/chakra-core/ChakraCore/issues/6256 | 485,472,450 | 6,256 |
[
"chakra-core",
"ChakraCore"
] | ### version info
- Microsoft Edge 44.18963.1000.0
- Microsoft EdgeHTML 18.18963
### problem
In the console, if I use `await` the console generate error `Expected ';'` and refuses to run the line.
### how to re-produce
In the console.
```js
var f = async () => { setTimeout(() => { console.log('foo'); }... | using `await` throws incorrect error | https://api.github.com/repos/chakra-core/ChakraCore/issues/6255/comments | 2 | 2019-08-23T15:44:13Z | 2019-09-06T11:16:31Z | https://github.com/chakra-core/ChakraCore/issues/6255 | 484,596,001 | 6,255 |
[
"chakra-core",
"ChakraCore"
] | The latest version of Edge appears to have a nondeterministic branching bug.
**Background**
I have a single-page JavaScript app that works in Chrome and used to work in Edge (was working for me in July), but it is now hitting an apparent timing bug in the latest version of Edge. I'm on this version of Edge:
Micr... | Nondeterministic JavaScript bug in latest version of Microsoft Edge | https://api.github.com/repos/chakra-core/ChakraCore/issues/6252/comments | 3 | 2019-08-17T00:20:12Z | 2019-09-19T19:46:44Z | https://github.com/chakra-core/ChakraCore/issues/6252 | 481,826,611 | 6,252 |
[
"chakra-core",
"ChakraCore"
] | Following code triggers many ubsan errors.
```
v3[3] = new Error(v3.constructor, v3[28605.91087]);
delete v3[undefined];
var v1 = ";e" ? v3 : v1({ v2:undefined, v1:false });
v1[0] = new Date(true);
delete v3[true];
this.v1(v3.replace);
function v3(v1, ...v0) {
for (v2 = v1 + v1; v3.search ? "N=sR" : { }; { ... | Ubsan errors | https://api.github.com/repos/chakra-core/ChakraCore/issues/6250/comments | 1 | 2019-08-16T17:46:59Z | 2019-12-02T03:26:52Z | https://github.com/chakra-core/ChakraCore/issues/6250 | 481,716,084 | 6,250 |
[
"chakra-core",
"ChakraCore"
] | Following code can trigger memory leak bug.
```
typeof new Promise(Intl.DateTimeFormat,null);
typeof new Promise(Intl.DateTimeFormat,null);
typeof new Promise(Intl.DateTimeFormat,null);
typeof new Promise(Intl.DateTimeFormat,null);
typeof new Promise(Intl.DateTimeFormat,null);
typeof new Promise(Intl.DateTimeF... | memory leak from ChakraCore/lib/Common/Memory/HeapAllocator.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6249/comments | 0 | 2019-08-16T11:34:05Z | 2019-08-16T11:34:05Z | https://github.com/chakra-core/ChakraCore/issues/6249 | 481,568,907 | 6,249 |
[
"chakra-core",
"ChakraCore"
] | Following code can trigger this issue.
("Illegal instruction " at ChakraCore/lib/Common/CommonPal.h:160)
```
let v2 = "Nm" && [ ];
let v0 = v3 == false;
delete v3.replace;
this.v3(true);
function v3(...v1) {
for (v0 = v2.slice([ 10061.13653 ], [ ]); v1[3] += [ "vR", v1 ]; v3[0] >>>= [ null ]) {
}
v2.search ... | "Illegal instruction " at ChakraCore/lib/Common/CommonPal.h:160 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6248/comments | 0 | 2019-08-15T18:54:09Z | 2019-08-16T09:25:09Z | https://github.com/chakra-core/ChakraCore/issues/6248 | 481,287,921 | 6,248 |
[
"chakra-core",
"ChakraCore"
] | the following js can trigger a null pointer in Parser::BindPidRefsInScope
````
(function a() {
a = function a(a=function(a){}){}
function a(){
var a = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | null pointer in Parser::BindPidRefsInScope | https://api.github.com/repos/chakra-core/ChakraCore/issues/6239/comments | 0 | 2019-08-08T08:38:54Z | 2019-08-13T20:55:35Z | https://github.com/chakra-core/ChakraCore/issues/6239 | 478,328,793 | 6,239 |
[
"chakra-core",
"ChakraCore"
] | the following code can trigger an assertion failure in Js::IntlEngineInterfaceExtensionObject::EntryIntl_LocaleCompare
````
function opt(arr, s) {
arr[0] = 1.1;
if (s !== null) {
let tmp = 'a'.localeCompare(s);
}
arr[0] = 2.3023e-320;
}
function main() {
let arr = [1.1];
... | assertion failure in Js::IntlEngineInterfaceExtensionObject::EntryIntl_LocaleCompare | https://api.github.com/repos/chakra-core/ChakraCore/issues/6238/comments | 0 | 2019-08-08T02:29:10Z | 2019-08-08T02:29:10Z | https://github.com/chakra-core/ChakraCore/issues/6238 | 478,219,465 | 6,238 |
[
"chakra-core",
"ChakraCore"
] | ````
function foo() {
function boo() {
print(typeof a);
}
eval("function a(){} boo(a);");
}
for (let i=0; i<1000;i++){
print(i);
foo();
}
```` | assertion failure in Js::VarTo<Js::UnscopablesWrapperObject> | https://api.github.com/repos/chakra-core/ChakraCore/issues/6237/comments | 0 | 2019-08-08T02:18:16Z | 2019-08-09T18:41:33Z | https://github.com/chakra-core/ChakraCore/issues/6237 | 478,217,020 | 6,237 |
[
"chakra-core",
"ChakraCore"
] |
````
function Module() {
'use asm';
function f() {
}
return f;
}
function recur() {
try {
recur();
} catch (e) {
Module(123456);
}
}
recur();
```` | assertion failure in Js::JavascriptFunction::ReparseAsmJsModule | https://api.github.com/repos/chakra-core/ChakraCore/issues/6236/comments | 1 | 2019-08-08T02:14:54Z | 2019-10-17T21:06:10Z | https://github.com/chakra-core/ChakraCore/issues/6236 | 478,216,279 | 6,236 |
[
"chakra-core",
"ChakraCore"
] | the following poc can trigger an accertion failure in IRBuilder::DoClosureRegCheck
````
(function f() {
let a,b,c,d,e,g,h;
with (function (){ f=0x123456; }) f();
}())
```` | assertion failure in IRBuilder::DoClosureRegCheck | https://api.github.com/repos/chakra-core/ChakraCore/issues/6235/comments | 0 | 2019-08-08T02:11:34Z | 2019-08-08T02:11:49Z | https://github.com/chakra-core/ChakraCore/issues/6235 | 478,215,579 | 6,235 |
[
"chakra-core",
"ChakraCore"
] | Dynamic import has now reached Stage 4:
https://github.com/tc39/ecma262/pull/1482
It should thus be enabled by default (sans experimental flags). | Enable dynamic import without experimental flag | https://api.github.com/repos/chakra-core/ChakraCore/issues/6231/comments | 0 | 2019-08-03T00:29:55Z | 2019-08-05T22:15:31Z | https://github.com/chakra-core/ChakraCore/issues/6231 | 476,396,999 | 6,231 |
[
"chakra-core",
"ChakraCore"
] | The following poc can trigger a null pointer dereference:
```js
var v1 = (class extends (function() {arguments.callee;}){});
var v2 = RegExp.prototype.constructor;
Reflect.construct(v1, [], v2);
``` | Null pointer dereference in Js::InterpreterStackFrame::OP_ProfileCallCommon | https://api.github.com/repos/chakra-core/ChakraCore/issues/6228/comments | 0 | 2019-08-01T07:34:47Z | 2019-08-05T17:26:38Z | https://github.com/chakra-core/ChakraCore/issues/6228 | 475,522,225 | 6,228 |
[
"chakra-core",
"ChakraCore"
] | Build Option: --debug
Chakra: 1.12.0.0-beta
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
**#./ch poc.js**
**ERROR INFO:**
ASSERTION 3538: (ChakraCore/lib/Common/DataStructures/BaseDictionary.h, line 946) op != Insert_Add
Failure: (op != Insert_Add)
Illegal instruction (core dumped)
**POC:**
if((typeof "Hello, W... | "Illegal instruction" at ChakraCore/lib/Common/DataStructures/BaseDictionary.h | https://api.github.com/repos/chakra-core/ChakraCore/issues/6222/comments | 0 | 2019-07-30T08:57:58Z | 2019-08-05T07:33:33Z | https://github.com/chakra-core/ChakraCore/issues/6222 | 474,459,872 | 6,222 |
[
"chakra-core",
"ChakraCore"
] | Build Option: --debug
Chakra: 1.12.0.0-beta
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
**#./ch poc.js**
**ERROR INFO:**
ASSERTION 3196: (ChakraCore/lib/Runtime/Language/JavascriptOperators.cpp, line 11165) !VarIs<RecyclableObject>(instance) ? TRUE : ((RecyclableObject*)instance)->GetScriptContext()->GetLibrary() == ... | "Illegal instruction" at ChakraCore/lib/Runtime/Language/JavascriptOperators.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6221/comments | 0 | 2019-07-30T08:41:40Z | 2019-08-01T15:56:32Z | https://github.com/chakra-core/ChakraCore/issues/6221 | 474,452,070 | 6,221 |
[
"chakra-core",
"ChakraCore"
] | Build Option: --debug
Chakra: 1.12.0.0-beta
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
**#./ch poc.js**
**ERROR INFO:**
ASSERTION 2340: (ChakraCore/lib/Runtime/Library/ArrayBuffer.cpp, line 563) newLen < MaxArrayBufferLength
Failure: (newLen < MaxArrayBufferLength)
Illegal instruction (core dumped)
**POC:**
f... | "Illegal instruction" at ChakraCore/lib/Runtime/Library/ArrayBuffer.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6220/comments | 0 | 2019-07-30T08:17:52Z | 2019-08-05T07:34:07Z | https://github.com/chakra-core/ChakraCore/issues/6220 | 474,441,044 | 6,220 |
[
"chakra-core",
"ChakraCore"
] | Build Option: --debug
Chakra: 1.12.0.0-beta
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
#./ch poc.js
**ERROR INFO:**
ASSERTION 17128: (ChakraCore/lib/Runtime/Language/JavascriptOperators.cpp, line 9086) VarIs<TypedArrayBase>(obj)
Failure: (VarIs<TypedArrayBase>(obj))
Illegal instruction (core dumped)
**POC:**
... | "Illegal instruction" at ChakraCore/lib/Runtime/Language/JavascriptOperators.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6219/comments | 0 | 2019-07-30T06:15:16Z | 2019-08-01T15:54:36Z | https://github.com/chakra-core/ChakraCore/issues/6219 | 474,393,338 | 6,219 |
[
"chakra-core",
"ChakraCore"
] | Hello,
I'm not sure if this is the correct place to raise the issue, if not could you guide me to the correct place?
I'm trying host Chakra and JScript9 JavaScript from VBA, however I'm currently having some problems with JsCreateContext() function:
```
Private Declare PtrSafe Function IECreateRuntime Lib "js... | Having trouble hosting from VBA | https://api.github.com/repos/chakra-core/ChakraCore/issues/6218/comments | 1 | 2019-07-27T12:18:24Z | 2023-10-12T10:09:49Z | https://github.com/chakra-core/ChakraCore/issues/6218 | 473,632,803 | 6,218 |
[
"chakra-core",
"ChakraCore"
] | OS: Ubuntu 16.04
arch:x86-64
build:debug
poc:
var v1 = "2017-11-10T14:09:00.000Z";
for((v3) = 0;(v3) < (25);++v3){
(v1) += v1;
}
print(((v3) + (": ")) + (v1));
ASSERTION 128720: (~/ChakraCore/lib/Jsrt/JsrtInternal.h, line 226) Unexpected non-engine exception.
Failure: (false)
Illegal instruction (core dumpe... | ASSERTION Failure at ChakraCore/lib/Jsrt/JsrtInternal.h, line 226 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6212/comments | 0 | 2019-07-25T07:36:25Z | 2019-07-25T07:36:25Z | https://github.com/chakra-core/ChakraCore/issues/6212 | 472,711,483 | 6,212 |
[
"chakra-core",
"ChakraCore"
] | Hello friends! I want to embed ChakraCore into my project.
But it's undesirable to use chakra's dll. Can I build chakra as static library(or libraries) without dll?
P.S. Chakra is better than v8, thank you Microsoft! | ChakraCore static library | https://api.github.com/repos/chakra-core/ChakraCore/issues/6209/comments | 2 | 2019-07-22T19:35:02Z | 2019-08-04T04:51:14Z | https://github.com/chakra-core/ChakraCore/issues/6209 | 471,276,236 | 6,209 |
[
"chakra-core",
"ChakraCore"
] | the following poc can trigger a null pointer dereference.
````
function f() {
try {
throw 1;
} catch ({a = f.__proto__.__proto__=a}) {
}
}
f();
````
| null pointer dereference in Js::RecyclableObject::GetType | https://api.github.com/repos/chakra-core/ChakraCore/issues/6204/comments | 0 | 2019-07-17T05:37:18Z | 2019-07-17T05:37:18Z | https://github.com/chakra-core/ChakraCore/issues/6204 | 468,995,373 | 6,204 |
[
"chakra-core",
"ChakraCore"
] | the following poc can trigger a bull pointer dereference.
````
async function trigger(a=class b{
[a = class b{
[await 0](){}
}](){}
}) {
}
trigger();
```` | null pointer dereference in Js::RecyclableObject::GetType | https://api.github.com/repos/chakra-core/ChakraCore/issues/6203/comments | 0 | 2019-07-17T05:35:15Z | 2019-08-01T19:53:34Z | https://github.com/chakra-core/ChakraCore/issues/6203 | 468,994,822 | 6,203 |
[
"chakra-core",
"ChakraCore"
] | the callApplyId of function foo didn't get profiled.
````
function f(){}
function foo(){
f.call();
foo.call(0x1)++;
}
foo();
```` | callApplyId didn't get profiled | https://api.github.com/repos/chakra-core/ChakraCore/issues/6202/comments | 0 | 2019-07-17T05:28:08Z | 2019-08-05T17:26:35Z | https://github.com/chakra-core/ChakraCore/issues/6202 | 468,992,972 | 6,202 |
[
"chakra-core",
"ChakraCore"
] | Build Option: --debug
Chakra: 1.12.0.0-beta
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
#./ch poc.js
ERROR INFO:
ASSERTION 20581: (ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp, line 391) propertyValue && VarIs<T>(propertyValue)
Failure: (propertyValue && VarIs<T>(propertyValue))
Illegal i... | "Illegal instruction" at ChakraCore/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6200/comments | 0 | 2019-07-11T02:22:58Z | 2019-08-05T07:34:29Z | https://github.com/chakra-core/ChakraCore/issues/6200 | 466,622,733 | 6,200 |
[
"chakra-core",
"ChakraCore"
] | OS: Ubuntu 16.04
arch:x86-64
build:debug
poc:
var v0 = 2000000000;
var v1 = "";
for(var v2 = 1;(v2) < (v0);v2++){
v1 += " ";
}
ASSERTION 107996: (~/ChakraCore/lib/Common/Memory/PageAllocator.cpp, line 491) vpresult != FALSE
Failure: (vpresult != 0)
Illegal instruction (core dumped) | ASSERTION failure at ChakraCore/lib/Common/Memory/PageAllocator.cpp, line 491 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6197/comments | 0 | 2019-07-10T08:17:38Z | 2019-07-19T01:01:29Z | https://github.com/chakra-core/ChakraCore/issues/6197 | 466,167,566 | 6,197 |
[
"chakra-core",
"ChakraCore"
] | script source:
````
var class2type = {},
core_toString = class2type.toString,
objArr = "Boolean Number String Function Array Date RegExp Object Error".split(" ");
for(var i = 0; i < objArr.length ;i++){
class2type["[object " + objArr[i] + "]"] = objArr[i].toLowerCase();
}
var jQueryT = {... | chakraCore can not call script function | https://api.github.com/repos/chakra-core/ChakraCore/issues/6195/comments | 6 | 2019-07-09T10:57:18Z | 2020-03-25T08:57:52Z | https://github.com/chakra-core/ChakraCore/issues/6195 | 465,713,770 | 6,195 |
[
"chakra-core",
"ChakraCore"
] | The following code will trigger an assertion failure:
```
function main() {
const v1 = [0x1337,0x1337,0x1337,0x1337,0x1337];
function v10(v11,v12,v13) {
return 1;
}
const v9 = [0x1330, 0x1330, 0x1330];
const v14 = {get:v10};
const v16 = new Proxy(v9,v14);
const v18 =... | Assertion failure at lib/Runtime/Language/InlineCache.h:471 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6191/comments | 0 | 2019-07-01T21:46:49Z | 2019-07-01T21:55:36Z | https://github.com/chakra-core/ChakraCore/issues/6191 | 462,925,803 | 6,191 |
[
"chakra-core",
"ChakraCore"
] | There is inconsistency error between keymap and keyset
This is PoC.
```
var key1 = {};
var key2 = {};
var map = new WeakMap();
map.set(key1, 1);
map.delete(Object.assign(key2, key1));
```
OS: Ubuntu 18.04
Arch: x86_64
Chakracore: Latest, Debug build
| Assertion Failure in lib/Runtime/Library/JavascriptWeakMap.cpp:330 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6186/comments | 0 | 2019-06-27T19:42:18Z | 2019-07-29T20:25:32Z | https://github.com/chakra-core/ChakraCore/issues/6186 | 461,714,413 | 6,186 |
[
"chakra-core",
"ChakraCore"
] | Consider the following program:
```
(module
(func (export "run")
(param i32)
(unreachable)
(tee_local 0)
(drop)
)
)
```
which we can embed in a script as follows:
```js
var debug = debug || (arg => console.log('-->', arg));
let buffer = new Uint8Array([ 0,97,115,109,1,0,0,0,1,5,1,96,... | [WebAssembly] Compile-time rejection of unreachable tee_local | https://api.github.com/repos/chakra-core/ChakraCore/issues/6185/comments | 4 | 2019-06-27T09:06:05Z | 2019-10-15T22:40:55Z | https://github.com/chakra-core/ChakraCore/issues/6185 | 461,408,818 | 6,185 |
[
"chakra-core",
"ChakraCore"
] | From line 561.
Failure: (IsUninitialized() || IsLikelyInt() || isForLoopBackEdgeCompensation)
ChakraCore: Latest, Debug build
OS: Ubuntu 18.04
Arch: x86_64
This is PoC.
```
var HashMap = function () {
var DEFAULT_SIZE = 16;
function calculateCapacity(x) {
if (x >= 1 << 30) {
return 1 << 3... | Assertion Failuer at ChakraCore/lib/Backend/ValueInfo.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6182/comments | 0 | 2019-06-26T23:00:31Z | 2019-07-01T21:55:52Z | https://github.com/chakra-core/ChakraCore/issues/6182 | 461,217,835 | 6,182 |
[
"chakra-core",
"ChakraCore"
] | Assert Error in ChakraCore/lib/Backend/BackwardPass.cpp (line 8838)
this is PoC code.
```
function test0() {
var __es_v0 = RegExp.prototype.exec.call(/(baa){3,4}/, String.prototype.toString.call("c2"));
var func2 = function () {
test0();
};
var c = 2147483647;
while (func2.call(c++, c++)) {}
}... | Assertion Error (ByteCode Updward Exposed Used Mismatch) | https://api.github.com/repos/chakra-core/ChakraCore/issues/6181/comments | 1 | 2019-06-26T22:49:55Z | 2021-03-27T10:37:09Z | https://github.com/chakra-core/ChakraCore/issues/6181 | 461,214,946 | 6,181 |
[
"chakra-core",
"ChakraCore"
] | Debug build of ChakraCore shows assertion failure from the following code
ChakraCore/lib/Runtime/Library/JavascriptArray.cpp, line 5779) length <= JavascriptArray::MaxArrayLength Failure: (length <= JavascriptArray::MaxArrayLength)
I think the boundary number check has some error.
This is the PoC.
```
var ua =... | Assertion Failure in JavascriptArray | https://api.github.com/repos/chakra-core/ChakraCore/issues/6179/comments | 0 | 2019-06-25T17:11:57Z | 2019-07-02T03:16:50Z | https://github.com/chakra-core/ChakraCore/issues/6179 | 460,542,006 | 6,179 |
[
"chakra-core",
"ChakraCore"
] | Hi,
JsGetAndClearExceptionWithMetadata() crashes due to assertion failure
at lib\Runtime\Library\JavascriptExceptionMetadata.cpp:146
reproducible code:
```
int main()
{
JsRuntimeHandle runtime;
JsContextRef context;
JsValueRef result;
JsErrorCode jserr;
unsigned currentSourceContext = 0;
s... | Assertion failure at lib\Runtime\Library\JavascriptExceptionMetadata.cpp:146 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6178/comments | 3 | 2019-06-25T05:00:24Z | 2019-07-17T04:10:10Z | https://github.com/chakra-core/ChakraCore/issues/6178 | 460,210,121 | 6,178 |
[
"chakra-core",
"ChakraCore"
] | Per https://github.com/microsoft/ChakraCore/releases/tag/v1.11.10, v1.11.10 has been released. However, https://aka.ms/chakracore/version still returns `1_11_9`.
Please update this resource accordingly (ideally automated as part of the release process), since tools such as jsvu depend on this.
@zenparsing
jsvu... | Update https://aka.ms/chakracore/version per v1.11.10 release | https://api.github.com/repos/chakra-core/ChakraCore/issues/6175/comments | 2 | 2019-06-24T08:37:50Z | 2019-06-24T16:14:13Z | https://github.com/chakra-core/ChakraCore/issues/6175 | 459,762,581 | 6,175 |
[
"chakra-core",
"ChakraCore"
] | The implementation of ‘TypedArray.prototype.fill’ in the engine is not correct. According to Ecma-262 standard, it should get the value of 'p1' firstly, and then calculate the start and end index to fill the value at corresponding items. But the actual order of implementation is reversed. The following code demonstrate... | Wrong Realization of TypedArray.prototype.fill | https://api.github.com/repos/chakra-core/ChakraCore/issues/6174/comments | 1 | 2019-06-24T04:45:03Z | 2019-06-27T18:29:06Z | https://github.com/chakra-core/ChakraCore/issues/6174 | 459,685,194 | 6,174 |
[
"chakra-core",
"ChakraCore"
] | Running code in ch version 1.11.9.0, the output is different from other js engines.
code:
```
let val = 10;
let handler_1 = {
get: function(oTarget, sKey) {
if (sKey.toString() == 'length') {
print("in get length");
val = 1;
}
return Reflect.get(oTarget, s... | Wrong Realization of String.prototype.toLocaleLowerCase | https://api.github.com/repos/chakra-core/ChakraCore/issues/6173/comments | 0 | 2019-06-24T02:12:04Z | 2019-07-01T21:56:30Z | https://github.com/chakra-core/ChakraCore/issues/6173 | 459,655,793 | 6,173 |
[
"chakra-core",
"ChakraCore"
] | For example, in the following snippet:
```
<style>
#foo {
unsupportedPropertyName: 100%; /* works */
}
@keyframes foo {
100% {
height: 100%; /* works */
}
}
@keyframes bar {
100% {
unsupportedPropertyName: 100%; /* doesn't work */
}
}
</style>
<script>
... | Reading cssText off of a @keyframes cssRule errors with a "Member not found" message | https://api.github.com/repos/chakra-core/ChakraCore/issues/6165/comments | 4 | 2019-06-17T17:09:19Z | 2019-06-17T19:08:40Z | https://github.com/chakra-core/ChakraCore/issues/6165 | 457,045,450 | 6,165 |
[
"chakra-core",
"ChakraCore"
] | ```js
async function f() {
let p = Promise.resolve(0);
Object.defineProperty(p, 'constructor', {
get: function() {
print(`Constructor property accessed`);
return Promise;
}
});
await p;
}
f();
```
```
#### ch
Constructor property accessed
Constructor property ... | Await should get the promise's constructor property only once | https://api.github.com/repos/chakra-core/ChakraCore/issues/6162/comments | 0 | 2019-06-13T19:09:41Z | 2019-06-14T17:12:52Z | https://github.com/chakra-core/ChakraCore/issues/6162 | 455,907,169 | 6,162 |
[
"chakra-core",
"ChakraCore"
] | Upon calling `JsStopDebugging()` on shutdown with a debugger attached, I was hitting (what seemed to be) a segfault somewhere inside `ChakraCore.dll`. After compiling the engine from `master` with debug symbols, I tracked down the location of the crash to the `AssertOrFailFast` call here:
* https://github.com/micro... | Calling JsStopDebugging() hits failfast in DebugContext.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/6160/comments | 0 | 2019-06-13T15:28:42Z | 2020-06-09T03:07:40Z | https://github.com/chakra-core/ChakraCore/issues/6160 | 455,808,533 | 6,160 |
[
"chakra-core",
"ChakraCore"
] | I am learning about the bailout mechanism. I find that if the object, like JavaScriptNativeIntArray, is accessed twice in JITted code, and there is no operation that can change the type of object between these two accesses, then for the optimization purpose, the BailOnNotNativeIntArray code will only execute once.
Is ... | Is there an option that can turn on all the checks in jit? | https://api.github.com/repos/chakra-core/ChakraCore/issues/6152/comments | 6 | 2019-06-10T07:16:19Z | 2020-03-26T10:25:55Z | https://github.com/chakra-core/ChakraCore/issues/6152 | 454,030,905 | 6,152 |
[
"chakra-core",
"ChakraCore"
] | The class fields proposal is Stage 3 and seems to be implemented in at least V8 (Node 12, Chrome 74):
https://github.com/tc39/proposal-class-fields
It'd be awesome to have these in CC, I currently enjoy fields thanks to TypeScript, but would be awesome to be able to use them in vanilla JS too. I thought there was ... | Implement class fields Stage 3 proposal | https://api.github.com/repos/chakra-core/ChakraCore/issues/6136/comments | 4 | 2019-05-31T17:43:35Z | 2019-06-30T22:47:35Z | https://github.com/chakra-core/ChakraCore/issues/6136 | 450,909,585 | 6,136 |
[
"chakra-core",
"ChakraCore"
] | Simple ch based repro, the below triggers a nullptr de-reference:
```js
WScript.RegisterModuleSource("start", 'import "testXXXXa";');
WScript.RegisterModuleSource("A", 'import Default from "testXXXXb";');
WScript.RegisterModuleSource("B", 'export function notDefault () {}');
WScript.LoadScriptFile("start", "modu... | nullptr deref for non-existant default import | https://api.github.com/repos/chakra-core/ChakraCore/issues/6133/comments | 0 | 2019-05-25T20:30:15Z | 2019-05-30T20:16:36Z | https://github.com/chakra-core/ChakraCore/issues/6133 | 448,499,978 | 6,133 |
[
"chakra-core",
"ChakraCore"
] | ```
function f1(a,b,c) {
function f2() {
let p1 = new Proxy({},Object);
Object.assign(p1,"rightContext",{set:v=>v});
}
f2(0,0,f2);
new Promise(f1);
}
f1(0,0,f1);
for (let t = 0; t < 1000; t++){
f1(0,0,f1);
}
```
platforms: linux, macos (no windows)... | null pointer with Js::JavascriptProxy::DefineOwnPropertyDescriptor | https://api.github.com/repos/chakra-core/ChakraCore/issues/6129/comments | 2 | 2019-05-21T18:46:13Z | 2019-06-05T18:45:00Z | https://github.com/chakra-core/ChakraCore/issues/6129 | 446,769,339 | 6,129 |
[
"chakra-core",
"ChakraCore"
] | I don't know what's the problem with this <code>`</code> character in #Chakra JavaScript engine. I'm unable to render my script into <b>Internet Explorer 11</b>.
If anyone explain me this problem, I would be graceful.
Here is the browser information below:
<b>Internet Explorer 11</b>
<b>Version:</b> 11.0.9600.1... | Exception# Invalid character | https://api.github.com/repos/chakra-core/ChakraCore/issues/6120/comments | 1 | 2019-05-08T20:58:55Z | 2019-05-15T18:30:05Z | https://github.com/chakra-core/ChakraCore/issues/6120 | 441,929,234 | 6,120 |
[
"chakra-core",
"ChakraCore"
] | PoC:
var gi = 3;
var bigArray = new Array(50);
bigArray.fill(42);
function foo() {
return arguments[gi];
}
function bar() {
bigArray.every(function (x) {
foo();
});
}
for (var i = 0; i < 10000; ++i) {
bar();
} | ASSERTION 65368: (Js::ArgSlot)inlineeCallInfo.Count == currentBailOutRecord->actualCount Failure: ((Js::ArgSlot)inlineeCallInfo.Count == currentBailOutRecord->actualCount) | https://api.github.com/repos/chakra-core/ChakraCore/issues/6118/comments | 1 | 2019-05-04T15:41:53Z | 2019-06-07T17:39:13Z | https://github.com/chakra-core/ChakraCore/issues/6118 | 440,336,148 | 6,118 |
[
"chakra-core",
"ChakraCore"
] | hi, the following test case asserts at:
linearscan.cpp, line 1559, Failure: (funcBailOutData[index].localOffsets[i] == 0)
(run the debug build):
function opt() {
for (let i = 0; i < 9; i++) {
for (let j = 0; j < 100; j++) {
function opt2() {
let a1 = [12.34];
let ... | assertion failure at linearscan.cpp, line 1559, Failure: (funcBailOutData[index].localOffsets[i] == 0) | https://api.github.com/repos/chakra-core/ChakraCore/issues/6113/comments | 1 | 2019-04-24T05:13:30Z | 2019-06-06T23:23:21Z | https://github.com/chakra-core/ChakraCore/issues/6113 | 436,500,172 | 6,113 |
[
"chakra-core",
"ChakraCore"
] | I'm not really sure if this is the place to share this. If there is a more appropriate, please let me know. Sorry in advance.
I've been working as a web developer for over a year now. Yesterday was my first time inspecting elements on Edge. And it was just terrible. I will add a GIF below to illustrate the situation... | Edge "inspect elements" not working | https://api.github.com/repos/chakra-core/ChakraCore/issues/6110/comments | 1 | 2019-04-23T10:34:43Z | 2019-04-23T18:49:08Z | https://github.com/chakra-core/ChakraCore/issues/6110 | 436,116,602 | 6,110 |
[
"chakra-core",
"ChakraCore"
] | hi, the following test case asserts at:
RecyclerObjectGraphDumper.cpp, line 45) dumpObject == nullptr,
(run the debug build with the -collectgarbage flag..):
function f() {
let a = [1,2,3,4];
Promise.all(a);
for (let e in a) {
CollectGarbage(e);
}
}
for (let t = 0; t ... | ASSERTION FAILURE at RecyclerObjectGraphDumper.cpp, line 45 with gc | https://api.github.com/repos/chakra-core/ChakraCore/issues/6100/comments | 1 | 2019-04-13T14:10:16Z | 2019-06-05T19:22:29Z | https://github.com/chakra-core/ChakraCore/issues/6100 | 432,851,453 | 6,100 |
[
"chakra-core",
"ChakraCore"
] | The following expression, when typed into console, or as part of script:
1.4e-3 .toExponential(1)
returns value:
"1.3e-3"
expected output is:
"1.4e-3"
I have seen some other issues related to number formatting reported here, those are already fixed. However, this one is not fixed.
I'm using... | Number format: 1.4e-3 .toExponential(1) returns "1.3e-3" | https://api.github.com/repos/chakra-core/ChakraCore/issues/6095/comments | 0 | 2019-04-11T10:39:53Z | 2019-04-16T00:02:15Z | https://github.com/chakra-core/ChakraCore/issues/6095 | 431,952,674 | 6,095 |
[
"chakra-core",
"ChakraCore"
] | dispatch event on window.opener is not working for edge browser, is there any possible solution for that? | https://api.github.com/repos/chakra-core/ChakraCore/issues/6094/comments | 1 | 2019-04-11T10:24:40Z | 2019-05-15T21:26:45Z | https://github.com/chakra-core/ChakraCore/issues/6094 | 431,946,556 | 6,094 | |
[
"chakra-core",
"ChakraCore"
] | After the new release of 1.11.8 the version link at `https://aka.ms/chakracore/version` still references 1.11.7.
Could this be updated so the most recent version can be installed?
| Update release version link still points to 1.11.7 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6093/comments | 1 | 2019-04-11T03:40:34Z | 2019-04-11T14:44:08Z | https://github.com/chakra-core/ChakraCore/issues/6093 | 431,815,613 | 6,093 |
[
"chakra-core",
"ChakraCore"
] | Microsoft Edge switch to chromium, now chakracore will discontinued? | Microsoft Edge switch to chromium, now chakracore will discontinued? | https://api.github.com/repos/chakra-core/ChakraCore/issues/6090/comments | 2 | 2019-04-10T06:06:52Z | 2019-04-11T15:14:51Z | https://github.com/chakra-core/ChakraCore/issues/6090 | 431,319,467 | 6,090 |
[
"chakra-core",
"ChakraCore"
] | The `Intl.NumberFormat()` constructor of **[ECMAScript Internationalization API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)** behaves differently in:
**Microsoft Edge 41.16299.1004.0** / **Microsoft EdgeHTML 16.16299**
```javascript
new Intl.NumberFormat('de-DE', { style... | Intl.NumberFormat() doesn't properly format numbers with "currency" style. | https://api.github.com/repos/chakra-core/ChakraCore/issues/6068/comments | 1 | 2019-04-02T17:11:10Z | 2019-04-05T17:57:05Z | https://github.com/chakra-core/ChakraCore/issues/6068 | 428,344,884 | 6,068 |
[
"chakra-core",
"ChakraCore"
] | The debug build of ChakraCore crashes due to assertion failure at lib/Common/DataStructures/BaseDictionary.h:946.
```
var var_0 = new Set([+var_0, -'name', 'length']);
```
Commit: 61b8b22
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64
| Assertion failure at lib/Common/DataStructures/BaseDictionary.h:946 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6063/comments | 0 | 2019-03-29T07:24:06Z | 2019-04-08T17:22:53Z | https://github.com/chakra-core/ChakraCore/issues/6063 | 426,852,091 | 6,063 |
[
"chakra-core",
"ChakraCore"
] | The debug build of ChakraCore crashes with segfault due to null dereference.
```
Array.prototype.push.call([0, 0, 0, 0, 0]);
```
Commit: 61b8b22
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | ChakraCore crashes due to null dereference | https://api.github.com/repos/chakra-core/ChakraCore/issues/6062/comments | 0 | 2019-03-29T07:00:33Z | 2019-04-08T17:28:37Z | https://github.com/chakra-core/ChakraCore/issues/6062 | 426,845,643 | 6,062 |
[
"chakra-core",
"ChakraCore"
] | It's on stage 3.
Test262 tests available with the feature tag [`numeric-separator-literal`](https://test262.report/features/numeric-separator-literal) | Implement Numeric Sparators | https://api.github.com/repos/chakra-core/ChakraCore/issues/6060/comments | 2 | 2019-03-28T14:54:18Z | 2019-06-04T22:53:58Z | https://github.com/chakra-core/ChakraCore/issues/6060 | 426,538,656 | 6,060 |
[
"chakra-core",
"ChakraCore"
] | the following js fragment causes a null pointer dereference.
```javascript
function foo() {
for (var h = 0;; ++h) {
for (var r = 0; ; ++r) {
var a =1;
}
}
};
foo();
```
Version: Release v1.11.7
OS: Ubuntu 16.04.1 LTS
Arch: x86_64 | Null pointer dereference in Runtime/ByteCode/ByteCodeEmitter.cpp:8810 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6059/comments | 2 | 2019-03-28T07:40:15Z | 2019-05-04T00:40:17Z | https://github.com/chakra-core/ChakraCore/issues/6059 | 426,342,591 | 6,059 |
[
"chakra-core",
"ChakraCore"
] | the following js fragment causes a null pointer dereference.
```javascript
function foo() {
try {
x = arguments;
this = foo.call(this);
} catch (e) {
print(x.length);
}
var x = {
j: 1,
k: 2.2
};
}
foo();
```
Version: [ Release v1.11.7 ](ht... | Null pointer dereference in ValueType::FromObject(Js::RecyclableObject*) () | https://api.github.com/repos/chakra-core/ChakraCore/issues/6058/comments | 1 | 2019-03-28T06:40:25Z | 2019-06-07T17:35:38Z | https://github.com/chakra-core/ChakraCore/issues/6058 | 426,323,901 | 6,058 |
[
"chakra-core",
"ChakraCore"
] | Stage 3 proposal: https://github.com/tc39/proposal-promise-allSettled
| Implement Promise.allSettled | https://api.github.com/repos/chakra-core/ChakraCore/issues/6056/comments | 3 | 2019-03-28T00:42:35Z | 2019-06-12T12:09:41Z | https://github.com/chakra-core/ChakraCore/issues/6056 | 426,243,102 | 6,056 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/BackwardPass.cpp:8667.
```
let var_0 = [`function foo() {}`];
(function (){
let var_1 = 0; ... | Assertion failure at lib/Backend/BackwardPass.cpp:8667 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6055/comments | 0 | 2019-03-27T12:06:42Z | 2019-07-01T21:57:02Z | https://github.com/chakra-core/ChakraCore/issues/6055 | 425,921,976 | 6,055 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/Language/JavascriptOperators.cpp:6646.
```
var var_0 = '';
for (var var_1 = 0; var_1 < 100000; var_1++) {
var_0 += `this.a${ var_1 } = 0;\n`;
}
var var_2 = new Function(var_0);
function func_0() {}
func_0.prototype = new var_2();
```
Commit: ... | Assertion failure at lib/Runtime/Language/JavascriptOperators.cpp:6646 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6054/comments | 0 | 2019-03-27T11:43:26Z | 2019-04-08T17:32:34Z | https://github.com/chakra-core/ChakraCore/issues/6054 | 425,911,684 | 6,054 |
[
"chakra-core",
"ChakraCore"
] | the follow js fragment cause a stack overflow
`function f(){
var a = {};
function p(c){
(function(){
try {
throw p(d);
}catch(a){
res = function(){return ParseInt();}();
(function(){c =1;})();
}
})();
function d(){}
}
a[0x1234567890] = p();
... | stack overflow | https://api.github.com/repos/chakra-core/ChakraCore/issues/6053/comments | 0 | 2019-03-27T07:48:44Z | 2019-07-31T22:47:28Z | https://github.com/chakra-core/ChakraCore/issues/6053 | 425,809,735 | 6,053 |
[
"chakra-core",
"ChakraCore"
] | the following js fragment causes a null pointer dereference.
`
function f(a){
"use asm";
var len = a.byteLength;
function f(a){
a = a|0;
}
return {f:f};
}
Function['byteLength'] = Function.prototype.call.bind(0);
f(Function);
` | null pointer dereference in Js::RecyclableObject::GetType() | https://api.github.com/repos/chakra-core/ChakraCore/issues/6052/comments | 0 | 2019-03-27T07:23:35Z | 2019-04-08T18:32:38Z | https://github.com/chakra-core/ChakraCore/issues/6052 | 425,801,649 | 6,052 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Common/Exceptions/Throw.cpp:103.
```
function func_0(overrides) {
return {
get: overrides.get
};
}
var var_0 = {
length: 2 ** 53 + 2
};
var var_1 = new Proxy(var_0, func_0({
get(t, pk, r) {
return Reflect.get(t, pk, r);
... | Assertion failure at lib/Common/Exceptions/Throw.cpp:103 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6050/comments | 0 | 2019-03-26T18:42:53Z | 2019-04-11T17:21:53Z | https://github.com/chakra-core/ChakraCore/issues/6050 | 425,588,817 | 6,050 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/LinearScan.cpp:2031.
```
(function func_0() {
(function () {
for ({x: func_0()};;) {} ... | Assertion failure at lib/Backend/LinearScan.cpp:2031 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6049/comments | 1 | 2019-03-26T17:42:33Z | 2019-06-19T19:45:44Z | https://github.com/chakra-core/ChakraCore/issues/6049 | 425,559,409 | 6,049 |
[
"chakra-core",
"ChakraCore"
] | I couldn't find any examples of calling JavaScript functions that return promises. I'm particularly interested in how to register callbacks for resolve / reject.
We can check the state of a promise with `JsGetPromiseState` and get its result with `JsGetPromiseResult`, but I can't see how to get notified when a promi... | Return Promise from JavaScript | https://api.github.com/repos/chakra-core/ChakraCore/issues/6048/comments | 2 | 2019-03-26T04:52:59Z | 2020-03-25T08:29:57Z | https://github.com/chakra-core/ChakraCore/issues/6048 | 425,226,488 | 6,048 |
[
"chakra-core",
"ChakraCore"
] | Repro steps:
1. Go to https://console.cloud.google.com (requires a Google account)
1. Open the hamburger menu and click on the "Storage" navigation menu link
(bug occurs in minified Angular routing code)
Notes:
* Was unable to isolate the root cause so I don't have a minimum repro example
* Bug occurs in ... | Edge throws an unexpected TypeError: Object expected | https://api.github.com/repos/chakra-core/ChakraCore/issues/6046/comments | 2 | 2019-03-26T00:16:32Z | 2019-07-22T23:51:46Z | https://github.com/chakra-core/ChakraCore/issues/6046 | 425,170,819 | 6,046 |
[
"chakra-core",
"ChakraCore"
] | Test akayn$ ./chakra xx.js
Abort trap: 6
Test akayn$
the crash results because of this line:
file xx.js:
let b = 'a'.repeat(5 * 0x313131 * 1000);
///////////////
for some reason string repeat throws an abort trap instead of an error massage ..
(on edge you throw out of memory error...
Maybe display ... | chakracore throws an abort trap (or oom crash on edge) with an invalid length to String.prototype.repeat ... maybe just display an error massage? | https://api.github.com/repos/chakra-core/ChakraCore/issues/6042/comments | 1 | 2019-03-21T12:53:27Z | 2019-03-21T20:23:16Z | https://github.com/chakra-core/ChakraCore/issues/6042 | 423,714,514 | 6,042 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp:3146.
The release build also crashes with sigabort.
PoC:
```
options = {maximumSignificantDigits:1}
const var_0 = new Intl.PluralRules('en', options); ... | Assertion failure at lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp:3146 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6039/comments | 0 | 2019-03-19T06:09:40Z | 2019-06-04T00:14:57Z | https://github.com/chakra-core/ChakraCore/issues/6039 | 422,559,559 | 6,039 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: e6e25c3a5
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
var x = {};
var y = WScript.LoadScript(0, "samethread");
with(x) {
with (y) {
eval()
... | ASSERTION (!CrossSite::NeedMarshalVar(value, GetScriptContext())) failed in Js::InterpreterStackFrame::ValidateRegValue | https://api.github.com/repos/chakra-core/ChakraCore/issues/6038/comments | 0 | 2019-03-16T16:20:40Z | 2019-05-21T22:28:51Z | https://github.com/chakra-core/ChakraCore/issues/6038 | 421,825,455 | 6,038 |
[
"chakra-core",
"ChakraCore"
] | Hello
I have validated that the test case for https://github.com/Microsoft/ChakraCore/issues/5985 runs correctly with a Debug version of ChakraCore and the small test case but there still seems to be something wrong when running against our tests and still receiving the following:
```
ASSERTION 2257: (/Users/Jim... | [WebAssembly] ASSERTION 2257: ChakraCore v1.11.7 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6037/comments | 12 | 2019-03-15T14:42:06Z | 2019-04-17T16:29:28Z | https://github.com/chakra-core/ChakraCore/issues/6037 | 421,552,696 | 6,037 |
[
"chakra-core",
"ChakraCore"
] | If a user overrides the `Symbol.toPrimitive` property of a symbol object (an object that wraps a symbol primitive), the overridden method should be called.
```
eshost -e '(() => { var s = Object(Symbol()); Object.defineProperty(s, Symbol.toPrimitive, { value: function() { return 1 } }); return s * 5; })()'
```
... | Overriding toPrimitive does not work for Symbol objects | https://api.github.com/repos/chakra-core/ChakraCore/issues/6036/comments | 0 | 2019-03-14T22:59:52Z | 2019-05-21T20:21:51Z | https://github.com/chakra-core/ChakraCore/issues/6036 | 421,282,102 | 6,036 |
[
"chakra-core",
"ChakraCore"
] | [jsvu](https://github.com/GoogleChromeLabs/jsvu) downloads ChakraCore from GitHub releases and has used the link `osx_x64` as the operating system link 1.11.6 and previous.
Example: `https://aka.ms/chakracore/cc_osx_x64_1_11_6`
The new link for the mac os version is now: `https://aka.ms/chakracore/cc_osx_64_1_11... | ChakraCore 1.11.7 download broken on jsvu due to mac file link | https://api.github.com/repos/chakra-core/ChakraCore/issues/6034/comments | 4 | 2019-03-14T05:49:19Z | 2019-03-15T04:18:01Z | https://github.com/chakra-core/ChakraCore/issues/6034 | 420,842,194 | 6,034 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: 62d3d1163
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
var all = [ ]
function AsmModuleDouble ( ) {
function LtFloat ( ) {}
function GeFloat ( ) ... | ASSERTION (lifetime->start < instr->GetNumber() && lifetime->end >= instr->GetNumber()) failed in LinearScan::SpillInlineeArgs(IR::Instr*)::$_3::operator | https://api.github.com/repos/chakra-core/ChakraCore/issues/6033/comments | 1 | 2019-03-13T16:54:33Z | 2019-11-30T01:11:45Z | https://github.com/chakra-core/ChakraCore/issues/6033 | 420,610,674 | 6,033 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Library/JSONParser.cpp:163.
PoC:
```
JSON.parse('["first", null]', function (_, _) {
this[1] = arguments;
});
```
Commit: 62d3d11
Build Option: None
O... | Assertion failure at lib/Runtime/Library/JSONParser.cpp:163 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6032/comments | 0 | 2019-03-13T14:17:53Z | 2019-04-08T17:30:32Z | https://github.com/chakra-core/ChakraCore/issues/6032 | 420,524,647 | 6,032 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Library/JavascriptArray.cpp:5766.
PoC:
```
const var_0 = new Uint8Array([1, 2, 3, 4]);
Object.defineProperty(var_0, 'length', { value: 4398046507008 });
Array.prototype.reverse.call(var_0);
```
... | Assertion failure at lib/Runtime/Library/JavascriptArray.cpp:5766 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6031/comments | 0 | 2019-03-13T14:07:07Z | 2019-03-26T20:57:44Z | https://github.com/chakra-core/ChakraCore/issues/6031 | 420,518,933 | 6,031 |
[
"chakra-core",
"ChakraCore"
] | After the new release of 1.11.7 the version link at https://aka.ms/chakracore/version still references 1.11.6.
Could this be updated so the most recent version can be installed? | Update release version link still points to 1.11.6 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6030/comments | 1 | 2019-03-13T12:35:14Z | 2019-03-13T15:19:09Z | https://github.com/chakra-core/ChakraCore/issues/6030 | 420,476,157 | 6,030 |
[
"chakra-core",
"ChakraCore"
] | Windows 1809 OS Build 17763.348
Steps to reproduce:
Run the following script in Browser console
```javascript
['fi-FI', 'et-EE', 'en-GB', 'en-US', 'es-ES', 'nl-NL', 'it-IT', 'nb-NO', 'pt', 'pl-PL', 'fr-FR', 'de-DE', 'ru-RU'].forEach(function (lng) {
console.log(lng, 'FORMATS');
var tester = new Intl.N... | Microsoft Edge 18 Intl.NumberFormat formats currency with more than 2 digits incorrectly | https://api.github.com/repos/chakra-core/ChakraCore/issues/6029/comments | 1 | 2019-03-13T12:20:47Z | 2020-03-26T22:50:47Z | https://github.com/chakra-core/ChakraCore/issues/6029 | 420,470,179 | 6,029 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Backend/SccLiveness.cpp:570.
The release build also crashes with segfault due to null dereference.
PoC:
```
(function () {
let var_0 = 200;
let var_1;
let var_2 = new Uint8Array(400);
while(true){
for (var_1 = 274; var_1 > var_0 + 1;... | Assertion failure at lib/Backend/SccLiveness.cpp:570 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6028/comments | 1 | 2019-03-13T11:41:36Z | 2019-04-18T22:37:28Z | https://github.com/chakra-core/ChakraCore/issues/6028 | 420,454,691 | 6,028 |
[
"chakra-core",
"ChakraCore"
] | Why only an ExternalObject can carry a void* pointer instead of Object? When I implement a constructor function for c++ class , I need to put a c++ object pointer to js-this (which is an Object).
```javascript
let foo = new Bar();
```
```C++
JsValueRef Bar( JsValueRef callee, bool isNew, JsValueRef * args, uint16_... | Why only an External-Object can carry a void* pointer instead of Object? | https://api.github.com/repos/chakra-core/ChakraCore/issues/6027/comments | 3 | 2019-03-13T11:07:36Z | 2019-03-22T17:04:05Z | https://github.com/chakra-core/ChakraCore/issues/6027 | 420,440,963 | 6,027 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Language/DynamicProfileInfo.cpp:1255.
The release build also crashes with segfault.
PoC:
```
func_0();
async function func_0() { ... | Assertion failure at lib/Runtime/Language/DynamicProfileInfo.cpp:1255 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6026/comments | 0 | 2019-03-13T08:06:28Z | 2019-03-26T20:58:37Z | https://github.com/chakra-core/ChakraCore/issues/6026 | 420,365,275 | 6,026 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Language/InlineCache.cpp:571.
PoC:
```
func_0();
async function func_0(){
for(;;){
await WScript.Attach(func_0);
}
}
```
Commit: 62d3d11
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Runtime/Language/InlineCache.cpp:571 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6025/comments | 0 | 2019-03-13T07:50:54Z | 2019-03-26T20:58:14Z | https://github.com/chakra-core/ChakraCore/issues/6025 | 420,360,466 | 6,025 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with segfault or assertion failure at lib/Common/Memory/RecyclerRootPtr.h:18.
The release build also crashes with segfault.
PoC:
```
```
Commit: 62d3d11
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Common/Memory/RecyclerRootPtr.h:18 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6024/comments | 1 | 2019-03-13T07:27:30Z | 2019-03-27T12:13:14Z | https://github.com/chakra-core/ChakraCore/issues/6024 | 420,353,258 | 6,024 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Base/FunctionBody.h:2969.
PoC:
```
function func_0(a = 1, b = function () {return a;}) {
var arguments;
}
WScript.Attach(func_0);
```
Commit: 62d3d11
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Runtime/Base/FunctionBody.h:2969 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6023/comments | 0 | 2019-03-13T06:38:44Z | 2019-06-04T00:13:35Z | https://github.com/chakra-core/ChakraCore/issues/6023 | 420,340,036 | 6,023 |
[
"chakra-core",
"ChakraCore"
] | I've hit a bug in Edge with WebAssembly; the following code snippet:
```
static void writeTriangle(void* destination, size_t offset, size_t index_size, unsigned int a, unsigned int b, unsigned int c)
{
if (index_size == 2)
{
static_cast<unsigned short*>(destination)[offset + 0] = (unsigned short)(a);
sta... | A branch in WebAssembly code is miscompiled | https://api.github.com/repos/chakra-core/ChakraCore/issues/6022/comments | 4 | 2019-03-13T06:32:57Z | 2020-02-25T02:32:35Z | https://github.com/chakra-core/ChakraCore/issues/6022 | 420,338,464 | 6,022 |
[
"chakra-core",
"ChakraCore"
] | Recently you add some new code here:https://github.com/Microsoft/ChakraCore/commit/c0c3de7acdc167ca93b689f7552a5a0fe4bc8be2#diff-368bbd31c6049b4faa033bbbc971ef0f
But there are some old win10 versions that does not support cfg(my test enviroment is 10.0.14393).
And when I build ch.exe, there is a fatal error that "n... | How to disable CFG in win10 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6021/comments | 4 | 2019-03-13T05:47:08Z | 2019-03-22T19:00:23Z | https://github.com/chakra-core/ChakraCore/issues/6021 | 420,327,453 | 6,021 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Runtime/Language/InterpreterLoop.inl:383.
PoC:
```
func_0(true);
async function func_0(notAttachCall) {
if (notAttachCall) {
await WScript.Attach(func_0);
} else {
[undefined] = [];
}
}
```
Commit: 62d3d11
Build Option: None
... | Assertion failure at lib/Runtime/Language/InterpreterLoop.inl:383 | https://api.github.com/repos/chakra-core/ChakraCore/issues/6020/comments | 0 | 2019-03-13T05:11:04Z | 2019-06-04T00:13:49Z | https://github.com/chakra-core/ChakraCore/issues/6020 | 420,320,144 | 6,020 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: a247f4f3c
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
function MyRepl($) {
$.substring($, WScript.LoadScript(0, "samethread"))
}
var str = String("asd... | ASSERTION (!VarIs<RecyclableObject>(instance) ? 1 : ((RecyclableObject*)instance)->GetScriptContext()->GetLibrary() == library) failed in Js::JavascriptOperators::IsUndefinedObject | https://api.github.com/repos/chakra-core/ChakraCore/issues/6015/comments | 2 | 2019-03-12T10:24:02Z | 2019-03-12T18:03:31Z | https://github.com/chakra-core/ChakraCore/issues/6015 | 419,907,287 | 6,015 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: a247f4f3c
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
var obj = {};
Object.defineProperty(obj, "test", {
get: function() {
delete obj.test;
... | ASSERTION (skipAssert || value == nullptr || *value == property) failed in Js::JavascriptOperators::GetProperty_Internal | https://api.github.com/repos/chakra-core/ChakraCore/issues/6010/comments | 1 | 2019-03-11T20:14:26Z | 2019-03-11T21:43:17Z | https://github.com/chakra-core/ChakraCore/issues/6010 | 419,662,328 | 6,010 |
[
"chakra-core",
"ChakraCore"
] | the following js could cause a crash.
`
function a(){
a={a(){[b=>this]=0}};
}
`
| crash | https://api.github.com/repos/chakra-core/ChakraCore/issues/6008/comments | 2 | 2019-03-11T05:40:31Z | 2019-03-12T20:08:29Z | https://github.com/chakra-core/ChakraCore/issues/6008 | 419,302,334 | 6,008 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.