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"
] | Implement operator i64.extend_s/i32 | WASM - i64.extend_s/i32 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1864/comments | 1 | 2016-10-31T22:19:52Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1864 | 186,414,307 | 1,864 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i64.trunc_u/f64
Should trap when the floating point value is NaN or outside the range which rounds to an integer in range | WASM - i64.trunc_u/f64 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1863/comments | 1 | 2016-10-31T22:19:22Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1863 | 186,414,227 | 1,863 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i64.trunc_u/f32
Should trap when the floating point value is NaN or outside the range which rounds to an integer in range | WASM - i64.trunc_u/f32 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1862/comments | 1 | 2016-10-31T22:19:05Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1862 | 186,414,163 | 1,862 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i64.trunc_s/f64
Should trap when the floating point value is NaN or outside the range which rounds to an integer in range | WASM - i64.trunc_s/f64 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1861/comments | 1 | 2016-10-31T22:18:46Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1861 | 186,414,096 | 1,861 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i64.trunc_s/f32
Should trap when the floating point value is NaN or outside the range which rounds to an integer in range | WASM - i64.trunc_s/f32 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1860/comments | 1 | 2016-10-31T22:18:17Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1860 | 186,414,002 | 1,860 |
[
"chakra-core",
"ChakraCore"
] | Implement operator f32.convert_u/i32 | WASM - f32.convert_u/i32 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1859/comments | 1 | 2016-10-31T22:17:40Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1859 | 186,413,889 | 1,859 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i32.trunc_u/f64 | WASM - i32.trunc_u/f64 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1858/comments | 0 | 2016-10-31T22:17:10Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1858 | 186,413,799 | 1,858 |
[
"chakra-core",
"ChakraCore"
] | Implement operator i32.trunc_u/f32 | WASM - i32.trunc_u/f32 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1857/comments | 0 | 2016-10-31T22:16:37Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1857 | 186,413,673 | 1,857 |
[
"chakra-core",
"ChakraCore"
] | Implement Grow Memory operator | WASM - Grow Memory | https://api.github.com/repos/chakra-core/ChakraCore/issues/1856/comments | 1 | 2016-10-31T22:15:41Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1856 | 186,413,498 | 1,856 |
[
"chakra-core",
"ChakraCore"
] | Functions below a certain size are much more costly to JIT than it is worth to do so. Sufficiently small functions should get inlined at all of their call sites eventually, so queueing them up to be jitted is wasteful.
| Avoid JIT for small functions | https://api.github.com/repos/chakra-core/ChakraCore/issues/1841/comments | 0 | 2016-10-28T00:44:49Z | 2016-11-15T00:26:19Z | https://github.com/chakra-core/ChakraCore/issues/1841 | 185,814,303 | 1,841 |
[
"chakra-core",
"ChakraCore"
] | One code pattern that happens a decent amount is as follows:
var a = "hello"
var b = "world"
var c = a[0]
var d = b[4]
if(c == d) {
dance();
}
Currently, we do a full string comparison in this case. It's possible to instead add another type of single-character strings, store the values as i8s, and do the comparisons directly in the function.
| Handle single-character strings specially | https://api.github.com/repos/chakra-core/ChakraCore/issues/1840/comments | 1 | 2016-10-28T00:43:30Z | 2016-10-28T01:04:23Z | https://github.com/chakra-core/ChakraCore/issues/1840 | 185,814,167 | 1,840 |
[
"chakra-core",
"ChakraCore"
] | We should delete the Wasm object before release once we have switched testing to use new WebAssembly APIs
| WASM - Remove old Wasm APIs | https://api.github.com/repos/chakra-core/ChakraCore/issues/1834/comments | 2 | 2016-10-27T02:08:31Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1834 | 185,555,934 | 1,834 |
[
"chakra-core",
"ChakraCore"
] | Automated testing is hitting this assert, which in the past has happened a bit when bytecodeuses opcodes are emitted improperly around an instruction.
| Hitting the assert "Can't have two active lifetimes for the same byte code register" | https://api.github.com/repos/chakra-core/ChakraCore/issues/1832/comments | 2 | 2016-10-26T23:55:33Z | 2016-11-30T22:42:03Z | https://github.com/chakra-core/ChakraCore/issues/1832 | 185,540,545 | 1,832 |
[
"chakra-core",
"ChakraCore"
] | At the moment, ChakraCore shared library on xplat requires an explicit call to DllMain.
This is not practical for 3rd party apps using ChakraCore.
A potential solution may benefit `static library` xplat mechanism. Please keep in mind, we need to consider command line args/flags handling for SO separately.
| xplat: Make shared library usage requirements more reasonable | https://api.github.com/repos/chakra-core/ChakraCore/issues/1811/comments | 3 | 2016-10-24T10:54:51Z | 2016-12-19T14:24:34Z | https://github.com/chakra-core/ChakraCore/issues/1811 | 184,808,713 | 1,811 |
[
"chakra-core",
"ChakraCore"
] | There is a new compiler switch in the next release of MSVC that makes the compiler less permissive (/permissive-) There are three types of language conformance issues that are exposed in the Chakra codebase when building with /permissive-
1) Strict string conversion (this is also covered by the /Zc:strictStrings flag)
The 'const' is not implicitly dropped by string literals, which means the following is not allowed:
`char *str = "const string literal"; //error: cannot convert a 'const char*' to a 'char*'`
This fix to to make str 'const char*'. (This can have a domino effect depending on where str is used)
2) Fully qualified inline declarations members inside class
```
struct A {
void A::f() { } // Error: illegal qualified name in member declaration, remove redundant 'A::' to fix
};
```
3) MSVC by default will allows name lookup in a dependent base. This is disabled by /permissive-
```
template <class T> struct B {
void f();
};
template <class T> struct D
: public B<T> //B is a dependent base because its type depends on the type of T in D<T>.
{
//One possible fix is to uncomment the following line. If this were a type we should have 'using typename'...
//using B<T>::f;
void g() {
f(); //Error: identifier not found, one possible fix is change it to 'this->f();'
}
};
void h()
{
D<int> d;
d.g();
}
```
The MSVC compiler team uses the ChakraCore build as part of their tests, so we have already made the necessary changes in our own branch and are interested in submitting a pull request.
| C++ language conformance changes (msvc /permissive-) | https://api.github.com/repos/chakra-core/ChakraCore/issues/1800/comments | 2 | 2016-10-21T15:36:48Z | 2017-04-26T20:42:34Z | https://github.com/chakra-core/ChakraCore/issues/1800 | 184,516,302 | 1,800 |
[
"chakra-core",
"ChakraCore"
] | this file in "@ubuntu:~/github/ChakraCore/BuildLinux/Release/bin/ChakraCore"
```
#include "../../../../lib/Jsrt/ChakraCore.h"
#include <iostream>
#include <string>
#include <stdio.h>
#include <locale>
#include <codecvt>
using namespace std;
const std::wstring utf82ws(const std::string& src)
{
std::wstring_convert<std::codecvt_utf8<wchar_t> > conv;
return conv.from_bytes(src);
}
int print_err()
{
JsValueRef err;
if(JsNoError == JsGetAndClearException(&err))
{
JsValueRef errstr;
if(JsNoError == JsConvertValueToString(err, &errstr))
{
char* output1;
size_t outputLength;
if(JsNoError == JsStringToPointerUtf8Copy(errstr, &output1, &outputLength))
{
wcout << utf82ws(output1) << endl;
printf(output1);
}
}
}
return 1;
}
int main()
{
JsRuntimeHandle runtime;
JsContextRef context;
JsValueRef result;
unsigned currentSourceContext = 0;
// Your script; try replace hello-world with something else
string script = "(function(){return \'Hello world!\';})()";
// Create a runtime.
if(JsNoError != JsCreateRuntime(JsRuntimeAttributeNone, nullptr, &runtime))
return print_err();
// Create an execution context.
if(JsNoError != JsCreateContext(runtime, &context))
return print_err();
// Now set the current execution context.
if(JsNoError != JsSetCurrentContext(context))
return print_err();
// Run the script.
auto ec = JsRunScriptUtf8(script.c_str(), currentSourceContext++, "", &result);
if(ec != JsErrorCode::JsNoError)
{
print_err();
return 1;
}
JsValueRef resultJSString;
JsConvertValueToString(result, &resultJSString);
if(ec != JsErrorCode::JsNoError)
{
print_err();
return 1;
}
// Project script result back to C++.
char* output;
size_t outputLength;
JsStringToPointerUtf8Copy(resultJSString, &output, &outputLength);
string resultW(output);
//cout << string(resultW.begin(), resultW.end()) << endl;
printf(output);
system("pause");
// Dispose runtime
JsSetCurrentContext(JS_INVALID_REFERENCE);
JsDisposeRuntime(runtime);
return 0;
}
```
at JsRunScriptUtf8
return **JsErrorNoCurrentContext**
**btw: pls support centos7.**
| I can't run sample code, return JsErrorNoCurrentContext | https://api.github.com/repos/chakra-core/ChakraCore/issues/1799/comments | 11 | 2016-10-21T13:58:05Z | 2016-10-24T14:16:29Z | https://github.com/chakra-core/ChakraCore/issues/1799 | 184,491,782 | 1,799 |
[
"chakra-core",
"ChakraCore"
] | Is there anything built into Chakra to help with code coverage? Wouldn't it be more sensible for the runtime to know what ran and what did not than something else?
| Is there support for collecting JS Code Coverage numbers in ChakraCore? | https://api.github.com/repos/chakra-core/ChakraCore/issues/1794/comments | 21 | 2016-10-20T22:46:00Z | 2018-05-16T22:02:23Z | https://github.com/chakra-core/ChakraCore/issues/1794 | 184,359,319 | 1,794 |
[
"chakra-core",
"ChakraCore"
] | ```
JsRuntimeHandle runtime;
JsContextRef context;
JsValueRef result;
unsigned currentSourceContext = 0;
// Your script; try replace hello-world with something else
const char *script = "(()=>{return \'Hello world!\';})()";
// Create a runtime.
JsCreateRuntime(JsRuntimeAttributeNone, nullptr, &runtime); //here it crashes
// Create an execution context.
JsCreateContext(runtime, &context);
// Now set the current execution context.
JsSetCurrentContext(context);
// Run the script.
JsRunScriptUtf8(script, currentSourceContext++, "", &result);
// Convert your script result to String in JavaScript; redundant if your script returns a String
JsValueRef resultJSString;
JsConvertValueToString(result, &resultJSString);
// Project script result back to C++.
char *resultWC;
size_t stringLength;
JsStringToPointerUtf8Copy(resultJSString, &resultWC, &stringLength);
//wstring resultW(resultWC);
cout << resultWC << endl;
system("pause");
// Dispose runtime
JsSetCurrentContext(JS_INVALID_REFERENCE);
JsDisposeRuntime(runtime);
```
here is the code and its crahes on JsCreateRuntime in linux I cant figured out what problem is?
and this is the tracing output:
```
1 ThreadContextTLSEntry::InitializeThread ThreadContextTlsEntry.cpp 31 0x7f40a482074d
2 VALIDATE_ENTER_CURRENT_THREAD JsrtHelper.cpp 182 0x7f40a421594a
3 CreateRuntimeCore Jsrt.cpp 95 0x7f40a41a7e96
4 JsCreateRuntime Jsrt.cpp 301 0x7f40a41a88ac
5 main main.cpp 62 0x416594
```
| crashing in even basic tutorial code with JsCreateRuntime() | https://api.github.com/repos/chakra-core/ChakraCore/issues/1792/comments | 4 | 2016-10-20T16:22:59Z | 2016-10-26T13:31:49Z | https://github.com/chakra-core/ChakraCore/issues/1792 | 184,276,789 | 1,792 |
[
"chakra-core",
"ChakraCore"
] | Hi,
I have compiled ChakraCore in Linux but there is no function JsRunScript() in .so library. it is undefined! and it is declareted in ChakraCommonWindows.h how can we use in Linux?
Thanks for any advice...
| JsRunScript() doesn't exist in Linux. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1791/comments | 6 | 2016-10-20T15:22:24Z | 2016-10-20T20:28:56Z | https://github.com/chakra-core/ChakraCore/issues/1791 | 184,260,497 | 1,791 |
[
"chakra-core",
"ChakraCore"
] | In Edge (RS_ONECORE_WEBPLAT.14942) `''+new Proxy(window, {})` doesn't return `[object Window]` but `[object Object]` . That does work properly in Chrome.
Similar issue exists for all other dom types.
| Proxy stringification doesn't work transparently | https://api.github.com/repos/chakra-core/ChakraCore/issues/1772/comments | 3 | 2016-10-18T21:01:09Z | 2017-05-18T21:44:57Z | https://github.com/chakra-core/ChakraCore/issues/1772 | 183,801,867 | 1,772 |
[
"chakra-core",
"ChakraCore"
] | If record and replay happen on different machines the location of the source code may change. However, when we replay our code we give VSCode the original URI for the source, which may not exist on the local machine, during the source load event. This can cause issues if VSCode attempts to access the file URI. As a temporary solution we need to give VSCode the location where the code is actually stored.
| TTD - Script file location for VSCode during debugging | https://api.github.com/repos/chakra-core/ChakraCore/issues/1766/comments | 0 | 2016-10-18T04:09:32Z | 2019-06-07T19:12:46Z | https://github.com/chakra-core/ChakraCore/issues/1766 | 183,585,912 | 1,766 |
[
"chakra-core",
"ChakraCore"
] | We currently disable the JIT during record/replay mode. Need to add code to test for record/replay modes in JIT and generate code to call TTD functionality (recording property enumerations, random number generation, and perhaps others). Then we can remove the ForceNoNative calls.
| TTD - Enable JIT in record and replay | https://api.github.com/repos/chakra-core/ChakraCore/issues/1765/comments | 1 | 2016-10-18T04:00:15Z | 2016-11-08T18:22:47Z | https://github.com/chakra-core/ChakraCore/issues/1765 | 183,584,989 | 1,765 |
[
"chakra-core",
"ChakraCore"
] | The current implementation of TTD assumes that a single ScriptContext is used and recorded/replayed. Partial support for this is already in place, in snapshots all objects, scripts, etc. know which context they belong to, but we do not have all of the CrossSite marshalling in place and do not re-inflate objects to CrossSite representations.
| TTD - Multi-Context support | https://api.github.com/repos/chakra-core/ChakraCore/issues/1764/comments | 1 | 2016-10-18T03:58:03Z | 2016-11-08T18:23:16Z | https://github.com/chakra-core/ChakraCore/issues/1764 | 183,584,736 | 1,764 |
[
"chakra-core",
"ChakraCore"
] | ``` js
(function() {
var x = 1;
(function() {
x = (eval('var x = 20'), 2);
console.log(x == 20); // this should be true
})();
console.log(x == 2); // this should be true
})();
```
Both should print `true`. (Edge/Chrome don't but Firefox does)
see https://tc39.github.io/ecma262/#sec-assignment-operators-runtime-semantics-evaluation
| LHS should be evaluated first in the assignment. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1745/comments | 6 | 2016-10-14T17:08:29Z | 2018-06-06T23:50:22Z | https://github.com/chakra-core/ChakraCore/issues/1745 | 183,102,524 | 1,745 |
[
"chakra-core",
"ChakraCore"
] | RegEx evaluator in Chakra Core seems to perform slowly (takes more than double the time) for large strings compared to Chrome.
Standalone test case to reproduce the issue
http://jsfiddle.net/Lwa0t5rp/3/
Sample test output extract
Chrome: v53.0.2785
regex 1: 2.8100000000000214 regex 2: 1.3566666666666833 ( rows : 4096 string length:2569724)
regex 1: 3.7816666666666756 regex 2: 2.7783333333333453 ( rows : 8192 string length:5146108)
regex 1: 7.228333333333315 regex 2: 6.0666666666666815 ( rows : 16384 string length:10337180)
regex 1: 14.333333333333334 regex 2: 11.303333333333436 ( rows : 32768 string length:20741020)
regex 1: 27.843333333333362 regex 2: 29.471666666666692 ( rows : 65536 string length:41548700)
EDGE: v38.14393.0.0 EdgeHTML 14.14393
regex 1: 5.059881559322018 regex 2: 2.975162459528974 ( rows : 4096 string length:2205180)
regex 1: 9.785139583279791 regex 2: 6.15836259479958 ( rows : 8192 string length:4417020)
regex 1: 19.578437506784894 regex 2: 11.69511229889531 ( rows : 16384 string length:8879004)
regex 1: 44.75823350880349 regex 2: 25.138609542494805 ( rows : 32768 string length:17824668)
regex 1: 78.02833970539177 regex 2: 47.913274211683984 ( rows : 65536 string length:35715996)
IE11 performance is far worse
IE11: v11.187.14393.0
regex 1: 17886.814111784788 regex 2: 5.659022724537256 ( rows : 4096 string length:2205180)
| RegExp: String replace operations using Regular Expressions are slow in EDGE and IE9+ for large strings | https://api.github.com/repos/chakra-core/ChakraCore/issues/1733/comments | 4 | 2016-10-13T04:38:01Z | 2018-06-27T23:26:45Z | https://github.com/chakra-core/ChakraCore/issues/1733 | 182,694,149 | 1,733 |
[
"chakra-core",
"ChakraCore"
] | The usual failure here is that bytecode for with-JIT varieties is regenerated but NoJIT bytecodes are omitted from the regeneration.
If any ByteCode is regenerated it's worth running a script to regenerate all ByteCode and ensure that there are no changes in ByteCode from the version included in the PR. For any build where no bytecode is regenerated, we can ignore this expensive step of regenerating all bytecodes.
Alternatively, we add one flavor of DisableJIT build to every PR, which would definitely catch this kind of issue without needing to add the entire matrix of DisableJIT builds. This would be a relatively inexpensive check to configure and run with the high value of not routinely breaking DisableJIT CI.
/cc @jianchun @tcare @boingoing
---
@boingoing Work items:
- [ ] Create non-Daily Jenkins task for disablejit_x64_debug
- [ ] Enable PR check disablejit_x64_debug (optionally as both a PR and rolling build check, to match all other PR checks)
| Add test to determine whether all ByteCode has been correctly regenerated. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1721/comments | 10 | 2016-10-10T23:46:18Z | 2018-06-28T21:17:11Z | https://github.com/chakra-core/ChakraCore/issues/1721 | 182,141,077 | 1,721 |
[
"chakra-core",
"ChakraCore"
] | The document.write causing the error SCRIPT70: Permission denied if you use a few document.write inside iframe. This error occurs only in the Edge. In all other browsers this error is not observed.
For example:
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SSP-558</title>
</head>
<body>
<script>
document.write("1");
document.write("2");
</script>
<script>
var iframe = document.createElement("iframe");
iframe.width = window.outerWidth;
iframe.height = window.outerHeight;
iframe.onload = function () {
var doc = iframe.contentWindow.document;
var script = doc.createElement("script");
script.type = "text/javascript";
script.text = [
'document.write("1");',
'document.write("2");'
].join("");
doc.body.appendChild(script);
};
document.body.appendChild(iframe);
</script>
</body>
</html>
```
This code will display 12 on the page and in iframe, but it cause an error and displays only 1 inside iframe in Edge.
| The problem with document.write in iframe in Edge | https://api.github.com/repos/chakra-core/ChakraCore/issues/1718/comments | 4 | 2016-10-10T07:41:35Z | 2016-10-12T20:09:58Z | https://github.com/chakra-core/ChakraCore/issues/1718 | 181,952,691 | 1,718 |
[
"chakra-core",
"ChakraCore"
] | Today, if a type is `SimpleDictionaryTypeHandler` and is locked, properties added on it will evolve it to new type. 2 problems with that. We are introducing newer types in the runtime which will have less probability of types finding in cache. When we transition to new type, we do allocation to hold properties and then copy all the properties from old type to new type. So there is a memory as well as performance hit.
This issue is to evaluate if type transition is needed for `SimpleDictionaryTypeHandler` and if does, then come up with a solution that will avoid type transitions most of the time.
| Evaluate type transitions for adding properties on SimpleDictionaryTypeHandler | https://api.github.com/repos/chakra-core/ChakraCore/issues/1714/comments | 1 | 2016-10-07T22:33:44Z | 2019-06-07T19:01:28Z | https://github.com/chakra-core/ChakraCore/issues/1714 | 181,781,266 | 1,714 |
[
"chakra-core",
"ChakraCore"
] | Today if we are in `PathTypeHandler` and we delete a property we go to `SimpleDictionaryTypeHandler`. Having a type in `SimpleDictionaryTypeHandler` is expensive both performance and memory wise when it comes to adding properties. Most of the time, it evolves new type when properties are added and it is less likely to get shared. Optimize so that if we are deleting last property then transition to previous type of `PathTypeHandler`.
| Optimize deleting last property on an object | https://api.github.com/repos/chakra-core/ChakraCore/issues/1713/comments | 2 | 2016-10-07T22:30:11Z | 2016-11-14T19:07:12Z | https://github.com/chakra-core/ChakraCore/issues/1713 | 181,780,836 | 1,713 |
[
"chakra-core",
"ChakraCore"
] | Reported in nodejs/node-chakracore#118
The following snippet has incorrect bytecode generated when run with /ForceDeferParse:
```
function f(a) {
[0].forEach(function() {
return {a};
});
}
f();
```
The use of a in the nested anonymous function is not detected as a non-local reference at parse time, and so a StSlot is not generated for a in f's bytecode, and in the anonymous function, a's looked up using LdRootSlot
| Missing detection of non-local reference when using "object shorthand" syntax | https://api.github.com/repos/chakra-core/ChakraCore/issues/1705/comments | 1 | 2016-10-06T18:21:39Z | 2016-10-06T23:29:15Z | https://github.com/chakra-core/ChakraCore/issues/1705 | 181,489,145 | 1,705 |
[
"chakra-core",
"ChakraCore"
] | When running scripts on chakracore, can chakracore use javascript library?
`var javascript = "src="/application/html/js/josdejong/mathjs/math.min.js"" +`
`"var parser = math.parser();" +`
`"parser;"`
`Engine.EvaluateScriptText(javascript);`
It is possible?
| using javascript source library | https://api.github.com/repos/chakra-core/ChakraCore/issues/1702/comments | 2 | 2016-10-06T15:13:44Z | 2016-11-15T22:17:50Z | https://github.com/chakra-core/ChakraCore/issues/1702 | 181,443,519 | 1,702 |
[
"chakra-core",
"ChakraCore"
] | The iterator.value test contains a single value. Are there plans to change this to an array where the first item in array is the index and second item in the array is the value? [test/es6/generators-functionality.js](https://github.com/Microsoft/ChakraCore/blob/master/test/es6/generators-functionality.js)
| Iterator value | https://api.github.com/repos/chakra-core/ChakraCore/issues/1679/comments | 2 | 2016-10-02T05:49:12Z | 2017-03-03T09:28:02Z | https://github.com/chakra-core/ChakraCore/issues/1679 | 180,497,053 | 1,679 |
[
"chakra-core",
"ChakraCore"
] | A few time I've seen ubuntu_linux_release_static fail with this same error (and pass after rerunning):
```
Scanning dependencies of target Chakra.Runtime.Language
[ 57%] Built target Chakra.Parser
[ 57%] Building CXX object lib/Runtime/ByteCode/CMakeFiles/Chakra.Runtime.ByteCode.dir/OpCodeUtilAsmJs.cpp.o
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Runtime/Debug/TTSerialize.cpp:5:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Runtime/Debug/RuntimeDebugPch.h:7:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Runtime/./Runtime.h:7:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Common/Common.h:7:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Common/CommonMinMemory.h:7:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Common/CommonMin.h:7:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Common/CommonBasic.h:11:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/lib/Common/CommonPal.h:93:
In file included from /mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/pal/inc/rt/palrt.h:900:
[1m/mnt/j/workspace/Microsoft_ChakraCore/master/ubuntu_linux_release_static_prtest/pal/inc/safemath.h:47:10: [0m[0;1;31mfatal error: [0m[1m'type_traits' file not found[0m
#include <type_traits>
[0;1;32m ^
```
| [CI] [Jenkins] Ubuntu build occasionally fails on dependency issue | https://api.github.com/repos/chakra-core/ChakraCore/issues/1678/comments | 20 | 2016-10-01T21:22:17Z | 2017-04-26T20:43:51Z | https://github.com/chakra-core/ChakraCore/issues/1678 | 180,481,032 | 1,678 |
[
"chakra-core",
"ChakraCore"
] | For below test case, we keep bailing out and rejitting for same reason.
``` js
function test(object) {
var value = object.x;
if (value && value.test) { // bailout happens here
value.test();
}
return value;
}
for (var i = 0; i < 40000; i++) {
var obj = {};
if (i == 0) {
obj.x = {};
} else {
obj.x = 1;
}
test(obj);
}
print('done');
```
``` batch
$ ch e:\temp\test.js -mic:1 -off:Simplejit -stats:rejit
done
Bailout Reason, Count
BailOutOnTaggedValue, 39999
TOTAL, 39999
Rejit Reason, Count
FailedTagCheck, 100
TOTAL, 100
```
| Perf: Too many bailouts/rejits for FailedTagCheck | https://api.github.com/repos/chakra-core/ChakraCore/issues/1671/comments | 2 | 2016-09-30T22:01:13Z | 2016-11-30T20:01:59Z | https://github.com/chakra-core/ChakraCore/issues/1671 | 180,411,337 | 1,671 |
[
"chakra-core",
"ChakraCore"
] | Behavior implemented in https://github.com/Microsoft/ChakraCore/issues/1333 is that `Date.UTC(x)` and `Date.UTC()` where `typeof x === number` returns NaN.
Spec semantics will be updated (see https://github.com/tc39/ecma262/pull/642) so that `Date.UTC()` returns NaN and `Date.UTC(2017) === Date.UTC(2017, 0)`.
- 0-argument case works according to spec.
- 1-argument case needs to be updated.
See:
https://github.com/tc39/ecma262/pull/642
https://github.com/Microsoft/ChakraCore/issues/1318 (issue)
https://github.com/Microsoft/ChakraCore/pull/1333 (PR)
/cc @bterlson
| Date.UTC(x) [single-argument case] semantics update | https://api.github.com/repos/chakra-core/ChakraCore/issues/1665/comments | 3 | 2016-09-29T21:22:11Z | 2016-10-03T19:09:26Z | https://github.com/chakra-core/ChakraCore/issues/1665 | 180,166,538 | 1,665 |
[
"chakra-core",
"ChakraCore"
] | ``` js
let p = new Proxy({}, {});
let wm = new WeakMap();
wm.set(p, 1);
print(wm.get(p));
/*
┌─────────────────────┬───────────┐
│ chakra │ undefined │
│ chakra-es6 │ │
│ chakra-experimental │ │
├─────────────────────┼───────────┤
│ d8 │ 1 │
│ jsc │ │
│ sm │ │
└─────────────────────┴───────────┘
*/
```
| Proxies cannot be added to WeakMaps | https://api.github.com/repos/chakra-core/ChakraCore/issues/1662/comments | 8 | 2016-09-29T19:53:35Z | 2016-11-16T23:35:21Z | https://github.com/chakra-core/ChakraCore/issues/1662 | 180,145,867 | 1,662 |
[
"chakra-core",
"ChakraCore"
] | Global.global (eg. window.global in the browser, or this.global in ch.exe/etc) got stage 3 today. Let's get an implementation going!
Spec: https://github.com/tc39/proposal-global
| Implement global.global | https://api.github.com/repos/chakra-core/ChakraCore/issues/1658/comments | 5 | 2016-09-28T23:35:47Z | 2019-02-01T04:06:55Z | https://github.com/chakra-core/ChakraCore/issues/1658 | 179,918,004 | 1,658 |
[
"chakra-core",
"ChakraCore"
] | Hi, I set to global variable to engine. And i write a script. Script run integer, string parameter. but can not run array parameter. How i can run with array parameter?
Example;
SetGlobalVarable:
` Engine.AddTypeToGlobal<XMLHttpRequest>();
Engine.AddTypeToGlobal<ScriptInput>();
Engine.SetGlobalFunction("echo", Echo);
```
var scriptInput = new ScriptInput()
{
numbers = new int[2],
texts = new string[3]
};
scriptInput.numbers[0] = 5;
scriptInput.texts[0] = "test";
scriptInput.value = "1234";
Engine.SetGlobalVariable("scriptInput", Engine.Converter.FromObject(scriptInput));`
```
Run Script:
`var fn = Bag.Engine.EvaluateScriptText(csriptContent);
var javaScriptValue = fn.Invoke(Enumerable.Empty<JavaScriptValue>());`
Script:
`function myFunction() {
var output = scriptInput.value;
return output;
}
myFunction();`
this script return value succesfully,
`function myFunction() {
var output = scriptInput.numbers;
return output;
}
myFunction();`
this script return undefined. How i fixed?
| global variable parameters array cannot be runned | https://api.github.com/repos/chakra-core/ChakraCore/issues/1656/comments | 2 | 2016-09-28T13:31:11Z | 2016-11-15T22:51:08Z | https://github.com/chakra-core/ChakraCore/issues/1656 | 179,773,314 | 1,656 |
[
"chakra-core",
"ChakraCore"
] | When using the flag -simplejitafter:1 (or flags that imply it), it is possible for stack frame argument type information to be marked as having a global caller for every frame. This is most easily visible in debugging output; functions with global callers are printed in backtraces without any arguments (or the simple "()" to indicate no arguments). The cause is likely something in how jitted functions construct stack frame objects.
| StackTraceArguments are set to be from a global context too often in some cases | https://api.github.com/repos/chakra-core/ChakraCore/issues/1645/comments | 1 | 2016-09-27T01:05:55Z | 2019-06-07T19:00:32Z | https://github.com/chakra-core/ChakraCore/issues/1645 | 179,374,581 | 1,645 |
[
"chakra-core",
"ChakraCore"
] | Hi,
i wrote javascript to invoke c# function. c# function invoke new thread to web request. Web request gets string result.
When converting string to JavascriptValue in second thread. i get an exception.
Javascript
`var fn = engine.EvaluateScriptText(@"(function() {`
`webRequest('GET', 'http://www.w3schools.com/xml/xmlhttp_info.txt');`
`})();");`
C# function
`private static JavaScriptValue webRequest(JavaScriptEngine engine, bool construct, JavaScriptValue thisValue, IEnumerable<JavaScriptValue> arguments)
{
```
var httpMethod = arguments.First().ToString();
var httpUrl = arguments.ToList()[1];
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = () =>
{
if (xhttp.readyState == 4)
{
webServiceOutput = _javaScriptConverter.FromInt32(19);
**webServiceOutput = _javaScriptConverter.FromString(httpUrl.ToString());**
}
```
};
xhttp.open(httpMethod, httpUrl.ToString());
xhttp.send("");
return engine.UndefinedValue;
}`
Exception ErrorMessage : JsErrorNoCurrentContext
help me please
| ChakraCore c# function multithread | https://api.github.com/repos/chakra-core/ChakraCore/issues/1633/comments | 2 | 2016-09-23T14:59:11Z | 2016-11-15T22:51:01Z | https://github.com/chakra-core/ChakraCore/issues/1633 | 178,899,425 | 1,633 |
[
"chakra-core",
"ChakraCore"
] | I have written code that saves information about a javascript range, and another routine that uses that information to re-create that range.
I find that when I save a range in Microsoft Edge, Google Chrome can reconstruct it.
However, the converse is not true.
When I save a range in Chrome, Microsoft Edge cannot reconstruct it.
My code does work. If I use it in Edge exclusively, I can save and recreate ranges. Likewise in Chrome exclusively. And as I said, it can take a range that was saved in EDGE, and reconstruct it in Chrome, so it works partly cross-browser. But only partly. You can't do the reverse. I'll add more info later.
| Chrome can reconstruct Edge (javascript) Ranges, but not vice versa | https://api.github.com/repos/chakra-core/ChakraCore/issues/1632/comments | 3 | 2016-09-23T10:30:42Z | 2017-05-17T20:52:13Z | https://github.com/chakra-core/ChakraCore/issues/1632 | 178,841,721 | 1,632 |
[
"chakra-core",
"ChakraCore"
] | It would be nice if ChakraCore could detect phases of program execution and optimize accordingly.
I may be working on this for an academic project.
| Phase detection | https://api.github.com/repos/chakra-core/ChakraCore/issues/1628/comments | 5 | 2016-09-22T23:05:49Z | 2018-02-27T22:04:19Z | https://github.com/chakra-core/ChakraCore/issues/1628 | 178,743,260 | 1,628 |
[
"chakra-core",
"ChakraCore"
] | Bug was initially externally reported. LouisL identified the issue as not being a security bug, and as being one with the unsigned compare peep:
"
We emit:
```
s13.var = ShrU_A s12.var, s2.var #000a
s6.var = ShrU_A s4.var, s2.var #000e
ByteCodeUses s6, s13 #0012
s14.var = CmUnGt_A s12.var, s4.var #0012
```
And I believe we should emit:
```
s13.var = ShrU_A s12.var, s2.var #000a
s6.var = ShrU_A s4.var, s2.var #000e
s14.var = CmUnGt_A s12.var, s4.var #0012
ByteCodeUses s6, s13 #0012
```
"
Steps to reproduce:
Run the following code:
function t(f,i){
for(var j=0;i.length;++j) {
for(var k=0;i.length;++k){
try{
(f([j],[k]))
}catch(e){}
}
}
}
m=function(x,y){
(
((Math.co0>>>0)>(y>>>0))=ddd
);
};
t(m,[[]])
| Null pointer dereference issue with unsigned compare peep | https://api.github.com/repos/chakra-core/ChakraCore/issues/1627/comments | 2 | 2016-09-22T01:42:27Z | 2016-09-28T02:47:23Z | https://github.com/chakra-core/ChakraCore/issues/1627 | 178,501,434 | 1,627 |
[
"chakra-core",
"ChakraCore"
] | In PathTypeHandler.cpp line 1470 has the call below which eventually ends up modifying the hasNoEnumerableProperties flag of the newPrototype object due to an "internal property" being added to the newPrototype object.
```
newPrototype->SetInternalProperty(Js::InternalPropertyIds::TypeOfPrototypeObjectDictionary, (Var)oldTypeToPromotedTypeMap, PropertyOperationFlags::PropertyOperation_Force, nullptr);
```
If the newPrototype object has hasNoEnumerableProperties as true, then this will call down through SimpleDictionaryTypeHandler.cpp line 1325 which adds the internal property with the default set of attribute flags:
```
return this->AddProperty(instance, propertyRecord, value, PropertyDynamicTypeDefaults, info, flags, SideEffects_Any);
```
This will then reach line 2609 which checks and sets hasNoEnumerableProperties as false:
```
if (attributes & PropertyEnumerable)
{
instance->SetHasNoEnumerableProperties(false);
}
```
| PathTypeHandlerBase::SetPrototype changes hasNoEnumerableProperties of newPrototype | https://api.github.com/repos/chakra-core/ChakraCore/issues/1622/comments | 2 | 2016-09-21T22:58:26Z | 2017-08-26T01:25:43Z | https://github.com/chakra-core/ChakraCore/issues/1622 | 178,482,807 | 1,622 |
[
"chakra-core",
"ChakraCore"
] | I am trying to read and understand ChakraCore architecture. In process of doing that, when I want to change or fix small part of ChakraCore runtime, I have to run tests or something, which is unnecessary for most of the time.
I am developing small REPL inside of ChakraCore project which could be helpful to many people (I think) so every time I am trying something new or messing with something I can run and test it simply inside Visual Studio without going through all the pain of testing and other stuff. It is for my own usage right now, but we can work on it to make it something better and ultimately adding it to main repo.
What is your opinion to add small REPL like subproject (or it could be "-repl" flag for ch.exe) ?
| Adding small REPL for development purpose | https://api.github.com/repos/chakra-core/ChakraCore/issues/1619/comments | 19 | 2016-09-21T20:04:23Z | 2020-10-05T14:39:42Z | https://github.com/chakra-core/ChakraCore/issues/1619 | 178,449,012 | 1,619 |
[
"chakra-core",
"ChakraCore"
] | I noticed that the current system for integrating ChakraCore using CMake is not exactly one of the most friendly. All this really boils down to is simplifying the auto-detection for CMake to where all of the platform dependent configuration is handled easily, and build options are easily configured by ChakraCore. In general this can be broken down into several tasks.
- [ ] Improve CMake build configuration on linux/OS X
- [x] add basic Platform Detection options to cmake. [1]
- [ ] Use find_package command on non-windows systems[2]
- [x] locate libunwind using find_package.
- [ ] locate libuuid using find_package.
- [x] locate ICU Common library and Data files ( icu-uc ) using find_package
- [x] locate ICU Internationalization library (icu-i18n) using find_package
- [ ] add CPack support [3] [4]
- [ ] Add more configuration options to CMAKE.
- [ ] rename ChakraCore specific options/defines.
- [ ] add option to Disable ChakraCore install options.
- [ ] add option to Disable ChakraCore programs.
- [x] add option to Disable ChakraCore JIT features
- [ ] Implement ChakraCore embedding using CMake in a fashion similar to GLFW. [5]
- [x] add configuration option for embedding ChakraCore through CMake.
- [x] add a custom target to copy ChakraCore.h, ChakraCommon.h, ChakraCommonWindows.h and ChakraDebug.h to a different folder when ChakraCore embedding option is true. [6]
- [x] Verify embedded ChakraCore using CMake works on Linux.
- [ ] Verify embedded ChakraCore using CMake works on OS X.
- [ ] Verify embedded ChakraCore using CMake works on Windows. [7]
[1] [CMake Wiki: How To Write Platform Checks](https://cmake.org/Wiki/CMake:How_To_Write_Platform_Checks)
[2] [CMake Wiki: How To Find Libraries](https://cmake.org/Wiki/CMake:How_To_Find_Libraries)
[3] CPack is highly useful for when users want to generate installable packages using for chakra.
[3] [CMake Wiki: Packaging With CPack](https://cmake.org/Wiki/CMake:Packaging_With_CPack)
[4] [GLFW: Building Applications](http://www.glfw.org/docs/latest/build_guide.html)
[5] For Simplicity's sake, this target will create the folder ${CMAKE_BINARY_DIR}/include, and then proceed to copy these headers to the newly created folder during configuration.
[6] Most developers on windows will probably never use this option, but this should be a fairly straight forward fix.
| Feature Request: Enable ChakraCore embedding using CMake. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1616/comments | 22 | 2016-09-21T12:22:49Z | 2020-04-01T06:42:20Z | https://github.com/chakra-core/ChakraCore/issues/1616 | 178,330,885 | 1,616 |
[
"chakra-core",
"ChakraCore"
] | ## OverView
This is mainly a request to implement a some new language features found in the C++ 2011 and C 2011 specifications. These data types are useful in cases where the application embedding the JavaScript Runtime is C++11 aware. These data types can also be used to help access standardised methods to convert between data types. The current Wide character (wchar_t) [1] is a redefinition away from whatever the current environment supports. This could cause unexpected behavior because platforms can expect this data type to generally range anywhere from 8-bits to 32-bits. This generally leads to a lot of portability problems. This Feature request is fairly straight forward in Implementation on platforms implementing the current standard, and can be safeguarded when on a platform not supporting these features.
[1] [Wikipedia: Wide character](https://en.wikipedia.org/wiki/Wide_character)
## New Data Types
### UTF-16 charaters sequences ( char16_t )
If `__STD_UTF_16__` is defined, The native c/c++ library definition for char16_t is used. If `__STD_UTF_16__` is not defined, this data type will instead be defined as int16_t.
### UTF-32 character (char32_t)
If `__STD_UTF_32__` is defined, The native c/c++ library definition for char32_t is used. If `__STD_UTF_32__` is not defined, this data type will instead be defined as int32_t.
## New Error Code
**JsErrorNotSupported** is a generic error code for when the current Chakra runtime cannot handle the request due to the build options. For example error is returned when the c/c++ library does not support the char32_t and/or char16_t data types, and an application tries to call a function that expects these data types.
## New Functions
There is a lot of new functions in this request. In general these functions are simply a one to one map to the original function with the main difference being that these functions expect char16_t (for UTF-16 Functions), and char32_t (for UTF-32 functions).
| Original Function | UTF-16 Function [1] | UTF-32 Function [2][3] |
| --- | --- | --- |
| JsRunScript | JsRunScriptUtf16 | JsRunScriptUtf32 |
| JsSerializeScript | JsSerializeScriptUtf16 | JsSerializeScriptUtf32 |
| JsRunSerializedScript | JsRunSerializedScriptUtf16 | JsRunSerializedScriptUtf32 |
| JsGetPropertyIdFromName | JsGetPropertyIdFromNameUtf16 | JsGetPropertyIdFromNameUtf32 |
| JsDiagEvaluate | JsDiagEvaluateUtf16 | JsDiagEvaluateUtf32 |
| JsParseScript | JsParseScriptUtf16 | JsParseScriptUtf32 |
| JsParseScriptWithAttributes | JsParseScriptWithAttributesUtf16 | JsParseScriptWithAttributesUtf32 |
| JsStringToPointer | JsStringToPointerUtf16 | JsStringToPointerUtf32 |
| JsPointerToString | JsPointerToStringUtf16 | JsPointerToStringUtf32 |
| JsGetPropertyNameFromId | JsGetPropertyNameFromIdUtf16 | JsGetPropertyNameFromIdUtf32 |
1. UTF-16 Functions return JsErrorNotSupported only when the C/C++ Library does not define `__STD_UTF_16__`. By default support for these functions are enabled as long as the C/C++ library has char16_t support.
2. UTF-32 Functions are disabled by default.
3. UTF-32 Support can be enabled if the C/C++ library defines `__STD_UTF_32__`, and the Chakra library is built with UTF-32 support enabled.
| Feature Request: Implement char16_t and char32_t functions. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1614/comments | 7 | 2016-09-21T00:29:52Z | 2018-02-27T22:09:50Z | https://github.com/chakra-core/ChakraCore/issues/1614 | 178,215,215 | 1,614 |
[
"chakra-core",
"ChakraCore"
] | Hi,
i try to add c# class to chakracore context. After i want to invoke from javascript.
How can i do it?
| How can I expose a C# class or method to JS code? | https://api.github.com/repos/chakra-core/ChakraCore/issues/1609/comments | 12 | 2016-09-20T12:48:10Z | 2016-11-02T23:25:27Z | https://github.com/chakra-core/ChakraCore/issues/1609 | 178,050,021 | 1,609 |
[
"chakra-core",
"ChakraCore"
] | https://github.com/Microsoft/ChakraCore/wiki/Build-Status#builds-with-slow-tests
**Daily Slow**
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_slow_x86_debug/165/
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_slow_x86_test/157/
**Legacy**
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x86_debug/151/
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x86_test/148/
**Failures in tests:**
test\inlining\InlineConstructors.baseline
| [Windows {Slow, Legacy}]: x86 {debug, test} InlineConstructors.baseline test failure | https://api.github.com/repos/chakra-core/ChakraCore/issues/1602/comments | 1 | 2016-09-19T20:47:48Z | 2016-09-23T22:18:38Z | https://github.com/chakra-core/ChakraCore/issues/1602 | 177,893,530 | 1,602 |
[
"chakra-core",
"ChakraCore"
] | IE version 11.0.10240.17113 (Update versions: 11.0.35 (KB3185319)) - window.location.origin can no longer be accessed (it works on an earlier build). We use it to construct links on our app so obviously they no longer work.
| window.location.origin cannot be accessed | https://api.github.com/repos/chakra-core/ChakraCore/issues/1600/comments | 1 | 2016-09-19T13:43:12Z | 2016-09-19T18:06:17Z | https://github.com/chakra-core/ChakraCore/issues/1600 | 177,787,994 | 1,600 |
[
"chakra-core",
"ChakraCore"
] | We have some minor issues while compiling CC on x86 Posix.
| xplat: Fix Posix build issues [x86] | https://api.github.com/repos/chakra-core/ChakraCore/issues/1597/comments | 0 | 2016-09-17T10:36:55Z | 2018-05-16T22:32:41Z | https://github.com/chakra-core/ChakraCore/issues/1597 | 177,568,764 | 1,597 |
[
"chakra-core",
"ChakraCore"
] | Code signed PIE but used in Js::ScriptContext::ProfileModeDeferredParsingThunk::RecyclableObject::CallInfo
| xplat: Fix absolute addressing issue [clang] [x86] | https://api.github.com/repos/chakra-core/ChakraCore/issues/1596/comments | 2 | 2016-09-17T10:34:59Z | 2016-11-04T05:12:26Z | https://github.com/chakra-core/ChakraCore/issues/1596 | 177,568,693 | 1,596 |
[
"chakra-core",
"ChakraCore"
] | I read that __register_frame/__deregister_frame on OSX works differently than Linux. On Linux they take full ".eh_frame", but on OSX they take 1 FDE. Needs to verify and fix accordingly to turn on jit on OSX.
#1591 builds with `--no-jit` and runs `disable_jit` test variant on OSX.
| xplat: enable jit on OSX | https://api.github.com/repos/chakra-core/ChakraCore/issues/1595/comments | 4 | 2016-09-17T01:54:08Z | 2016-11-08T04:44:53Z | https://github.com/chakra-core/ChakraCore/issues/1595 | 177,549,515 | 1,595 |
[
"chakra-core",
"ChakraCore"
] | `AsmJs/constloads.js` depends on ArrayBuffer out of bound access recovery feature. Needs xplat implementation to re-enable this test. Excluded by #1591.
| xplat: ArrayBuffer oob access recovery [JIT] [ASMJS] | https://api.github.com/repos/chakra-core/ChakraCore/issues/1594/comments | 2 | 2016-09-17T01:50:26Z | 2017-01-12T12:37:17Z | https://github.com/chakra-core/ChakraCore/issues/1594 | 177,549,369 | 1,594 |
[
"chakra-core",
"ChakraCore"
] | With "-Test" build, there is one weird PDT/PST error (from mktime call) during the loop of test cases. Excluded in #1591.
| xplat: Date/formatting.js fails with jit on | https://api.github.com/repos/chakra-core/ChakraCore/issues/1593/comments | 1 | 2016-09-17T01:46:29Z | 2017-01-27T23:02:02Z | https://github.com/chakra-core/ChakraCore/issues/1593 | 177,549,204 | 1,593 |
[
"chakra-core",
"ChakraCore"
] | UnInitialization code originally in DllMain(DETACH_PROCESS) isn't available on xplat.
- static lib: missing. ATTACH_PROCESS initialization is simulated in Jsrt entry, but DETACH_PROCESS uninitialization is missing.
- shared lib: essentially missing as well. Manually called by CH (used to be called during PAL FreeLibrary, changed to manually calling DllMain by jit PR).
One job done in DETACH_PROCESS uninitialization is emitting dynamic profile cache file. After jit PR, "static lib" builds fail to emit dynamic profile files in "interpreter" runs due to this issue, causing "dynapogo" test variant failing to load dynamic profile inputs. This results in 2 seconds for each unit test (10+ minutes total) as the code repeatedly retry loading the dynamic profile input file.
| xplat: DETACH_PROCESS code missing | https://api.github.com/repos/chakra-core/ChakraCore/issues/1592/comments | 1 | 2016-09-17T01:39:40Z | 2016-11-23T01:03:08Z | https://github.com/chakra-core/ChakraCore/issues/1592 | 177,548,933 | 1,592 |
[
"chakra-core",
"ChakraCore"
] | Hi again,
I think I found a bug:
``` c++
const char *initialString {"989F2EAE-123B-44E5-B437-7E3BB923A611"};
std::cout << "Initial string is: " << initialString << "\n";
JsValueRef uuid;
JsPointerToStringUtf8(initialString, sizeof(initialString), &uuid);
char *decodedString;
size_t length;
JsStringToPointerUtf8Copy(uuid, &decodedString, &length);
std::cout << "Decoded string is: " << decodedString << ", length is: " << length << "\n";
```
On my machine, the output is:
```
Initial string is: 989F2EAE-123B-44E5-B437-7E3BB923A611
Decoded string is: 989F2EAE, length is: 8
```
Seems it shrinks initial input while converting. I'd like to send a PR, could you be so kind to point me the place where I can fix it (I'm not familiar with ChakraCore yet)?
| Wrong string encoding/decoding | https://api.github.com/repos/chakra-core/ChakraCore/issues/1589/comments | 2 | 2016-09-16T18:02:19Z | 2016-09-16T23:05:36Z | https://github.com/chakra-core/ChakraCore/issues/1589 | 177,485,197 | 1,589 |
[
"chakra-core",
"ChakraCore"
] | Method resolution for invoking superclass differs between "super.f()" and "super.f.apply(this)".
In Chakra the code below produces:
Normal: A
Error: Out of stack space
V8 produces A for both invocation methods. This issue impacts the [jsdom](https://www.npmjs.com/package/jsdom) npm package.
```
class A {
constructor() {
this.x = 'A';
}
doitNormal() {
return 'A';
}
doitApply() {
return 'A';
}
}
class B extends A {
constructor() {
super();
}
doit() {
}
doitNormal() {
return super.doitNormal(this);
}
doitApply() {
return super.doitApply.apply(this);
}
}
var b = new B();
console.log("Normal: " + b.doitNormal());
console.log("Apply: " + b.doitApply());
```
| ES6 super class resolution with apply | https://api.github.com/repos/chakra-core/ChakraCore/issues/1586/comments | 0 | 2016-09-16T00:15:41Z | 2016-09-22T22:19:42Z | https://github.com/chakra-core/ChakraCore/issues/1586 | 177,320,572 | 1,586 |
[
"chakra-core",
"ChakraCore"
] | Dear Madam/Sir,
we experienced following problem in the Edge web browser (v14.14393). We are using JavaScript ES6 (converted from TypeScript) in our web application and when we create a lot of instances of any class (for example 200-300 instances) then we receive error Object doesn't support property or method 'Add' which does not make sense to us. This functionality works fine in other tested browsers (Google Chrome, Mozilla Firefox). Thank you for fixing this bug.
Run JS file in the attachment to reproduce the bug.
[EdgeBugTestCase.zip](https://github.com/Microsoft/ChakraCore/files/474188/EdgeBugTestCase.zip)
| Create a lot of instances - error Object doesn't support property or method 'Add' | https://api.github.com/repos/chakra-core/ChakraCore/issues/1583/comments | 6 | 2016-09-15T09:01:23Z | 2016-09-19T19:34:07Z | https://github.com/chakra-core/ChakraCore/issues/1583 | 177,124,177 | 1,583 |
[
"chakra-core",
"ChakraCore"
] | Hi there,
I'm getting `JsErrorNoCurrentContext` error while error is definitely there (see screenshot below). The flow is following: in the main thread I spawn a ChakraCore thread. When JS invokes one of my custom functions, I use `dispatch_async` to call something in main thread. After work is done, I need to invoke a callback which I pass from the JS. Unfortunately, in 90% of my attempts I get random errors like no context or wrong arguments. Don't really get what happens under the hood. Seems that behavior is absolutely unpredictable.
What do I do wrong?

P.S. I have a feeling that I hold a void \* to the memory which has been rewritten (for some unknown reason). That may explain why it works in ~10% cases
| Getting JsErrorNoCurrentContext while trying to invoke a callback block | https://api.github.com/repos/chakra-core/ChakraCore/issues/1576/comments | 8 | 2016-09-13T21:55:26Z | 2016-09-16T14:19:47Z | https://github.com/chakra-core/ChakraCore/issues/1576 | 176,760,621 | 1,576 |
[
"chakra-core",
"ChakraCore"
] | How does one use the Jsrt API to connect to an external object model? The Chakra Edge version has minimal support for this in that it allows a COM object (in a VARIANT) as a value, however this appears to have been removed from ChakraCore and I can't see any equivalent object interface. I see a few references in the ChakraCore source code to hooks for calling hosted objects, but these appear not to be used in the current version.
I have a technical application that has made use of the old IE JS engine. We have a large object model implemented as a set of COM objects. I would prefer to update to ChakraCore for obvious reasons, but I need the ability to use external objects. A COM interface would be great but any equivalent object structure is fine. Am I missing something?
| [Question] Making host object model available in JS | https://api.github.com/repos/chakra-core/ChakraCore/issues/1573/comments | 2 | 2016-09-13T05:06:36Z | 2016-11-15T23:01:24Z | https://github.com/chakra-core/ChakraCore/issues/1573 | 176,550,375 | 1,573 |
[
"chakra-core",
"ChakraCore"
] | Hello, world!
I'm experiencing a bit weird behavior. My case is about invoking a callback function:
``` js
Native.foo(function bar(p) {
return p;
});
```
As you may guess, `Native` is a host object with a custom `foo` function as a callback parameter. I want to invoke this function with a text "test":
``` objc++
JsValueRef foo(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState) {
JsValueRef val;
JsValueRef undefined;
JsGetUndefinedValue(&undefined);
const char *text = "test";
JsPointerToStringUtf8(text, sizeof(text), &val);
JsValueRef args[] = { undefined, val };
JsErrorCode error = JsCallFunction(arguments[1], args, sizeof(args) / sizeof(*args)+1, &result);
}
```
This code works on my OS X, although I don't get why I need to access arguments from index 1 (what's wrong with 0?) and supply index 0 (it should be a JsValueRef with a proper value) for my `args` object that I construct to pass into callback function. It took me quite a while to grasp what I do wrong (there is a pretty big room for documentation improvements).
| JsCallFunction's arguments offset(?) | https://api.github.com/repos/chakra-core/ChakraCore/issues/1572/comments | 3 | 2016-09-13T00:13:17Z | 2016-09-13T19:45:32Z | https://github.com/chakra-core/ChakraCore/issues/1572 | 176,516,694 | 1,572 |
[
"chakra-core",
"ChakraCore"
] | Hey,
I'm wondering if it's possible to use F12 debug tool for debugging a desktop application (OSX) with ChakraCore on board
| F12 dev tools for ChakraCore | https://api.github.com/repos/chakra-core/ChakraCore/issues/1563/comments | 5 | 2016-09-09T02:39:12Z | 2017-09-28T05:23:59Z | https://github.com/chakra-core/ChakraCore/issues/1563 | 175,913,597 | 1,563 |
[
"chakra-core",
"ChakraCore"
] | @digitalinfinity @obastemur
@obastemur mentioned [here](https://github.com/Microsoft/ChakraCore-wiki/pull/12#discussion_r77953975) that `--static` is no longer required for OSX builds. Should I go ahead and add the non-static version of OSX builds to our CI checks?
@mmitche Just want to double check that we won't cause capacity issues if we double the load of OSX builds?
| OSX Non-Static CI Tests | https://api.github.com/repos/chakra-core/ChakraCore/issues/1562/comments | 14 | 2016-09-09T01:30:53Z | 2016-11-09T18:39:27Z | https://github.com/chakra-core/ChakraCore/issues/1562 | 175,905,328 | 1,562 |
[
"chakra-core",
"ChakraCore"
] | On Microsoft Edge, make a request to a http server (vert.x for me) and close the browser, you will get "An existing connection was forcibly closed by the remote host" exception. There is no issue with other browsers.
If you make two requests from seperate tabs and close just one tab nothing happens.
If you make two requests from seperate tabs and close Windows Edge you get two exceptions.
Can be related with non-closed connections on process exit.
| An existing connection was forcibly closed by the remote host | https://api.github.com/repos/chakra-core/ChakraCore/issues/1560/comments | 1 | 2016-09-08T20:36:31Z | 2016-09-08T23:07:20Z | https://github.com/chakra-core/ChakraCore/issues/1560 | 175,857,750 | 1,560 |
[
"chakra-core",
"ChakraCore"
] | ``` js
function foo () {
// these examples should be early errors (ie. we don't print 1).
eval('print(1); super();');
eval('print(1); super.foo();');
}
foo();
/*
┌─────────────────────┬─────────────────────────────────────────────────────────────────────┐
│ d8 │ │
│ │ SyntaxError: 'super' keyword unexpected here │
├─────────────────────┼─────────────────────────────────────────────────────────────────────┤
│ chakra-es6 │ 1 │
│ chakra-experimental │ ReferenceError: 'super' can only be accessed from a subclass method │
│ chakra │ │
├─────────────────────┼─────────────────────────────────────────────────────────────────────┤
│ sm │ │
│ │ SyntaxError: super() is only valid in derived class constructors: │
├─────────────────────┼─────────────────────────────────────────────────────────────────────┤
│ jsc │ │
│ │ SyntaxError: super is not valid in this context. │
└─────────────────────┴─────────────────────────────────────────────────────────────────────┘
*/
```
Our implementation is in line with the current spec but not (I believe) with the spec's intent or other implementations. I have a [262 PR](https://github.com/tc39/ecma262/pull/685) codifying this.
| super inside eval inside functions should be an early error | https://api.github.com/repos/chakra-core/ChakraCore/issues/1558/comments | 3 | 2016-09-08T19:49:51Z | 2017-05-18T16:24:19Z | https://github.com/chakra-core/ChakraCore/issues/1558 | 175,846,789 | 1,558 |
[
"chakra-core",
"ChakraCore"
] | Hi,
I'm working on ChakraCore, I aim that using external script library which are like jquery.js, underscore.js,angular.js...
Before external script loads to context or any variable, after running script use this library.
Can my coding invoke external library function? How can I code this case,
help me please??
| External script using | https://api.github.com/repos/chakra-core/ChakraCore/issues/1557/comments | 4 | 2016-09-08T11:41:28Z | 2016-09-13T18:01:01Z | https://github.com/chakra-core/ChakraCore/issues/1557 | 175,732,057 | 1,557 |
[
"chakra-core",
"ChakraCore"
] | We now have `--no-icu` option to compile ChakraCore without `icu` dependency.
At the moment, ChakraCore `no-icu` option fails on unicode tests and the expectation is to make them passing.
Steps to reproduce:
```
./build.sh --no-icu --debug
test/runtests.py -d
```
| [cross-platform] Improve '--no-icu' option | https://api.github.com/repos/chakra-core/ChakraCore/issues/1549/comments | 3 | 2016-09-07T10:35:15Z | 2018-05-08T01:53:42Z | https://github.com/chakra-core/ChakraCore/issues/1549 | 175,469,144 | 1,549 |
[
"chakra-core",
"ChakraCore"
] | Are there any plans to remove [`.clear()` from `WeakMap`](https://github.com/Microsoft/ChakraCore/blob/1f1164cd1bd38f91c2c42b1d10e16f8b9aa6a5b4/lib/Runtime/Library/JavascriptWeakMap.h#L66) to make the implementation compliant with the specification? Other engines have removed it and aligned to the final spec. Having deprecated/removed API isn't a zero sum game as it maintaining the feature in perpetuity can have future consequences and developers can latch onto functionality that they shouldn't. Wouldn't it be better to "break" anyone mistanklingly using this API now than in 10 years.
I would have also assumed by the nature of the ECMAScript WeakMap that there could be an optimisation by not having to track the pointers in the map directly in the WeakMap to support clear, making the GC algorithm/detection more efficient.
| WeakMap remove `.clear()`? | https://api.github.com/repos/chakra-core/ChakraCore/issues/1539/comments | 2 | 2016-09-03T13:22:30Z | 2016-09-03T17:57:39Z | https://github.com/chakra-core/ChakraCore/issues/1539 | 174,896,828 | 1,539 |
[
"chakra-core",
"ChakraCore"
] | https://github.com/Microsoft/ChakraCore/wiki/Build-Status#legacy-builds
Broken since http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x64_debug/143/
See build log:
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x64_debug/143/consoleFull#-447890337a82fefab-f698-416f-8fca-58544c94cd4e
```
WScriptJsrt.cpp(728): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [d:\j\workspace\daily_dev12_x---55cdd258\bin\ch\ch.vcxproj]
10:58:18 WScriptJsrt.cpp(728): error C2146: syntax error : missing ',' before identifier 'size' [d:\j\workspace\daily_dev12_x---55cdd258\bin\ch\ch.vcxproj]
...
```
See http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x64_debug/143/changes for commits between the last good build and the current broken build.
To repro locally please follow instructions here:
https://github.com/Microsoft/ChakraCore/wiki/Jenkins-Repro-Steps#legacy-builds-windows-only
When submitting a fix, remember to request legacy tests:
https://github.com/Microsoft/ChakraCore/wiki/Jenkins-Build-Triggers#legacy-builds
| [Legacy] [master] Most likely missing type | https://api.github.com/repos/chakra-core/ChakraCore/issues/1538/comments | 4 | 2016-09-03T04:20:19Z | 2016-09-19T11:17:08Z | https://github.com/chakra-core/ChakraCore/issues/1538 | 174,878,137 | 1,538 |
[
"chakra-core",
"ChakraCore"
] | Hi there,
I'm trying to embed ChakraCore into OS X application. I managed to do it without any issues at compile time, but the app doesn't run tho (doesn't even hit breakpoint in `int main` func). Any ideas what can go wrong there?
UPD: Maybe related to https://github.com/Microsoft/ChakraCore/issues/1237
| Embedding ChakraCore into OS X application | https://api.github.com/repos/chakra-core/ChakraCore/issues/1532/comments | 9 | 2016-09-02T15:17:15Z | 2016-09-06T08:44:48Z | https://github.com/chakra-core/ChakraCore/issues/1532 | 174,783,910 | 1,532 |
[
"chakra-core",
"ChakraCore"
] | Repro:
``` js
print(1.25499999999999989342.toFixed(2));
print(1.255.toFixed(2));
/*
┌─────────────────────┬──────┐
│ chakra-es6 │ 1.26 │
│ chakra-experimental │ 1.26 │
│ chakra │ │
├─────────────────────┼──────┤
│ jsc │ 1.25 │
│ sm │ 1.25 │
│ d8 │ │
└─────────────────────┴──────┘
*/
```
_Expected_: 1.25
_Actual_: 1.26
Other engines seem to get this correct, so we also have an interop issue. I recall that this has come up a lot in the past but I can't find history on GitHub :(
| toFixed gives incorrect results in some cases | https://api.github.com/repos/chakra-core/ChakraCore/issues/1511/comments | 0 | 2016-08-29T20:32:04Z | 2016-09-09T10:07:23Z | https://github.com/chakra-core/ChakraCore/issues/1511 | 173,865,411 | 1,511 |
[
"chakra-core",
"ChakraCore"
] | The code example below should log the numbers from 0 up to 500. Instead, the code breaks after about 100 iterations. The issue is that after about 100 iterations the constructor of class `B` returns the class itself instead of an instance of `B`.
The fact that this issue only occurs after multiple iterations suggests to me that the bug is somewhere in the JIT engine.
By the way, the error disappears if the method body of `A.toB()` is replaced by `return new B(this);`.
I tested the following code in Microsoft Edge 38.14393.0.0 (Microsoft EdgeHTML 14.14393)
```
var Test = {};
class A {
constructor(foo) { this.foo = foo; }
toB() { return new Test.B(this); }
}
class B {
constructor(bar) { this.bar = bar; }
}
Test.B = B;
for (let i=0; i<500; i++)
{
const a = new A(i);
const b = a.toB();
try
{
console.log(b.bar.foo);
}
catch (e)
{
console.log(e); // e.description -> "Unable to get property 'foo' of undefined or null reference"
console.log(b); // b -> class B { ... }
break;
}
}
```
| ES6 constructor returns class instead of object | https://api.github.com/repos/chakra-core/ChakraCore/issues/1496/comments | 10 | 2016-08-26T18:19:55Z | 2017-09-24T21:05:23Z | https://github.com/chakra-core/ChakraCore/issues/1496 | 173,513,062 | 1,496 |
[
"chakra-core",
"ChakraCore"
] | See https://github.com/Microsoft/ChakraCore/issues/1441#issuecomment-242277297
FYI @fishrock123
| [OS X] ChakraCore is built against different SDK than Rust which prevents linking ChakraCore into Rust projects | https://api.github.com/repos/chakra-core/ChakraCore/issues/1492/comments | 11 | 2016-08-25T20:30:46Z | 2016-11-22T11:09:12Z | https://github.com/chakra-core/ChakraCore/issues/1492 | 173,302,336 | 1,492 |
[
"chakra-core",
"ChakraCore"
] | Case:
```
function getArray(n) {
var arr = new Array(n)
for(var i = n - 1; i >= 0; i--) {
arr[i] = i + 1;
}
return arr;
}
function srt(x, y) {
return x >= y;
}
// Entry -> 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
// sort works
print(getArray(10).sort(srt)) // -> 1,2,3,4,5,6,7,8,9,10
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
var entry = [10,1,2,4,3,7,9,8,6,5];
// sort fails
print(entry.sort(srt)) // -> 10,1,2,4,3,7,9,8,6,5
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
var arr = getArray(520).sort(srt); // ->1,2,3,.......520
print(arr) // -> it is sorted
// replace first 10 with the entry array above
for(var i=0; i<10; i++) {
arr[i] = entry[i]
}
// sort works anyway
print(arr.sort(srt)) // -> 1,2,3,4,5......520
```
Reason: We use qsort when the array size is `>` 512 items. Otherwise -> https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Library/JavascriptArray.cpp#L6134-L6164
Indeed the spec mentions the external sort function should return `-1`, `+1`, or `0`
However that doesn't explain the inconsistency.
*_edit: updated the code
*_edit2: >512 not >=512
| Inconsistent Array Sort behavior | https://api.github.com/repos/chakra-core/ChakraCore/issues/1490/comments | 2 | 2016-08-25T17:50:58Z | 2016-08-25T19:15:51Z | https://github.com/chakra-core/ChakraCore/issues/1490 | 173,268,239 | 1,490 |
[
"chakra-core",
"ChakraCore"
] | Array iteration is a fairly common action in JSRT and right now the way it's handled is kind of ugly, especially in [JsGetIndexedProperty](https://github.com/Microsoft/ChakraCore/wiki/JsGetIndexedProperty) and friends where I have to use a JsValueRef typed index. This leads to extra JsIntToNumber calls from time to time. It'd nice if we can expose new APIs with just int index.
| [JSRT] Use int index in JsGetIndexedProperty & co. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1486/comments | 7 | 2016-08-24T21:43:09Z | 2018-02-28T23:39:25Z | https://github.com/chakra-core/ChakraCore/issues/1486 | 173,065,269 | 1,486 |
[
"chakra-core",
"ChakraCore"
] | I am wondering how long do we plan to support VS 2013?
In PR https://github.com/Microsoft/ChakraCore/pull/1444 I started using `constexpr` on some functions to avoid using macros.
Before I reverted those change, I believe it would be worth checking if we planned to drop support soon.
| Support for Visual Studio 2013 | https://api.github.com/repos/chakra-core/ChakraCore/issues/1484/comments | 7 | 2016-08-24T02:19:02Z | 2016-09-02T01:33:51Z | https://github.com/chakra-core/ChakraCore/issues/1484 | 172,849,820 | 1,484 |
[
"chakra-core",
"ChakraCore"
] | It appears that all of the code to support parallel parsing is compiled in. Is it supposed to be? My guess is no.
| ENABLE_BACKGROUND_PARSING should probably be undefined | https://api.github.com/repos/chakra-core/ChakraCore/issues/1478/comments | 3 | 2016-08-23T17:23:12Z | 2016-11-15T22:14:27Z | https://github.com/chakra-core/ChakraCore/issues/1478 | 172,757,694 | 1,478 |
[
"chakra-core",
"ChakraCore"
] | https://github.com/Microsoft/ChakraCore/wiki/JsSourceContext
```
typedef DWORD_PTR JsSourceContext;
```
is `DWORD_PTR` just `void *` or something?
| What type is JsSourceContext on Unix? | https://api.github.com/repos/chakra-core/ChakraCore/issues/1474/comments | 2 | 2016-08-21T15:50:17Z | 2016-08-22T09:20:47Z | https://github.com/chakra-core/ChakraCore/issues/1474 | 172,327,024 | 1,474 |
[
"chakra-core",
"ChakraCore"
] | v | https://api.github.com/repos/chakra-core/ChakraCore/issues/1467/comments | 0 | 2016-08-19T21:34:37Z | 2016-08-19T21:34:42Z | https://github.com/chakra-core/ChakraCore/issues/1467 | 172,225,110 | 1,467 | |
[
"chakra-core",
"ChakraCore"
] | ``` js
print(class foo { }.toString());
```
Actual: Syntax Error
Expected: `"class foo { }"`
| Class expressions should be allowed in a member expression without parenthesizing | https://api.github.com/repos/chakra-core/ChakraCore/issues/1465/comments | 2 | 2016-08-19T17:26:40Z | 2016-08-19T22:47:55Z | https://github.com/chakra-core/ChakraCore/issues/1465 | 172,180,253 | 1,465 |
[
"chakra-core",
"ChakraCore"
] | In our wiki to build arm we point to https://dev.windows.com/en-US/downloads/windows-10-sdk to download the sdk.
First of all, that page only show the latest SDK which we don't use, ChakraCore uses SDK 10.0.10240.0 (https://github.com/Microsoft/ChakraCore/blob/master/Build/Chakra.Build.Default.props#L6) and latest is 10.0.14393.0.
Not having the exact sdk version will make the compiler complain.
Also, when looking in the archive page https://developer.microsoft.com/en-us/windows/downloads/sdk-archive, I can't find the version we're using.
The versions I can find are
- 10.0.14393.0 (August 2016)
- 10.0.10586.0 (November 2015)
- 10.0.26624.0 (July 2015)
Where does version 10.0.10240.0 come from ?
I think we should either update our Wiki page to point directly to the right version of the sdk that we use and/or update the version that we use for something more recent.
| Windows 10 SDK version for ARM | https://api.github.com/repos/chakra-core/ChakraCore/issues/1448/comments | 5 | 2016-08-16T19:52:45Z | 2016-08-24T02:16:14Z | https://github.com/chakra-core/ChakraCore/issues/1448 | 171,502,360 | 1,448 |
[
"chakra-core",
"ChakraCore"
] | I'd like to link Chakra to use it via Rust, but Rust can't read headers so I need to get Symbols directly.
I see Symbols for all the APIs in the archive, but they all are prefixed by an underscore. Are these stable? Should I expect them to change or anything else?
| Is it "safe" to link to libChakra.Jsrt.a? | https://api.github.com/repos/chakra-core/ChakraCore/issues/1441/comments | 25 | 2016-08-16T04:34:10Z | 2016-08-25T20:31:53Z | https://github.com/chakra-core/ChakraCore/issues/1441 | 171,323,047 | 1,441 |
[
"chakra-core",
"ChakraCore"
] | These appear on OS X 10.10.5
```
error: 'CSSM_GUID' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
```
```
error: 'CSSM_LIST' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
```
```
error: 'CSSM_SAMPLE' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
```
```
error: 'CSSM_DATA' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
```
| OS X, many CSSM_* errors | https://api.github.com/repos/chakra-core/ChakraCore/issues/1436/comments | 6 | 2016-08-13T15:14:47Z | 2016-08-16T15:23:57Z | https://github.com/chakra-core/ChakraCore/issues/1436 | 171,013,074 | 1,436 |
[
"chakra-core",
"ChakraCore"
] | I know this would require a massive amount of work in ChakraCore, but a man can dream right?
It would be great if ChakraCore could run scripts written in TypeScript without having to first transpile it to JavaScript. This would have an additional benefit: it could perform better. I imagine the JIT compiler could potentially produce better optimized native code, if the user doesn't litter their TypeScript with the "any" type. Even if the TypeScript used "union" types, the additional type information could produce better optimized machine code without having to first interpret the code and collect type information during early runs.
| Add native support for TypeScript. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1435/comments | 12 | 2016-08-13T09:58:49Z | 2018-11-13T01:48:42Z | https://github.com/chakra-core/ChakraCore/issues/1435 | 171,002,223 | 1,435 |
[
"chakra-core",
"ChakraCore"
] | When parse large amount of data with JSON format (10MB) to Browser, IE11 takes more than 5 minutes to load the screen, but Chrome and FF on the same client can load it with 10-20 seconds.
| JavaScript Performance issue | https://api.github.com/repos/chakra-core/ChakraCore/issues/1432/comments | 2 | 2016-08-12T14:18:15Z | 2016-08-12T20:17:09Z | https://github.com/chakra-core/ChakraCore/issues/1432 | 170,881,517 | 1,432 |
[
"chakra-core",
"ChakraCore"
] | chakra compilation failed on chinese version of windows 10 with vs2015 update3, following errors shown:
lib\Runtime\Library\JavascriptPromise.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
this can be seen in:
https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Library/JavascriptPromise.cpp
line 54:
// 3. Let promise be ? OrdinaryCreateFromConstructor(NewTarget, "%PromisePrototype%", «[[PromiseState]], [[PromiseResult]], [[PromiseFulfillReactions]], [[PromiseRejectReactions]], [[PromiseIsHandled]] »).
the "»" symbol make the compilation failed
so you can save the file encoded in UTF-8 or just remove the "»" symbol
| compilation failed for code page issues | https://api.github.com/repos/chakra-core/ChakraCore/issues/1429/comments | 2 | 2016-08-12T09:09:09Z | 2016-08-16T20:41:29Z | https://github.com/chakra-core/ChakraCore/issues/1429 | 170,829,294 | 1,429 |
[
"chakra-core",
"ChakraCore"
] | https://developer.microsoft.com/en-us/windows/iot/docs/StartCoding.htm and a whole bunch of other IoT doc pages are PageNotFound :(
| documentation is broken | https://api.github.com/repos/chakra-core/ChakraCore/issues/1428/comments | 4 | 2016-08-12T06:07:27Z | 2016-08-12T16:21:52Z | https://github.com/chakra-core/ChakraCore/issues/1428 | 170,804,942 | 1,428 |
[
"chakra-core",
"ChakraCore"
] | It seems `trunc` and `round` are not available in the version of `math.h` we use in ChakraFull. See `GetNonTableMethodAddress` in JnHelperMethod.cpp
#1316
I will be disabling the feature until we resolve the issue.
| Wasm: Trunc/Nearest ChakraFull build failure | https://api.github.com/repos/chakra-core/ChakraCore/issues/1427/comments | 1 | 2016-08-12T01:16:52Z | 2016-12-20T00:33:25Z | https://github.com/chakra-core/ChakraCore/issues/1427 | 170,781,481 | 1,427 |
[
"chakra-core",
"ChakraCore"
] | Converted from a Discussion issue. See discussion below for task proposal.
---
Our unit tests are intended to be functional tests, not performance tests, so to some extent we don't really care how long they take as long as we get a pass or fail result in a reasonable amount of time. For practical reasons, we added a timeout to catch tests if they start to take a long time or if a test is introduced which runs effectively forever so that we don't bog down our test VMs.
Setting the individual timeouts high enough that we only timeout on truly problematic tests is helpful, but doesn't really give us a sense of whether they are starting to take too long.
One proposal on the table is #1413 -- simply increase the default timeout so that we don't see as many timeouts when running on low-resource VMs. Since we've only seen a few problematic tests, we opted for #1421 for the time being, pending discussion.
If we see some value in tracking test runtime regressions, maybe we need to add something else to the runner.
Maybe we should add a warning threshold that will issue a warning when tests take a long time without breaking the build. Then we could set the warning threshold at 60s and timeout at 120s?
/cc @ianwjhalliday who implemented timeouts
FYI @obastemur
See recent PRs related to test timeouts:
#1413
#1421
And recently opened issues:
#1406 [fixed]
#1417 [fixed]
#1407 [open]
| [Tests] Add test timeout *warning* at a lower threshold than *error* so we can detect test runtime regressions before they start causing errors. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1425/comments | 3 | 2016-08-11T21:51:25Z | 2018-02-27T22:13:11Z | https://github.com/chakra-core/ChakraCore/issues/1425 | 170,756,158 | 1,425 |
[
"chakra-core",
"ChakraCore"
] | Windows tasks archive build and test logs:
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/x64_debug/
Linux and OS X don't have their jobs configured to collect logs from the correct locations so we're seeing no saved logs:
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/shared_ubuntu_linux_debug/ | Add build and test logs archival for Linux and OSX Jenkins tasks | https://api.github.com/repos/chakra-core/ChakraCore/issues/1424/comments | 8 | 2016-08-11T21:07:14Z | 2018-01-25T22:39:03Z | https://github.com/chakra-core/ChakraCore/issues/1424 | 170,747,063 | 1,424 |
[
"chakra-core",
"ChakraCore"
] | Hey all! Trying to build Chakra this evening on Debian Stretch:
``` bash
$ bash build.sh --cxx=/usr/bin/clang-3.7 --cc=/usr/bin/clang-3.7
Custom CXX /usr/bin/clang-3.7
Custom CC /usr/bin/clang-3.7
Generating Release makefiles
Detected Linux x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/steve/src/ChakraCore/BuildLinux/Release
[ 18%] Built target Chakra.Pal
[ 18%] Built target Chakra.Common.Codex.Singular
[ 18%] Built target Chakra.Common.Codex
[ 21%] Built target Chakra.Common.Common
[ 25%] Built target Chakra.Common.Core
[ 28%] Built target Chakra.Common.DataStructures
[ 29%] Built target Chakra.Common.Exceptions
[ 37%] Built target Chakra.Common.Memory
[ 37%] Built target Chakra.Common.Util
[ 42%] Built target Chakra.Parser
[ 48%] Built target Chakra.Runtime.Base
[ 49%] Built target Chakra.Runtime.PlatformAgnostic
[ 51%] Built target Chakra.Runtime.PlatformAgnostic.Singular
[ 55%] Built target Chakra.Runtime.ByteCode
[ 61%] Built target Chakra.Runtime.Debug
[ 68%] Built target Chakra.Runtime.Language
[ 87%] Built target Chakra.Runtime.Library
[ 87%] Built target Chakra.Runtime.Math
[ 93%] Built target Chakra.Runtime.Types
[ 93%] Built target Chakra.Jsrt.Core
[ 96%] Built target Chakra.Jsrt
[ 96%] Linking CXX executable GCStress
../../lib/Common/Core/libChakra.Common.Core.a(ConfigFlagsTable.cpp.o): In function `JsUtil::BaseDictionary<unsigned int, unsigned int, Memory::NoCheckHeapAllocator, DictionarySizePolicy<PrimePolicy, 2u, 2u, 1u, 4u>, DefaultComparer, JsUtil::SimpleHashedEntry, JsUtil::NoResizeLock>::Allocate(int**, JsUtil::SimpleHashedEntry<unsigned int, unsigned int>**, unsigned int, int)':
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji[_ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji]+0xc8): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji[_ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji]+0xda): undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji[_ZN6JsUtil14BaseDictionaryIjjN6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS7_IjjEEji]+0xe2): undefined reference to `__cxa_end_catch'
../../lib/Common/Core/libChakra.Common.Core.a(ConfigFlagsTable.cpp.o): In function `JsUtil::BaseDictionary<Js::NumberPair, Js::NumberPair, Memory::NoCheckHeapAllocator, DictionarySizePolicy<PrimePolicy, 2u, 2u, 1u, 4u>, DefaultComparer, JsUtil::SimpleHashedEntry, JsUtil::NoResizeLock>::Allocate(int**, JsUtil::SimpleHashedEntry<Js::NumberPair, Js::NumberPair>**, unsigned int, int)':
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji[_ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji]+0x101): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji[_ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji]+0x11a): undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/lib/Common/Core/ConfigFlagsTable.cpp:(.text._ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji[_ZN6JsUtil14BaseDictionaryIN2Js10NumberPairES2_N6Memory20NoCheckHeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE15DefaultComparerNS_17SimpleHashedEntryENS_12NoResizeLockEE8AllocateEPPiPPNS9_IS2_S2_EEji]+0x122): undefined reference to `__cxa_end_catch'
../../pal/src/libChakra.Pal.a(pal.cpp.o):(.data.rel.ro._ZTIN7CorUnix20CSimpleHandleManagerE[_ZTIN7CorUnix20CSimpleHandleManagerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(shmobjectmanager.cpp.o):(.data.rel.ro+0x60): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmobjectmanager.cpp.o):(.data.rel.ro._ZTIN7CorUnix17IPalObjectManagerE[_ZTIN7CorUnix17IPalObjectManagerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(shmobjectmanager.cpp.o):(.data.rel.ro._ZTIN7CorUnix23CSimpleSharedMemoryLockE[_ZTIN7CorUnix23CSimpleSharedMemoryLockE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(synchmanager.cpp.o):(.data.rel.ro+0xc0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(synchmanager.cpp.o):(.data.rel.ro+0xe0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(synchmanager.cpp.o):(.data.rel.ro._ZTIN7CorUnix26IPalSynchronizationManagerE[_ZTIN7CorUnix26IPalSynchronizationManagerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(synchmanager.cpp.o):(.data.rel.ro._ZTIN7CorUnix22CThreadInfoInitializerE[_ZTIN7CorUnix22CThreadInfoInitializerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(pal_thread.cpp.o):(.data.rel.ro+0x20): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(pal_thread.cpp.o):(.data.rel.ro._ZTIN7CorUnix14CThreadSEHInfoE[_ZTIN7CorUnix14CThreadSEHInfoE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(pal_thread.cpp.o):(.data.rel.ro._ZTIN7CorUnix14CThreadApcInfoE[_ZTIN7CorUnix14CThreadApcInfoE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(pal_thread.cpp.o):(.data.rel.ro._ZTIN7CorUnix14CThreadCRTInfoE[_ZTIN7CorUnix14CThreadCRTInfoE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(RecyclerWriteBarrierManager.cpp.o): In function `Memory::X64WriteBarrierCardTableManager::OnSegmentAlloc(char*, unsigned long)':
/home/steve/src/ChakraCore/lib/Common/Memory/RecyclerWriteBarrierManager.cpp:(.text+0x2fa): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/lib/Common/Memory/RecyclerWriteBarrierManager.cpp:(.text+0x3a2): undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/lib/Common/Memory/RecyclerWriteBarrierManager.cpp:(.text+0x3e5): undefined reference to `__cxa_end_catch'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `CreateNewObject()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x50): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x5c): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x66): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `GetRandomLocation()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x111): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x11d): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x127): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `InsertObject()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x18c): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x198): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x1a2): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `ReplaceObject()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x1fe): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x20a): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x214): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `DoHeapOperation()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x390): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x39c): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x3a6): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `BuildObjectCreationTable()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xcfe): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xd0a): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xd14): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `BuildOperationTable()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xfce): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xfda): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0xfe4): undefined reference to `__cxa_throw'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `SimpleRecyclerTest()':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x111e): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x112a): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x1134): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x11b9): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x11c5): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x11cf): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x1209): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x121a): undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x12c7): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x12d3): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x12dd): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x135f): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x136b): undefined reference to `typeinfo for char const*'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x1375): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text+0x13da): undefined reference to `__cxa_end_catch'
CMakeFiles/GCStress.dir/GCStress.cpp.o: In function `__clang_call_terminate':
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text.__clang_call_terminate[__clang_call_terminate]+0x2): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/bin/GCStress/GCStress.cpp:(.text.__clang_call_terminate[__clang_call_terminate]+0x7): undefined reference to `std::terminate()'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTIN2Js13ExceptionBaseE[_ZTIN2Js13ExceptionBaseE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTIN2Js20OutOfMemoryExceptionE[_ZTIN2Js20OutOfMemoryExceptionE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI17FinalizableObject[_ZTI17FinalizableObject]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI18RecyclerTestObject[_ZTI18RecyclerTestObject]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI10LeafObjectILj1ELj50EE[_ZTI10LeafObjectILj1ELj50EE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI13ScannedObjectILj1ELj50EE[_ZTI13ScannedObjectILj1ELj50EE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI13BarrierObjectILj1ELj50EE[_ZTI13BarrierObjectILj1ELj50EE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTIN6Memory17DummyVTableObjectE[_ZTIN6Memory17DummyVTableObjectE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.rodata._ZTI13TrackedObjectILj1ELj50EE[_ZTI13TrackedObjectILj1ELj50EE]+0x0): more undefined references to `vtable for __cxxabiv1::__si_class_type_info' follow
CMakeFiles/GCStress.dir/GCStress.cpp.o:(.eh_frame+0x3ab): undefined reference to `__gxx_personality_v0'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseString(char16_t*, unsigned long, bool)':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xec): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x121): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x13c): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x14a): undefined reference to `__cxa_allocate_exception'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseInteger()':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x328): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x343): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x34d): undefined reference to `__cxa_allocate_exception'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseRange(Js::Range*)':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x689): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x6a4): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x6ae): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x6c1): undefined reference to `__cxa_allocate_exception'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseNumberRange(Js::NumberRange*)':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x8a4): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x8bf): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x8c9): undefined reference to `__cxa_allocate_exception'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParsePhase(Js::Phases*)':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x995): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x9b0): undefined reference to `__cxa_throw'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseBoolean()':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xabd): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xad0): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xaeb): undefined reference to `__cxa_throw'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::GetCurrentString()':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xb69): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xb84): undefined reference to `__cxa_throw'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::ParseFlag()':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xc08): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xde3): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xdfb): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xe0e): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xe29): undefined reference to `__cxa_throw'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::Parse(char16_t*)':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xf58): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xf73): undefined reference to `__cxa_throw'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xf8c): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0xfab): undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x100f): undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text+0x1017): undefined reference to `__cxa_call_unexpected'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o): In function `CmdLineArgsParser::GetCurrentBoolean()':
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text._ZN17CmdLineArgsParser17GetCurrentBooleanEv[_ZN17CmdLineArgsParser17GetCurrentBooleanEv]+0x3d): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text._ZN17CmdLineArgsParser17GetCurrentBooleanEv[_ZN17CmdLineArgsParser17GetCurrentBooleanEv]+0x50): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Core/CmdParser.cpp:(.text._ZN17CmdLineArgsParser17GetCurrentBooleanEv[_ZN17CmdLineArgsParser17GetCurrentBooleanEv]+0x6b): undefined reference to `__cxa_throw'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o):(.data.rel.ro._ZTIN17CmdLineArgsParser9ExceptionE[_ZTIN17CmdLineArgsParser9ExceptionE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o):(.data.rel.ro+0x30): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o):(.data.rel.ro._ZTI18ICmdLineArgsParser[_ZTI18ICmdLineArgsParser]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Common/Core/libChakra.Common.Core.a(CmdParser.cpp.o):(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
../../pal/src/libChakra.Pal.a(debug.cpp.o): In function `ReadProcessMemory':
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:637: undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:641: undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:637: undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:641: undefined reference to `__cxa_end_catch'
../../pal/src/libChakra.Pal.a(debug.cpp.o): In function `WriteProcessMemory':
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:935: undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:939: undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:935: undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/pal/src/debug/debug.cpp:939: undefined reference to `__cxa_end_catch'
../../pal/src/libChakra.Pal.a(debug.cpp.o):(.data.rel.ro._ZTI16PAL_SEHException[_ZTI16PAL_SEHException]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(debug.cpp.o):(.data.rel.ro._ZTI25NativeExceptionHolderBase[_ZTI25NativeExceptionHolderBase]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(debug.cpp.o):(.data.rel.ro+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(debug.cpp.o):(.data.rel.ro+0x20): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(seh.cpp.o): In function `SEHProcessException(_EXCEPTION_POINTERS*)':
/home/steve/src/ChakraCore/pal/src/exception/seh.cpp:162: undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/pal/src/exception/seh.cpp:162: undefined reference to `__cxa_throw'
../../pal/src/libChakra.Pal.a(seh.cpp.o): In function `PAL_VirtualUnwindOutOfProc':
/home/steve/src/ChakraCore/pal/src/exception/seh-unwind.cpp:481: undefined reference to `__cxa_guard_acquire'
/home/steve/src/ChakraCore/pal/src/exception/seh-unwind.cpp:481: undefined reference to `__cxa_guard_release'
/home/steve/src/ChakraCore/pal/src/exception/seh-unwind.cpp:481: undefined reference to `__cxa_guard_abort'
../../pal/src/libChakra.Pal.a(seh.cpp.o): In function `RtlpRaiseException(_EXCEPTION_RECORD*)':
/home/steve/src/ChakraCore/pal/src/exception/seh-unwind.cpp:592: undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/pal/src/exception/seh-unwind.cpp:592: undefined reference to `__cxa_throw'
../../pal/src/libChakra.Pal.a(seh.cpp.o):(.data.rel.ro._ZTV25NativeExceptionHolderBase[_ZTV25NativeExceptionHolderBase]+0x10): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro+0x40): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro+0x80): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro+0xc0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro._ZTIN7CorUnix19IFileLockControllerE[_ZTIN7CorUnix19IFileLockControllerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro._ZTIN7CorUnix20IFileTransactionLockE[_ZTIN7CorUnix20IFileTransactionLockE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(shmfilelockmgr.cpp.o):(.data.rel.ro._ZTIN7CorUnix16IFileLockManagerE[_ZTIN7CorUnix16IFileLockManagerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(module.cpp.o): In function `LOADCallDllMainSafe(_MODSTRUCT*, unsigned int, void*)':
/home/steve/src/ChakraCore/pal/src/loader/module.cpp:1148: undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/pal/src/loader/module.cpp:1152: undefined reference to `__cxa_end_catch'
/home/steve/src/ChakraCore/pal/src/loader/module.cpp:1148: undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/pal/src/loader/module.cpp:1152: undefined reference to `__cxa_end_catch'
../../pal/src/libChakra.Pal.a(module.cpp.o):(.data.rel.ro+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x30): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x38): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x40): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x58): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x60): undefined reference to `__cxa_pure_virtual'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x78): more undefined references to `__cxa_pure_virtual' follow
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro+0x90): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro._ZTIN7CorUnix10IPalObjectE[_ZTIN7CorUnix10IPalObjectE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro._ZTIN7CorUnix9IDataLockE[_ZTIN7CorUnix9IDataLockE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(palobjbase.cpp.o):(.data.rel.ro._ZTIN7CorUnix15CSimpleDataLockE[_ZTIN7CorUnix15CSimpleDataLockE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
../../pal/src/libChakra.Pal.a(threadsusp.cpp.o):(.data.rel.ro+0x30): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(tls.cpp.o):(.data.rel.ro+0x20): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmobject.cpp.o):(.data.rel.ro+0x140): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(shmobject.cpp.o):(.data.rel.ro+0x160): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../pal/src/libChakra.Pal.a(synchcontrollers.cpp.o):(.data.rel.ro+0x30): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
../../pal/src/libChakra.Pal.a(synchcontrollers.cpp.o):(.data.rel.ro+0xb0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
../../pal/src/libChakra.Pal.a(synchcontrollers.cpp.o):(.data.rel.ro._ZTIN7CorUnix20CSynchControllerBaseE[_ZTIN7CorUnix20CSynchControllerBaseE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(synchcontrollers.cpp.o):(.data.rel.ro._ZTIN7CorUnix20ISynchWaitControllerE[_ZTIN7CorUnix20ISynchWaitControllerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../pal/src/libChakra.Pal.a(synchcontrollers.cpp.o):(.data.rel.ro._ZTIN7CorUnix21ISynchStateControllerE[_ZTIN7CorUnix21ISynchStateControllerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o): In function `Js::Throw::InternalError()':
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0x4a): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0x5b): undefined reference to `__cxa_throw'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o): In function `Js::Throw::OutOfMemory()':
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0x6f): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0x80): undefined reference to `__cxa_throw'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o): In function `Js::Throw::StackOverflow(Js::ScriptContext*, void*)':
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0xaf): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0xc0): undefined reference to `__cxa_throw'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o): In function `Js::Throw::NotImplemented()':
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0xda): undefined reference to `__cxa_allocate_exception'
/home/steve/src/ChakraCore/lib/Common/Exceptions/Throw.cpp:(.text+0xeb): undefined reference to `__cxa_throw'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o):(.data.rel.ro._ZTIN2Js22InternalErrorExceptionE[_ZTIN2Js22InternalErrorExceptionE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o):(.data.rel.ro._ZTIN2Js22StackOverflowExceptionE[_ZTIN2Js22StackOverflowExceptionE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Throw.cpp.o):(.data.rel.ro._ZTIN2Js23NotImplementedExceptionE[_ZTIN2Js23NotImplementedExceptionE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(HeapBlock.cpp.o):(.data.rel.ro._ZTVN6Memory15SmallHeapBlockTI31MediumAllocationBlockAttributesEE[_ZTVN6Memory15SmallHeapBlockTI31MediumAllocationBlockAttributesEE]+0x28): undefined reference to `__cxa_pure_virtual'
../../lib/Jsrt/libChakra.Jsrt.a(HeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory9HeapBlockE[_ZTIN6Memory9HeapBlockE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(HeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory15SmallHeapBlockTI31MediumAllocationBlockAttributesEE[_ZTIN6Memory15SmallHeapBlockTI31MediumAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(HeapBlock.cpp.o):(.data.rel.ro._ZTVN6Memory15SmallHeapBlockTI30SmallAllocationBlockAttributesEE[_ZTVN6Memory15SmallHeapBlockTI30SmallAllocationBlockAttributesEE]+0x28): undefined reference to `__cxa_pure_virtual'
../../lib/Jsrt/libChakra.Jsrt.a(HeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory15SmallHeapBlockTI30SmallAllocationBlockAttributesEE[_ZTIN6Memory15SmallHeapBlockTI30SmallAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(IdleDecommitPageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory17PageAllocatorBaseINS_19VirtualAllocWrapperEEE[_ZTIN6Memory17PageAllocatorBaseINS_19VirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(IdleDecommitPageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory25IdleDecommitPageAllocatorE[_ZTIN6Memory25IdleDecommitPageAllocatorE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(LargeHeapBlock.cpp.o): In function `Memory::LargeHeapBlock::RescanOnePage(Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/LargeHeapBlock.cpp:(.text+0x1512): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(LargeHeapBlock.cpp.o): In function `Memory::LargeHeapBlock::RescanMultiPage(Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/LargeHeapBlock.cpp:(.text+0x175e): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(LargeHeapBlock.cpp.o):(.data.rel.ro+0x40): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory17PageAllocatorBaseINS_30PreReservedVirtualAllocWrapperEEE[_ZTIN6Memory17PageAllocatorBaseINS_30PreReservedVirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory17HeapPageAllocatorINS_30PreReservedVirtualAllocWrapperEEE[_ZTIN6Memory17HeapPageAllocatorINS_30PreReservedVirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory17HeapPageAllocatorINS_19VirtualAllocWrapperEEE[_ZTIN6Memory17HeapPageAllocatorINS_19VirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory11SegmentBaseINS_19VirtualAllocWrapperEEE[_ZTIN6Memory11SegmentBaseINS_19VirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory11SegmentBaseINS_30PreReservedVirtualAllocWrapperEEE[_ZTIN6Memory11SegmentBaseINS_30PreReservedVirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory15PageSegmentBaseINS_19VirtualAllocWrapperEEE[_ZTIN6Memory15PageSegmentBaseINS_19VirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(PageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory15PageSegmentBaseINS_30PreReservedVirtualAllocWrapperEEE[_ZTIN6Memory15PageSegmentBaseINS_30PreReservedVirtualAllocWrapperEEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Recycler.cpp.o): In function `JsUtil::BaseDictionary<void*, Memory::Recycler::ObjectBeforeCollectCallbackData, Memory::HeapAllocator, DictionarySizePolicy<PrimePolicy, 2u, 2u, 1u, 4u>, RecyclerPointerComparer, JsUtil::SimpleDictionaryEntry, JsUtil::NoResizeLock>::Allocate(int**, JsUtil::SimpleDictionaryEntry<void*, Memory::Recycler::ObjectBeforeCollectCallbackData>**, unsigned int, int)':
/home/steve/src/ChakraCore/lib/Common/Memory/Recycler.cpp:(.text._ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji[_ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji]+0x97): undefined reference to `__cxa_begin_catch'
/home/steve/src/ChakraCore/lib/Common/Memory/Recycler.cpp:(.text._ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji[_ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji]+0xab): undefined reference to `__cxa_rethrow'
/home/steve/src/ChakraCore/lib/Common/Memory/Recycler.cpp:(.text._ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji[_ZN6JsUtil14BaseDictionaryIPvN6Memory8Recycler31ObjectBeforeCollectCallbackDataENS2_13HeapAllocatorE20DictionarySizePolicyI11PrimePolicyLj2ELj2ELj1ELj4EE23RecyclerPointerComparerNS_21SimpleDictionaryEntryENS_12NoResizeLockEE8AllocateEPPiPPNSA_IS1_S4_EEji]+0xb3): undefined reference to `__cxa_end_catch'
../../lib/Jsrt/libChakra.Jsrt.a(Recycler.cpp.o):(.data.rel.ro+0x70): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Recycler.cpp.o):(.data.rel.ro._ZTIN6Memory25RecyclerCollectionWrapperE[_ZTIN6Memory25RecyclerCollectionWrapperE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(Recycler.cpp.o):(.data.rel.ro._ZTIN6Memory33CollectedRecyclerWeakRefHeapBlockE[_ZTIN6Memory33CollectedRecyclerWeakRefHeapBlockE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(RecyclerPageAllocator.cpp.o):(.data.rel.ro._ZTIN6Memory21RecyclerPageAllocatorE[_ZTIN6Memory21RecyclerPageAllocatorE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallFinalizableHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesEE[_ZTIN6Memory21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallFinalizableHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory26SmallFinalizableHeapBlockTI30SmallAllocationBlockAttributesEE[_ZTIN6Memory26SmallFinalizableHeapBlockTI30SmallAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallFinalizableHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesEE[_ZTIN6Memory21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallFinalizableHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory26SmallFinalizableHeapBlockTI31MediumAllocationBlockAttributesEE[_ZTIN6Memory26SmallFinalizableHeapBlockTI31MediumAllocationBlockAttributesEE]+0x0): more undefined references to `vtable for __cxxabiv1::__si_class_type_info' follow
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o): In function `Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>::RescanObject(Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>*, char*, unsigned int, unsigned int, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBlock.cpp:(.text._ZN6Memory21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesE12RescanObjectEPS2_PcjjPNS_8RecyclerE[_ZN6Memory21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesE12RescanObjectEPS2_PcjjPNS_8RecyclerE]+0xf7): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o): In function `Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>::RescanObject(Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>*, char*, unsigned int, unsigned int, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBlock.cpp:(.text._ZN6Memory21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesE12RescanObjectEPS2_PcjjPNS_8RecyclerE[_ZN6Memory21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesE12RescanObjectEPS2_PcjjPNS_8RecyclerE]+0xf7): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory32SmallNormalWithBarrierHeapBlockTI30SmallAllocationBlockAttributesEE[_ZTIN6Memory32SmallNormalWithBarrierHeapBlockTI30SmallAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o):(.data.rel.ro._ZTIN6Memory32SmallNormalWithBarrierHeapBlockTI31MediumAllocationBlockAttributesEE[_ZTIN6Memory32SmallNormalWithBarrierHeapBlockTI31MediumAllocationBlockAttributesEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o): In function `Memory::SmallNormalHeapBucketBase<Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>*, char*, char*, BVStatic<1024ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_21SmallNormalHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE]+0x27f): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o): In function `Memory::SmallNormalHeapBucketBase<Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>*, char*, char*, BVStatic<2048ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_21SmallNormalHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE]+0x28f): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o): In function `Memory::SmallNormalHeapBucketBase<Memory::SmallNormalWithBarrierHeapBlockT<SmallAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalWithBarrierHeapBlockT<SmallAllocationBlockAttributes>*, char*, char*, BVStatic<1024ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_32SmallNormalWithBarrierHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_32SmallNormalWithBarrierHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE]+0x28f): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o): In function `Memory::SmallNormalHeapBucketBase<Memory::SmallNormalWithBarrierHeapBlockT<MediumAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalWithBarrierHeapBlockT<MediumAllocationBlockAttributes>*, char*, char*, BVStatic<2048ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_32SmallNormalWithBarrierHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_32SmallNormalWithBarrierHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE]+0x28f): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o): In function `Memory::SmallNormalHeapBucketBase<Memory::SmallFinalizableHeapBlockT<SmallAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallFinalizableHeapBlockT<SmallAllocationBlockAttributes>*, char*, char*, BVStatic<1024ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*)':
/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_26SmallFinalizableHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_26SmallFinalizableHeapBlockTI30SmallAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm1024EEjjPbPNS_8RecyclerE]+0x28f): undefined reference to `__cxa_call_unexpected'
../../lib/Jsrt/libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o):/home/steve/src/ChakraCore/lib/Common/Memory/SmallNormalHeapBucket.cpp:(.text._ZN6Memory25SmallNormalHeapBucketBaseINS_26SmallFinalizableHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE[_ZN6Memory25SmallNormalHeapBucketBaseINS_26SmallFinalizableHeapBlockTI31MediumAllocationBlockAttributesEEE19RescanObjectsOnPageEPS3_PcS6_P8BVStaticILm2048EEjjPbPNS_8RecyclerE]+0x28f): more undefined references to `__cxa_call_unexpected' follow
../../pal/src/libChakra.Pal.a(random.cpp.o): In function `std::mutex::lock()':
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1/../../../../include/c++/6.1.1/bits/std_mutex.h:107: undefined reference to `std::__throw_system_error(int)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
bin/GCStress/CMakeFiles/GCStress.dir/build.make:175: recipe for target 'bin/GCStress/GCStress' failed
make[2]: *** [bin/GCStress/GCStress] Error 1
CMakeFiles/Makefile2:1389: recipe for target 'bin/GCStress/CMakeFiles/GCStress.dir/all' failed
make[1]: *** [bin/GCStress/CMakeFiles/GCStress.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
See error details above. Exit code was 2
```
Whew! I didn't see anything about this on the tracker, and a search also doesn't come up with anything. Any ideas? Happy to answer any questions, or do anything else that lets me help you help me :smile:
| Build not working on Debian Stretch | https://api.github.com/repos/chakra-core/ChakraCore/issues/1418/comments | 3 | 2016-08-11T00:32:32Z | 2016-08-11T14:29:50Z | https://github.com/chakra-core/ChakraCore/issues/1418 | 170,549,279 | 1,418 |
[
"chakra-core",
"ChakraCore"
] | http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_ubuntu_linux_debug_static/31/console
```
[1229/1249 60.02] Failed -> typedarray/allocation.js
16:01:33 ERROR: Test timed out!
16:01:33 /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/BuildLinux/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/test/typedarray/allocation.js
16:02:46
16:02:46 Output:
16:02:46 ----------------------------
16:02:46
16:02:46 ----------------------------
16:02:46 exit code: -9
16:02:46 [1230/1249 60.02] Failed -> typedarray/allocation2.js
16:02:46 ERROR: Test timed out!
16:02:46 /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/BuildLinux/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/test/typedarray/allocation2.js
16:02:46
16:02:46 Output:
16:02:46 ----------------------------
16:02:46
16:02:46 ----------------------------
16:02:46 exit code: -9
```
| [Ubuntu] [master] {debug} allocation*.js test timeouts. | https://api.github.com/repos/chakra-core/ChakraCore/issues/1417/comments | 1 | 2016-08-10T23:12:49Z | 2016-08-11T21:14:26Z | https://github.com/chakra-core/ChakraCore/issues/1417 | 170,540,202 | 1,417 |
[
"chakra-core",
"ChakraCore"
] | I have convinced myself, that I am looking at an optimization issue in EdgeHTML 14. The most annoying part is, that it doesn't reproduce when the F12 tools are open.
I'm building an application including the new d3 version 4, angular2, and core-js' es6 modules (amongst other things). Everything is bundled with webpack. I have tried to reduce the problem by editing the webpack-generated JavaScript and removing some of the moving parts, but that seems to fix it. I'll try to describe my environment, some code snippets etc., but I wouldn't expect this to be easy to reproduce.
The problem appears in [the range function](https://github.com/d3/d3-scale/blob/master/src/continuous.js#L97), more exactly in the `range = slice.call(_)` assignment in the first branch. `slice` is imported from `array.js` and is just `Array.prototype.slice`.
The first three times this function gets called (when `arguments.length === 1`, an array with two elements), the `.call(_)` returns the expected copy of that array. The fourth time, `range` gets `function slice() { [native code] }` assigned instead.
With webpack in the picture, here is what the browser actually executes:
``` js
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__array__ = __webpack_require__(22);
// […]
scale.range = function(_) {
return arguments.length ? (range = __WEBPACK_IMPORTED_MODULE_2__array__["a" /* slice */].call(_), rescale()) : range.slice();
};
```
or my debug version:
``` js
scale.range = function (_) {
var result;
if (arguments.length) {
console.log('change!');
console.log(range);
range = __WEBPACK_IMPORTED_MODULE_2__array__["a" /* slice */].call(_);
console.log(range);
result = rescale();
}
else {
result = range.slice();
}
return result;
};
```
I have rerouted `console.log()` and `console.error()` to append the logs to a DOM element, so I have a chance to see what happened when I open the F12 tools after things blew up. The log is:
```
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
change!
0,1
278.3333333333333,0
change!
0,1
0,885
change!
0,1
278.3333333333333,0
change!
0,1
function slice() { [native code] }
```
Continuing the program executing then runs into an exception when the `range` function is called without arguments:
```
TypeError: Object doesn't support property or method 'slice'
at scale.range (…)
at …
```
I have verified, that the webpack imported `slice` function is always the same.
I have tried to inline the webpack infrastructure, but that fixes the problem.
The same code works beautifully in Chrome.
The code works (much slower) when the F12 are open.
Help!
| Function.prototype.call returns the function itself instead of the real return value | https://api.github.com/repos/chakra-core/ChakraCore/issues/1415/comments | 33 | 2016-08-10T17:36:45Z | 2018-06-01T12:55:16Z | https://github.com/chakra-core/ChakraCore/issues/1415 | 170,474,861 | 1,415 |
[
"chakra-core",
"ChakraCore"
] | I think ChakraCore could implement tail calls without an undue performance penalty by using explicit frame pointers. As I understand it, LLVM _does_ support proper tail calls on Windows x64 (and does so even with separate compilation – so LLVM cannot just preallocate space in the caller, since it doesn't know the amount of stack space the callee will need). Therefore, LLVM must be able to emit proper unwind info, and I suspect they use a frame pointer for this case (the so-called `fastcall` LLVM calling convention).
| An idea for tail calls | https://api.github.com/repos/chakra-core/ChakraCore/issues/1410/comments | 9 | 2016-08-10T00:27:23Z | 2018-02-27T21:41:58Z | https://github.com/chakra-core/ChakraCore/issues/1410 | 170,302,154 | 1,410 |
[
"chakra-core",
"ChakraCore"
] | For example:
``` js
var obj = Object.create(null);
obj[Symbol.iterator]();
```
Actual: TypeError: Object doesn't support property or method 'ToString'
Expected: Object doesn't support property or method 'Symbol.iterator'
Or we could go with an error message similar to v8 and sm:
obj[Symbol.iterator] is not a function
| Incorrect error message for missing symbol methods | https://api.github.com/repos/chakra-core/ChakraCore/issues/1409/comments | 1 | 2016-08-09T20:14:25Z | 2016-11-01T19:29:46Z | https://github.com/chakra-core/ChakraCore/issues/1409 | 170,259,665 | 1,409 |
[
"chakra-core",
"ChakraCore"
] | Compare the outputs from Chrome:
```
var date = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));
var options = { weekday: 'short', month: 'numeric', day: 'numeric' };
console.log(new Intl.DateTimeFormat('en-US', options).format(date));
```
Chrome v51
```
Thu, 12/20
```
Edge 25.10586.0.0 EdgeHTML 13.10586
```
Thu, 12 20
```
If you specify Swedish (sv-SE) locale it gets even worse in Edge:
```
tor den 20 12
```
Chrome:
```
tors 20/12
```
I concider the output from Chrome to be more correct.
| Intl.DateTimeFormat incorrect formatting of date | https://api.github.com/repos/chakra-core/ChakraCore/issues/1408/comments | 8 | 2016-08-09T10:15:29Z | 2017-11-08T00:45:51Z | https://github.com/chakra-core/ChakraCore/issues/1408 | 170,130,766 | 1,408 |
[
"chakra-core",
"ChakraCore"
] | http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/x86_test/391/consoleFull
```
18:34:28 1>ERROR: Test failed to run correctly: timed out after 60 seconds ():
18:34:28 1> ch.exe -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.UnnamedTest879 D:\j\workspace\x86_test1761acdf\test\Object\Slow.js >testout644 2>&1
18:34:28 1>ERROR: name of output file: D:\j\workspace\x86_test1761acdf\test\Object\testout644; size: 6; creation: Mon Aug 8 18:33:05 2016, last access: Mon Aug 8 18:33:05 2016, now: Mon Aug 8 18:34:11 2016
18:34:28 1>ERROR: bad output file follows ============
18:34:28 1>pass
18:34:28 1>ERROR: end of bad output file ============
18:34:28 1>Summary: Object had 46 tests; 1 failures
```
```
18:34:28 2>ERROR: Test failed to run correctly: timed out after 60 seconds ():
18:34:28 2> ch.exe -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.UnnamedTest1208 D:\j\workspace\x86_test1761acdf\test\UnifiedRegex\WOOB1138949.js >testout909 2>&1
18:34:28 2>ERROR: name of output file: D:\j\workspace\x86_test1761acdf\test\UnifiedRegex\testout909; size: 7; creation: Mon Aug 8 18:33:39 2016, last access: Mon Aug 8 18:33:39 2016, now: Mon Aug 8 18:34:40 2016
18:34:28 2>ERROR: bad output file follows ============
18:34:28 2>start
18:34:28 2>ERROR: end of bad output file ============
18:34:28 2>Summary: UnifiedRegex had 23 tests; 1 failures
```
https://github.com/Microsoft/ChakraCore/wiki/Jenkins-Repro-Steps#windows
| [Windows] [master] {x86_test} Test timeouts causing build failure | https://api.github.com/repos/chakra-core/ChakraCore/issues/1407/comments | 1 | 2016-08-09T02:28:38Z | 2016-08-25T21:42:03Z | https://github.com/chakra-core/ChakraCore/issues/1407 | 170,068,162 | 1,407 |
[
"chakra-core",
"ChakraCore"
] | Intermittent test timeout in `Array/array_slice.js`
# OS X
Multiple instances:
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/osx_osx_debug_static/9/consoleText
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/osx_osx_debug_static/11/consoleText
```
[904/1248 60.11] Failed -> Array/array_slice.js
ERROR: Test timed out!
/Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/master/osx_osx_debug_static/BuildLinux/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- /Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/master/osx_osx_debug_static/test/Array/array_slice.js
Output:
----------------------------
1,2,3,4,5,6,7,8
4,5,6,7,8
1,2,3,4,5,6,7,8
2,3,4
3,4
----------------------------
exit code: -9
```
# Linux
http://dotnet-ci.cloudapp.net/job/Microsoft_ChakraCore/job/master/job/daily_ubuntu_linux_debug_static/31/console
```
[341/1249 60.03] Failed -> Array/array_slice.js
15:55:34 ERROR: Test timed out!
15:55:34 /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/BuildLinux/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- /mnt/j/workspace/workspace/Microsoft_ChakraCore/master/daily_ubuntu_linux_debug_static/test/Array/array_slice.js
15:55:34
15:55:34 Output:
15:55:34 ----------------------------
15:55:34
15:55:34
15:55:34 1,2,3,4,5,6,7,8
15:55:34 4,5,6,7,8
15:55:34
15:55:34 1,2,3,4,5,6,7,8
15:55:34 2,3,4
15:55:34 3,4
15:55:34
15:55:34
15:55:34
15:55:34
15:55:34 ----------------------------
15:55:34 exit code: -9
```
| [OSX, Ubuntu] [master] {debug} array_slice.js test timeout caused build failure | https://api.github.com/repos/chakra-core/ChakraCore/issues/1406/comments | 4 | 2016-08-09T02:22:48Z | 2016-08-12T21:43:50Z | https://github.com/chakra-core/ChakraCore/issues/1406 | 170,067,630 | 1,406 |
[
"chakra-core",
"ChakraCore"
] | Spidermonkey and V8 both support date formats like the in the subject.
Twitter is using this format on their mobile site with some UA strings so we should support it as well
| Date.parse for dates like "Wed Jul 20 23:31:54 +0000 2016" | https://api.github.com/repos/chakra-core/ChakraCore/issues/1402/comments | 13 | 2016-08-08T18:44:25Z | 2016-11-19T01:24:04Z | https://github.com/chakra-core/ChakraCore/issues/1402 | 169,995,256 | 1,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.