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"
] |
Follow-up from #85
### Possible Work Items
- [ ] Include a `change.json` file in the NuGet packages to provide easily-accessible information about the commit the package was built from.
- [ ] Integrate with [MyGet's SymbolSource infrastructure](http://docs.myget.org/docs/reference/symbolsource) to enable debugging when needed without having to ship the debugging symbols with every binary package.
- [ ] Split NuGet feeds for entire set of dev files versus just what is needed for deployment. (REVIEW: Is this useful? Possibly for scenarios which require low disk usage and/or low-bandwidth for downloading packages. What does "just deployment" look like?)
### Future Work (maybe split into a new issue)
- NuSpec for Linux and OS X Native Development
- NuSpec for Linux and OS X .NET Development
- MyGet feed for preview builds of Linux targeted binaries
- NuGet feed for official Linux and OS X builds
### Related to releases but not NuGet:
- [x] (See https://github.com/Microsoft/ChakraCore/issues/2278): Make xplat binaries more easily available to xplat users.
/cc (interested ChakraCore maintainers) @digitalinfinity @boingoing @liminzhu
/cc (folks from #85) @ormico @matthargett @pre10der89 @resnyanskiy @gulbanana @jimmcslim @Oceanswave
|
ChakraCore NuGet: Follow-Up Items
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2578/comments
| 4 |
2017-02-22T21:58:20Z
|
2019-06-07T19:07:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2578
| 209,594,349 | 2,578 |
[
"chakra-core",
"ChakraCore"
] |
With our efforts to enable cross-platform development, and recently, to enable the use of NuGet packages for ChakraCore development with .NET and Native apps (#85), as well as other work we've been doing to enable other scenarios, we're interested in hearing from the community about what you've been building with ChakraCore, and what you would like to build.
Besides the issues you file, the feedback you give us on Gitter, and other tags of the ChakraCore project, we don't have as much visibility into your needs as we would like, we're hoping to hear from you about anything you'd like to share with us about your projects.
Some questions we have in mind:
* What projects are you working on?
* What have your experiences been when working with ChakraCore?
* Is our documentation helpful? If not, how can we improve? Were you able to find answers to your questions?
* Have you written any blog posts or made any other public documentation about your experiences with ChakraCore? We'd love to read them!
* Is there anything we can do to improve your development experiences?
* Are you interested in contributing to ChakraCore but something is blocking you from making progress?
Below, I’m tagging some folks who replied to #85, various other GitHub issues, and/or on Gitter with interest in a NuGet package for .NET and/or Native apps, or have otherwise indicated interest in developing with ChakraCore:
@resnyanskiy @gulbanana @ormico @jimmcslim @Oceanswave @matthargett @pre10der @MartinJohns @Fishrock123 @WickedA @jackTheRipper @dthompso99 @CatCatCatDog @fubar-coder @alexhultman @snowmantw @kphillisjr @TomSeymour @navidR @liydu @likidu @lwansbrough @atanasovg @galvesribeiro @ReubenBond @ninlar @kostaspl @lwansbrough, etc.
/cc @digitalinfinity @boingoing @liminzhu @bterlson @aruneshchandra @edmaurer @sethgaurav
|
[Community] What are you building with ChakraCore?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2575/comments
| 55 |
2017-02-22T18:07:59Z
|
2018-05-16T22:11:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2575
| 209,535,046 | 2,575 |
[
"chakra-core",
"ChakraCore"
] |
This is fairly easy to demonstrate. I believe that declaring these three symbols as constants in ChakraCommon.h is a mistake as you can then never include ChakraCommon.h in multiple compilation units. Then again I don't have the greatest familiarity with the minutiae of C standards.
a.c
```c
#include <ChakraCore.h>
void do_hello_world(void);
int
main(int argc, char* argv[])
{
do_hello_world();
}
```
b.c
```c
#include <stdio.h>
#include <ChakraCore.h>
void
do_hello_world(void)
{
printf("Hello, World!\n");
}
```
Link failure
```bash
gcc -o bug a.c b.c
duplicate symbol _JS_SOURCE_CONTEXT_NONE in:
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/a-a26b4b.o
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/b-8eb111.o
duplicate symbol _JS_INVALID_RUNTIME_HANDLE in:
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/a-a26b4b.o
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/b-8eb111.o
duplicate symbol _JS_INVALID_REFERENCE in:
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/a-a26b4b.o
/var/folders/4p/51v2mtgj0rzg_66d5vr3mygh0000gn/T/b-8eb111.o
ld: 3 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
|
Duplicate symbols from constants when linking
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2574/comments
| 5 |
2017-02-22T17:32:37Z
|
2017-03-02T12:05:56Z
|
https://github.com/chakra-core/ChakraCore/issues/2574
| 209,525,960 | 2,574 |
[
"chakra-core",
"ChakraCore"
] |
By default, ChakraCore inserts stackoverflow checks into loop headers even though there doesn't seem to be any logic in ChakraCore, taking advantage of these "interrupts".
This simple testcase triggers this behaviour
```javascript
function AsmModule() {
"use asm";
function f1(){
var x=0;
while((x|0) < (2147483640|0)) {
x=x+1|0;
}
return (x)|0;
}
return f1
}
var f1 = AsmModule();
f1();
```
```
ch.exe -maic:0 -dump:encoder
```
A stackoverflow check inserted in a loop header.
```
212F8D50056 $L1: >>>>>>>>>>>>> LOOP TOP >>>>>>>>>>>>>
212F8D50056 s23(rax).u64 = MOV 0x020AF8BC0A88 (&StackLimit).u64
212F8D50060 CMP (rsp).i64, [s23(rax).u64 <0x020AF8BC0A88 (&StackLimit)>].i64
212F8D50063 JLE $L9
```
We were wondering if this behaviour could be disabled by default since these checks are worth a couple %s in asm.js/wasm emscripten worloads? @LouisLaf @dilijev
We have a PR w/ change (https://github.com/Microsoft/ChakraCore/pull/2569)
fyi: @arunetm
|
Stackoverflow checks (interrupts) in loops by default in ch.exe
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2572/comments
| 4 |
2017-02-21T23:24:28Z
|
2017-03-15T16:40:52Z
|
https://github.com/chakra-core/ChakraCore/issues/2572
| 209,304,805 | 2,572 |
[
"chakra-core",
"ChakraCore"
] |
Repro Steps:
[TestMethod]
1. Create a new JavascriptContext _[ContextA]_
2. allocate memory in user code
3. Create an ArrayBuffer[_Buffer1_] by calling JsCreateExternalArrayBuffer with memory pointer in step 2
4. Set the ArrayBuffer to a javascript variant and hold the variant with JSAddRef
5. Read ArrayBuffer[_Buffer2_] from same javascript variant by calling JsGetProperty
6. release the allocated memory
7. Release ArrayBuffer[_Buffer1_] by calling JSRelease
8. Release ContextA by calling JSRelease
repeat the [TestMethod] several times, you will get an "System.AccessViolationException" at step 5.
the memory pointers allocated at step2 are random
you can find the repro code at [https://github.com/JohnMasen/ChakraCore.NET] (https://github.com/JohnMasen/ChakraCore.NET)
UnitTestPlayList: CrossContextArrayBufferCrash.playlist
you may need repeat it several times to repro this issue.
|
Get an ArrayBuffer created by [ExternalArrayBuffer] may cause memory access violation exception
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2567/comments
| 1 |
2017-02-20T05:14:06Z
|
2017-02-21T07:38:12Z
|
https://github.com/chakra-core/ChakraCore/issues/2567
| 208,785,798 | 2,567 |
[
"chakra-core",
"ChakraCore"
] |
Hi,
I’m trying to use the built in JSRT engine to build a simple non-visual browser for crawling and data scraping solution. I’m following HTML5 WHATWG specifications.
One point that I don’t know whether it is possible in JSRT or not is the ability to pause the execution of a script, execute another one and then resume the paused script. This is one of the requirements defined in HTML5 specs as described here [https://html.spec.whatwg.org/multipage/scripting.html#script-processing-model
](url)
In some situations, HTML5 requires to ”Immediately execute the script block, even if other scripts are already executing.” This is defined as “an operation that is to run immediately must interrupt the currently running task, run itself, and then resume the previously running task”
This point is important especially when handling dynamically created and inserted scripts into the DOM. Otherwise, the script engine may block the HTML parser.
I’m aware about JsDisableRuntimeExecution API but this as I know will cancel the execution on the whole runtime, and there is no way to resume the execution again. Also, this is not suitable as I may have multiple execution contexts (for example when dealing with Iframes and other types of nested browsing contexts).
Any idea how to achieve pause and resume behavior in JSRT. Or any workarounds?
Regards,
Atef
|
Is it possible to pause and resume script execution in JSRT?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2566/comments
| 3 |
2017-02-19T00:03:20Z
|
2017-03-04T02:54:06Z
|
https://github.com/chakra-core/ChakraCore/issues/2566
| 208,681,769 | 2,566 |
[
"chakra-core",
"ChakraCore"
] |
Is it true that ChakraCore provides the same level of security as the Edge browser? Are there any additional precautions that should be taken when running scripts with ch.exe?
|
ChakraCore vs Edge security
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2565/comments
| 4 |
2017-02-18T21:21:00Z
|
2017-02-23T06:17:54Z
|
https://github.com/chakra-core/ChakraCore/issues/2565
| 208,672,396 | 2,565 |
[
"chakra-core",
"ChakraCore"
] |
Hello,
I have a piece of code where I need to create a list of empty objects with the keys from -8 to 8 and values for these keys needs to be {value: i} objects. For the most part, the code works fine until suddenly the edge browser stops the creation of the object lists.
Normally the object always has keys from -8, -7, -6 .... 0 .... +6, +7, +8 with corresponding objects.
But after the (kind of) crash the map only has 1 key as 8 with corresponding value.
I suspect it is a bug in the Chakra Engine. See picture below:

Please keep in consideration that this happens only in case of extremely fast execution scenarios like dragging an object for continuous calculations.
|
Cannot create a list of objects
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2561/comments
| 5 |
2017-02-17T13:42:55Z
|
2018-06-06T18:58:46Z
|
https://github.com/chakra-core/ChakraCore/issues/2561
| 208,445,399 | 2,561 |
[
"chakra-core",
"ChakraCore"
] |
```js
var x = Object.create(null, { A: {value: 1, enumerable: true} });
console.log(x);
```
```cmd
ch.exe e:\temp\test.js
TypeError: String expected
at Global code (e:\temp\http.js:2:1)
```
|
Printing object from Object.assign throws TypeError
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2556/comments
| 2 |
2017-02-17T02:31:04Z
|
2020-03-25T23:14:09Z
|
https://github.com/chakra-core/ChakraCore/issues/2556
| 208,315,328 | 2,556 |
[
"chakra-core",
"ChakraCore"
] |
_TL;DR: Remove VS 2013 support in ChakraCore so we can use the full C++11 feature set, following suit with the rest of the C++ community._
# Proposal
Drop support for ChakraCore build using VS 2013 tools.
Require VS 2015 toolset.
# Proposed Plan
Remove VS2013 support as part of v2.0 release of ChakraCore.
Maintain VS2013 support in v1.x release branches.
# Impact
No impact on JSRT consumers since JSRT is a C API.
No impact on Nuget consumers since prebuilt binaries provided.
Impact users that build ChakraCore 2.0+ from source. Require them to upgrade their MSVC build toolset to minimum VS 2015.
# Motivation
* MSVC in VS 2013 is not fully C++11 compliant
* Our minimum supported clang build on Linux and MacOS is fully C++11 compliant
* The C++ community has been moving to C++11 code for many years now
* Chakra developers wish to use C++11 features unavailable in VS2013, e.g. constexpr
* e.g. #309 #456 #1484 #1686
# Supporting Motivation
Node.js has dropped VS2013 support in favor of using C++11 features. Node.js v6.8 (Oct 12 2016) and v7.x (upcoming) do not support VS2013, only VS2015.
* https://github.com/nodejs/node/issues/7484
* https://github.com/nodejs/node/issues/7989#issuecomment-252294090
ICU v58 (released Oct 24 2016) does not support VS2013, requires VS2015 or cygwin for Windows builds.
* http://site.icu-project.org/download/58
BlueJeans are not dependent on VS2013, they are using VS2015.3
* https://gitter.im/Microsoft/ChakraCore?at=58a4d329f045df0a2251e0dc
Users who wish to compile ChakraCore can easily do so with access to VS2015 MSVC toolset for free from the Microsoft Visual C++ Build Tools 2015
* https://blogs.msdn.microsoft.com/vcblog/2016/03/31/announcing-the-official-release-of-the-visual-c-build-tools-2015/
#### C++ 11/14/17 compiler support reference table
* http://en.cppreference.com/w/cpp/compiler_support
|
Proposal: Become C++11 code base, Remove Support for VS 2013 builds
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2549/comments
| 18 |
2017-02-16T23:46:37Z
|
2017-10-17T22:44:19Z
|
https://github.com/chakra-core/ChakraCore/issues/2549
| 208,285,980 | 2,549 |
[
"chakra-core",
"ChakraCore"
] |
Is creating a Proxy via JsDefineProperty really the only way to do this? That seems really inefficient, accessing the get/set members of the proxy each time, dispatching a function call, etc?
Am I wrong in assuming that it's using the Proxy backbone, and it's handled more efficiently internally?
Or is this something that would traditionally be done lower level than JSRT? Am I wrong in using only JSRT?
|
Question: Binding properties to C++?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2546/comments
| 6 |
2017-02-16T21:31:45Z
|
2017-02-26T23:31:30Z
|
https://github.com/chakra-core/ChakraCore/issues/2546
| 208,252,986 | 2,546 |
[
"chakra-core",
"ChakraCore"
] |
I apologies if this is the wrong place to ask this question. I couldn't find a more appropriate place.
I am looking to create a function from C++ that will return a promise to the callee in JS. Then be able to resolve/reject it when a async task has been completed natively. Something similar to `v8::Promise::Resolver`
I can't see anything in the docs, nor the source. Is there a way to do such a think in ChakraCore at the moment?
|
[JSRT] Promise API enhancements
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2541/comments
| 28 |
2017-02-16T08:44:49Z
|
2017-03-03T00:26:04Z
|
https://github.com/chakra-core/ChakraCore/issues/2541
| 208,055,930 | 2,541 |
[
"chakra-core",
"ChakraCore"
] |
This throws an error: Destructuring expressions can only have identifier references
```
class Foo {
flip() {
[this.indexA, this.indexB] = [this.indexB, this.indexA];
}
}
```
This works:
```
class Foo {
flip() {
let { indexA, indexB } = this;
[indexA, indexB] = [this.indexB, this.indexA];
this.indexA = indexA;
this.indexB = indexB;
}
}
```
Microsoft Edge 38.14393.0.0
Confirmed working in Firefox and Chrome
|
Array destructuring throws an error
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2536/comments
| 4 |
2017-02-15T21:15:05Z
|
2017-02-17T00:50:01Z
|
https://github.com/chakra-core/ChakraCore/issues/2536
| 207,929,611 | 2,536 |
[
"chakra-core",
"ChakraCore"
] |
I've noticed there's a similar issue has been reported here: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/6664966/, but it's marked "NOT REPRODUCIBLE". Therefore I'd like to report it here with more detailed information:
I have a class like this:
```
class Point{
constructor(x = 0, y = 0) {
this.x = Number(x);
this.y = Number(y);
}
add(point){...}
subtract(point){...}
}
```
We have a really complex system, therefore there will be thousand of Point instance, and after a lot of instances are created, new Point() will not return the new instance, instead, it returns the class declaration it-self.
Here's my test code:
```
var p = new Point(0,0);
if(!p.add){
if(p == Point)
console.write("boom!");
}
```
And yes, I get quite a few "boom!" in Edge. The same code works fine in the other browsers.
Here are what I can tell about this error:
1. it happens with any class that comes with large number of instance when the browser is in heavy loads
2. when it happens, "new" keyword returns the class definition, not the instance
3. when debug from visual studio 2015, I tried to re-run the code by dragging the executing point when it stops on exception, then it just works
I may deploy my system to internet in 1 month, if you can't reproduce it, please let me known, this error is 100% reproduceable with our system.
|
ES6: Create a lot of instances: error Object doesn't support property or method
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2532/comments
| 10 |
2017-02-15T09:16:19Z
|
2017-03-06T17:18:12Z
|
https://github.com/chakra-core/ChakraCore/issues/2532
| 207,746,546 | 2,532 |
[
"chakra-core",
"ChakraCore"
] |
http://www.ecma-international.org/ecma-262/7.0/#sec-host-promise-rejection-tracker
The following should log an error or warning on console:
```js
new Promise((resolve, reject) => reject())
```
(Moved from [UserVoice](https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/16665397-detect-unhandled-promise-rejection?tracking_code=4f4e218df62afae7db37fb5be5f4ff1c))
|
Detect unhandled promise rejection
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2530/comments
| 26 |
2017-02-15T03:03:38Z
|
2020-03-25T08:32:15Z
|
https://github.com/chakra-core/ChakraCore/issues/2530
| 207,696,826 | 2,530 |
[
"chakra-core",
"ChakraCore"
] |
Example:
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/osx_osx_debug_static_prtest/549/consoleFull#-1719471233c7453dd6-bf4f-4ae9-9fca-50f9ec7ab19e
Snippet:
```
[1261/1973 3.06] Failed -> WasmSpec/spec.js
14:45:31 /Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/master/osx_osx_debug_static_prtest/out/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.2492 -wasm -args testsuite-bin/f64.json -endargs /Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/master/osx_osx_debug_static_prtest/test/WasmSpec/spec.js
14:45:31
14:45:31 Output:
14:45:31 ----------------------------
14:45:31 2395/2395 tests passed.
14:45:31
14:45:31 ----------------------------
14:45:31 exit code: -11
```
(Test output is correct, it's only the exit code that's a problem.)
Tor reference -11 = 0xFFFFFFF5, but I haven't gone looking for the error code yet.
|
Exit code -11 causing xplat tests to fail intermittently
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2517/comments
| 4 |
2017-02-11T01:54:24Z
|
2017-02-16T23:53:29Z
|
https://github.com/chakra-core/ChakraCore/issues/2517
| 206,948,432 | 2,517 |
[
"chakra-core",
"ChakraCore"
] |
Tested with the following:
(0.88).toString(5)
(1.88).toString(5)
(10.88).toString(5)
and the results were:
0.420000000000000000000004
1.41444444444444444444443
20.4200000000000000000001
The result for (1.88).toString(5) seems to be incorrect. Was expecting something closer to 1.42
|
Number of significant figures displayed when converting floats to base 5 with (float).toString(5) differs from other engines
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2512/comments
| 7 |
2017-02-10T09:37:49Z
|
2018-03-27T15:05:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2512
| 206,748,869 | 2,512 |
[
"chakra-core",
"ChakraCore"
] |
The error I met looks like following:
> chakracore.h(215): error C4430: missing type specifier - int assum
And it is because of the
> chakracore.h(215): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
> chakracore.h(215): error C2143: syntax error: missing ',' before '*'
> chakracore.h(273): error C2061: syntax error: identifier 'uint16_t'
The reason is because of the uint16_t is not defined in the following function in ChakraCore.h.
```
JsCopyStringUtf16(
_In_ JsValueRef value,
_In_ int start,
_In_ int length,
_Out_opt_ uint16_t* buffer,
_Out_opt_ size_t* written);
```
The root cause of this issue is that, I am using Visual Studio 2015 and the _MSC_VER is 1900, so the following check will fail, and uint16_t will not be defined.
```
#if (defined(_MSC_VER) && _MSC_VER < 1900) || (!defined(_MSC_VER) && __cplusplus <= 199711L) // !C++11
typedef unsigned short uint16_t;
#endif
```
|
Following "Embedding ChakraCore" and meet compile errors while building on windows
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2510/comments
| 2 |
2017-02-10T08:45:21Z
|
2017-02-14T20:33:46Z
|
https://github.com/chakra-core/ChakraCore/issues/2510
| 206,738,826 | 2,510 |
[
"chakra-core",
"ChakraCore"
] |
Follow-up from issue #109
Initial implementation merged into `release/1.4` in time for v1.4.1. (PR #2490)
See also issue #2472
# Follow-Up Work Items
(Will be followed-up in `master`.)
* [ ] Error checking/reporting: #2617
* [ ] Windows Official Builds: Additionally report branch, hash, build number, build date.
* Trivially, this could be the file description directly: `release/1.4:6b404ca7761420ec8634ce7888c6fd2ca1ed01f5.00009.64404.161220-2254` which is `<branch>:<hash>.<buildID-part1>.<buildID-part2>.<build-date>`. The output would look like **Listing 1**.
* Alternately, could take that info and parse it into a clearer format like **Listing 2**.
* [ ] Dev (Private) Builds on Windows: Report that it is a dev build by adding `-dev` or `-private` suffix to build number (e.g. `2.0.0.0-dev`). Much of the official build metadata would be missing, see **Listing 3**.
* [ ] Xplat Builds (cc @obastemur -- what do you think?)
* [ ] Embed information in the binary that can be read in a way like how we read it from `ChakraCore.dll` on Windows. Most likely needs cmake modification.
* [ ] Implement reading this information to report version info for xplat binaries.
**Listing 1 (official builds -- proposed output -- short variant):**
```
ch.exe version 1.4.1.0
release/1.4:6b404ca7761420ec8634ce7888c6fd2ca1ed01f5.00009.64404.161220-2254
chakracore.dll version 1.4.1.0
release/1.4:6b404ca7761420ec8634ce7888c6fd2ca1ed01f5.00009.64404.161220-2254
```
**Listing 2 (official builds -- proposed output -- verbose variant):**
```
ch.exe version 1.4.1.0 release/1.4@6b404ca7
Branch: release/1.4
Hash: 6b404ca7761420ec8634ce7888c6fd2ca1ed01f5
Build Number: 00009.64404
Build Date: 161220-2254
chakracore.dll version 1.4.1.0 release/1.4@6b404ca7
Branch: release/1.4
Hash: 6b404ca7761420ec8634ce7888c6fd2ca1ed01f5
Build Number: 00009.64404
Build Date: 161220-2254
```
**Listing 3 (dev builds -- proposed):**
```
ch.exe version 1.4.1.0-dev
chakracore.dll version 1.4.1.0-dev
```
/cc @tcare @curtisman @obastemur @bterlson @mathiasbynens
|
Follow-up items: ch -v and --version
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2505/comments
| 6 |
2017-02-09T23:48:20Z
|
2019-06-07T19:07:25Z
|
https://github.com/chakra-core/ChakraCore/issues/2505
| 206,665,212 | 2,505 |
[
"chakra-core",
"ChakraCore"
] |
https://github.com/Microsoft/ChakraCore/issues/1496#issuecomment-276930383
Repro here: https://gist.github.com/michabaur/2a627a3e7a5703dbd682b6ef3274e5dc
Also repros without 'require.min.js'.
No repro if class is defined/declared in the same scriptContext.
|
ES6 constructor returns class instead of object while switching F12 on or off
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2499/comments
| 1 |
2017-02-09T19:51:14Z
|
2017-02-10T01:08:36Z
|
https://github.com/chakra-core/ChakraCore/issues/2499
| 206,611,510 | 2,499 |
[
"chakra-core",
"ChakraCore"
] |
When the next version of MSVC is released you will start getting a C4244 warning from the Catch library. This has been addressed already in Catch, so you may want to move to the latest. (see comments from philsquared on https://github.com/philsquared/Catch/pull/756)
|
Update Catch library to avoid compiler warning C4244
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2495/comments
| 3 |
2017-02-08T21:53:05Z
|
2018-03-05T03:20:35Z
|
https://github.com/chakra-core/ChakraCore/issues/2495
| 206,336,284 | 2,495 |
[
"chakra-core",
"ChakraCore"
] |
I'm not sure if this belongs here or in the Edge bug tracker.
Built-in functions have a 'prototype' property in Edge, but no other browser (eg. `alert.hasOwnProperty('prototype')` is true in Edge, but false in every other browser).
I think this is defined by [CreateBuiltinFunction](https://tc39.github.io/ecma262/#sec-createbuiltinfunction) which doesn't say anything about adding a property named `prototype`.
I ask just because I'm trying to measure the exposed API surface area differences between browsers, and this was confusing our tooling.
|
Built-in functions in Edge have 'prototype' properties
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2494/comments
| 4 |
2017-02-08T20:48:28Z
|
2017-05-17T20:35:50Z
|
https://github.com/chakra-core/ChakraCore/issues/2494
| 206,320,011 | 2,494 |
[
"chakra-core",
"ChakraCore"
] |
This is a follow up in https://github.com/Microsoft/ChakraCore/pull/2267.
|
-off:constfold is broken for many inline built-ins
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2488/comments
| 1 |
2017-02-08T01:25:53Z
|
2017-05-17T22:52:46Z
|
https://github.com/chakra-core/ChakraCore/issues/2488
| 206,068,436 | 2,488 |
[
"chakra-core",
"ChakraCore"
] |
Version: cb7817bda7e4b265e7a7364641123e20204facfd
Platform: Ubuntu x64
Test case:
```js
var proxy = new Proxy(function(){}, {});
class C extends proxy {
constructor() {
super(Object.setPrototypeOf(C, function(){}))
}
}
Reflect.construct(C, [], proxy);
```
Results in nullptr-crash resp. assertion error in debug mode:
```
ASSERTION 5640: (/home/andre/git/ChakraCore/lib/Runtime/./Language/JavascriptOperators.inl, line 11) GetTypeId aValue is null
Failure: (aValue != nullptr)
```
|
Crash/Assertion error when changing class prototype during super-call with proxy
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2484/comments
| 2 |
2017-02-07T20:46:13Z
|
2017-06-17T00:51:39Z
|
https://github.com/chakra-core/ChakraCore/issues/2484
| 206,009,346 | 2,484 |
[
"chakra-core",
"ChakraCore"
] |
Version: cb7817bda7e4b265e7a7364641123e20204facfd
Platform: Ubuntu x64
Test case:
```js
var {proxy, revoke} = Proxy.revocable(() => {}, {
get apply() {
revoke();
}
});
proxy();
```
Results in nullptr-crash resp. assertion error in debug mode:
```
ASSERTION 5592: (/home/andre/git/ChakraCore/lib/Jsrt/../Runtime/Types/RecyclableObject.inl, line 13) RecyclableObject::Is aValue is null
Failure: (aValue != nullptr)
```
Similar issues are present for the other proxy traps.
|
Crash/Assertion error when revoking proxy during proxy operation
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2483/comments
| 1 |
2017-02-07T20:46:11Z
|
2017-02-13T22:08:08Z
|
https://github.com/chakra-core/ChakraCore/issues/2483
| 206,009,341 | 2,483 |
[
"chakra-core",
"ChakraCore"
] |
Version: cb7817bda7e4b265e7a7364641123e20204facfd
Platform: Ubuntu x64
Test case:
```js
var i = 0;
JSON.stringify(new Proxy([], {
get(t, pk, r){
if (pk === "length") {
return ++i;
}
return Reflect.get(t, pk, r);
}
}));
```
Triggers this assertion:
```
ASSERTION 5573: (/home/andre/git/ChakraCore/lib/Runtime/Library/JSON.cpp, line 780) Js::JavascriptConversion::ToLength(Js::JavascriptOperators::OP_GetLength(value, scriptContext), scriptContext) == length
Failure: (Js::JavascriptConversion::ToLength(Js::JavascriptOperators::OP_GetLength(value, scriptContext), scriptContext) == length)
```
|
"length" property assertion in JSON.cpp can be triggered with proxy
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2482/comments
| 3 |
2017-02-07T20:46:09Z
|
2017-02-10T18:32:17Z
|
https://github.com/chakra-core/ChakraCore/issues/2482
| 206,009,331 | 2,482 |
[
"chakra-core",
"ChakraCore"
] |
Version: cb7817bda7e4b265e7a7364641123e20204facfd
Platform: Ubuntu x64
Test case:
```js
var it = function*() {
try {
throw [void 0];
} catch ([c = (yield c)]) {
}
}();
it.next();
```
Stack trace from gdb:
```
0x00007ffff3117438 in Memory::RecyclerRootPtr<ThreadContext::RecyclableData>::operator-> (
this=0x11b8) at /home/andre/git/ChakraCore/lib/Common/Memory/RecyclerRootPtr.h:18
18 T * operator->() const { Assert(ptr != nullptr); return ptr; }
(gdb) bt
#0 0x00007ffff3117438 in Memory::RecyclerRootPtr<ThreadContext::RecyclableData>::operator-> (
this=0x11b8) at /home/andre/git/ChakraCore/lib/Common/Memory/RecyclerRootPtr.h:18
#1 0x00007ffff3d3c01a in ThreadContext::SaveTempUncaughtException (this=0x0,
exceptionObject=0x7fffefc9c000)
at /home/andre/git/ChakraCore/lib/Runtime/./Base/ThreadContext.h:1359
#2 0x00007ffff3d3668a in Js::JavascriptExceptionOperators::DoThrow (
exceptionObject=0x7fffefc9c000, scriptContext=0x7fffefd80000)
at /home/andre/git/ChakraCore/lib/Runtime/Language/JavascriptExceptionOperators.cpp:873
#3 0x00007ffff3d6b1cd in Js::JavascriptOperators::OP_ResumeYield (yieldData=0x7fffefd51680,
iterator=0x0) at /home/andre/git/ChakraCore/lib/Runtime/Language/JavascriptOperators.cpp:9785
#4 0x00007ffff3cf0cfc in Js::InterpreterStackFrame::OP_ResumeYield (this=0x7fffefd0c000,
yieldDataVar=0x7fffefd51680, yieldStarIterator=4294967295)
...
```
|
Crash when yielding variable in TDZ in CatchParameter default expression
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2481/comments
| 3 |
2017-02-07T20:46:08Z
|
2017-02-17T19:04:57Z
|
https://github.com/chakra-core/ChakraCore/issues/2481
| 206,009,317 | 2,481 |
[
"chakra-core",
"ChakraCore"
] |
[Reproduce here](https://output.jsbin.com/fuqukov/quiet).
Steps to reproduce:
* Call `history.pushState(anything, anything, undefined)`
* Notice the page path changes to `/undefined`
### Expected Behavior
The third URL parameter is optional and the current path should be used when URL is not passed.
### Versions
Edge 25.10586.672.0
EdgeHTML 13.10586
|
history.pushState updates page path to /undefined when optional URL is undefined
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2479/comments
| 2 |
2017-02-06T23:25:55Z
|
2017-02-06T23:43:48Z
|
https://github.com/chakra-core/ChakraCore/issues/2479
| 205,738,928 | 2,479 |
[
"chakra-core",
"ChakraCore"
] |
Does running wasm requires special build/runtime flags?
Running `ch.exe test.js` gives error like `ReferenceError: 'WebAssembly' is undefined`
|
[Question] Running wasm code in ch.exe?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2475/comments
| 5 |
2017-02-06T14:40:09Z
|
2017-02-07T18:43:02Z
|
https://github.com/chakra-core/ChakraCore/issues/2475
| 205,602,816 | 2,475 |
[
"chakra-core",
"ChakraCore"
] |
There is currently no way to figure out the version of a given `ch` binary built in release mode:
```
$ ch -v
Error in opening file: -v: No such file or directory
$ ch --version
Error in opening file: --version: No such file or directory
```
Please consider making `-v` / `--version` (and possibly `-h` / `--help`) output something useful.
|
Support -v / --version in `ch` binary
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2472/comments
| 6 |
2017-02-04T09:16:21Z
|
2017-02-09T03:03:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2472
| 205,335,351 | 2,472 |
[
"chakra-core",
"ChakraCore"
] |
Symbol.for internally uses wcscmp for comparing contents of strings used as keys. Thus the following prints `true` when it should be `false`:
```
console.log(Symbol.for('A\0Z') === Symbol.for('A\0z'))
```
Also verified that v8 prints `false`.
|
Symbol.for and strings with embedded nulls
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2471/comments
| 3 |
2017-02-04T02:21:56Z
|
2017-07-11T00:36:13Z
|
https://github.com/chakra-core/ChakraCore/issues/2471
| 205,315,728 | 2,471 |
[
"chakra-core",
"ChakraCore"
] |
I have a C# object that I convert to javascript and pass it on to chakra. The javascript code can modify the object. For example
element.active = false;
Is it possible to get a notification of the change/or the new state of the object?
|
Modification of a object inside javascript
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2466/comments
| 5 |
2017-02-03T19:31:27Z
|
2017-03-04T02:54:38Z
|
https://github.com/chakra-core/ChakraCore/issues/2466
| 205,248,261 | 2,466 |
[
"chakra-core",
"ChakraCore"
] |
Hi Team,
Do you have plans to support chakracore for Windows 8.1 store apps,
Thanks,
Pallam Madhukar
|
ChakraCore support to Windows 8.1 store apps
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2464/comments
| 3 |
2017-02-03T13:52:17Z
|
2017-03-04T02:56:13Z
|
https://github.com/chakra-core/ChakraCore/issues/2464
| 205,162,470 | 2,464 |
[
"chakra-core",
"ChakraCore"
] |
https://ci.dot.net/job/Microsoft_ChakraCore/job/release_1.3/job/osx_osx_debug_static_prtest/9/consoleFull#1955843533c7453dd6-bf4f-4ae9-9fca-50f9ec7ab19e
```
[933/1601 60.16] Failed -> Operators/instanceof.js
19:02:18
ERROR: Test timed out!
19:02:18 /Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/release_1.3/osx_osx_debug_static_prtest/BuildLinux/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.1088 /Users/dotnet-bot/j/workspace/Microsoft_ChakraCore/release_1.3/osx_osx_debug_static_prtest/test/Operators/instanceof.js
```
|
Operators/instanceof.js timed out on OS X (might consider marking test as Slow)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2463/comments
| 1 |
2017-02-03T03:34:43Z
|
2017-02-03T16:27:52Z
|
https://github.com/chakra-core/ChakraCore/issues/2463
| 205,064,035 | 2,463 |
[
"chakra-core",
"ChakraCore"
] |
From discussion in #2420
Enable support environment configurations such that `python` will invoke a Python 3 binary. As long as they have a Python 2 binary installed, build.sh (which invokes jstoc.py) should still work, or provide reasonable instructions for enabling it to work which doesn't require rewriting the script.
This requires detecting whether `python` is a Python 2 binary. If so, use it. If not, ask the user to either ensure that `python` refers to a python 2 binary, or specify a path to a Python 2 binary as a parameter of build.sh, so that they don't necessarily have to modify their environment to enable building ChakraCore.
If the parameter is present, confirm that it is a python 2 binary and if so, use it. Otherwise, fall back on the above logic.
|
xplat: Although Python 2 is required, allow build.sh to take a path to a Python 2 binary in case `python` refers to Python 3.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2462/comments
| 9 |
2017-02-03T03:01:41Z
|
2018-03-01T01:31:43Z
|
https://github.com/chakra-core/ChakraCore/issues/2462
| 205,060,398 | 2,462 |
[
"chakra-core",
"ChakraCore"
] |
We have been working under the assumption that every Function object for the same FunctionBody share the same entry points.
This is wrong in some scenario, including when we queue for jit and if the type of the function is changed (e.g.: adding a property to 1 of the function)
This mixed with deferred parsing in WebAssembly can have some unforeseen consequences.
#2451 fixes the known issues superficially, but this needs deeper thinking to guaranty a consistent behavior.
One idea is to have the functions always check for code gen before going to the interpreter.
|
Wasm/Asm.js: Entrypoints sharing
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2452/comments
| 0 |
2017-02-02T01:55:27Z
|
2018-07-19T23:59:53Z
|
https://github.com/chakra-core/ChakraCore/issues/2452
| 204,761,590 | 2,452 |
[
"chakra-core",
"ChakraCore"
] |
https://ci2.dot.net/job/Microsoft_ChakraCore/job/release_1.4/job/daily_dev12_x64_debug/46/consoleFull#444524246a82fefab-f698-416f-8fca-58544c94cd4e
```
d:\j\workspace\daily_dev12_x---863a89ef\lib\wasmreader\WasmSection.h(34): error C2220: warning treated as error - no 'object' file generated [D:\j\workspace\daily_dev12_x---863a89ef\lib\Runtime\ByteCode\Chakra.Runtime.ByteCode.vcxproj]
15:38:23 d:\j\workspace\daily_dev12_x---863a89ef\lib\wasmreader\WasmSection.h(34): warning C4510: 'Wasm::SectionInfo' : default constructor could not be generated [D:\j\workspace\daily_dev12_x---863a89ef\lib\Runtime\ByteCode\Chakra.Runtime.ByteCode.vcxproj]
15:38:23 d:\j\workspace\daily_dev12_x---863a89ef\lib\wasmreader\WasmSection.h(27) : see declaration of 'Wasm::SectionInfo'
```
|
Wasm: [Legacy] Build Failure: Wasm::SectionInfo default constructor could not be generated (branches: release/1.4, master)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2442/comments
| 1 |
2017-02-01T02:30:13Z
|
2017-02-01T22:49:38Z
|
https://github.com/chakra-core/ChakraCore/issues/2442
| 204,482,598 | 2,442 |
[
"chakra-core",
"ChakraCore"
] |
example: https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/osx_osx_debug_static_prtest/499/consoleFull#-6979763608e0874ef-d7b9-48c9-8534-651e263c5754
|
regex-unicode-CaseInsensitive-all-*.js tests timeout infrequently.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2440/comments
| 0 |
2017-02-01T02:15:14Z
|
2017-02-02T02:20:24Z
|
https://github.com/chakra-core/ChakraCore/issues/2440
| 204,480,738 | 2,440 |
[
"chakra-core",
"ChakraCore"
] |
If the debugger is attached while running a yielded function, it is possible to modify the YieldRegister while reparsing for debugger.
When resuming the yield, we use the incorrect register and read wrong data resulting in undefined behavior (crash in the repro code).
Repro Code
```js
function attach() {
return new Promise(function (r) {
WScript.Attach(r);
});
}
async function mainTest() {
for (let i = 0; i < 1; ++i) {
await attach();
}
}
mainTest();
```
|
Yield register change after reparse for debugger
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2437/comments
| 1 |
2017-01-31T20:46:55Z
|
2017-07-29T06:37:54Z
|
https://github.com/chakra-core/ChakraCore/issues/2437
| 204,418,770 | 2,437 |
[
"chakra-core",
"ChakraCore"
] |
I am using plotly.js to plot an exponential plot with MS Edge.
It runs fine on Firefox, Safari, Chrome and Internet Explorer, but on Edge it reports the argument of the exp function being out of range, reporting:
> SCRIPT5026: The number of fractional digits is out of range
The code is compiled from [Transcrypt](http://www.transcrypt.org).
The Python / Transcrypt source is:
```
xValues = list (range (10))
yValues = [math.exp (x**2) for x in xValues]
kind = 'logarithmic'
Plotly.plot (
kind,
[
{
x: xValues,
y: yValues
}
],
{
title: kind,
xaxis: {title: 'x'},
yaxis: {type: 'log', tickformat: '2e', title: 'exp (x**2)'}
}
)
```
The generated JavaScript, running directly on Edge is:
```
var xValues = list (range (10));
var yValues = function () {
var __accu0__ = [];
var __iterable0__ = xValues;
for (var __index0__ = 0; __index0__ < __iterable0__.length; __index0__++) {
var x = __iterable0__ [__index0__];
__accu0__.append (math.exp (Math.pow (x, 2)));
}
return __accu0__;
} ();
var kind = 'logarithmic';
Plotly.plot (kind, list ([dict ({x: xValues, y: yValues})]), dict ({title: kind, xaxis: dict ({title: 'x'}), yaxis: dict ({type: 'log', tickformat: '2e', title: 'exp (x**2)'})}));
}
```
You can run / debug this code live at: http://www.transcrypt.org/live/transcrypt/demos/plotly_demo/plotly_demo.min.html
N.B. It's just JavaScript, the fact that it's generated from Transcrypt shouldn't make any difference.
Seems the error emerges somewhere from the plotly library.
However it runs fine on all other browsers, so there seems to be an anomaly in Edge.
Kind regards
Jacques de Hooge
P.S. Probably the error is caused somehow by the Chakra code found here, spot marked with // !!!
https://github.com/Microsoft/ChakraCore/blob/e295155dac83b3479020f47cb5450cb8ab2f5176/lib/Runtime/Library/JavascriptNumber.cpp
containing the following:
```
Var JavascriptNumber::EntryToExponential(RecyclableObject* function, CallInfo callInfo, ...)
{
PROBE_STACK(function->GetScriptContext(), Js::Constants::MinStackDefault);
ARGUMENTS(args, callInfo);
ScriptContext* scriptContext = function->GetScriptContext();
Assert(!(callInfo.Flags & CallFlags_New));
if (args.Info.Count == 0)
{
JavascriptError::ThrowTypeError(scriptContext, JSERR_This_NeedNumber, _u("Number.prototype.toExponential"));
}
AssertMsg(args.Info.Count > 0, "negative arg count");
// spec implies ToExp is not generic. 'this' must be a number
double value;
if (!GetThisValue(args[0], &value))
{
if (JavascriptOperators::GetTypeId(args[0]) == TypeIds_HostDispatch)
{
Var result;
if (RecyclableObject::FromVar(args[0])->InvokeBuiltInOperationRemotely(EntryToExponential, args, &result))
{
return result;
}
}
JavascriptError::ThrowTypeError(scriptContext, JSERR_This_NeedNumber, _u("Number.prototype.toExponential"));
}
JavascriptString * nanF;
if (nullptr != (nanF = ToStringNanOrInfinite(value, scriptContext)))
return nanF;
// If the Fraction param. is not present we have to output as many fractional digits as we can
int fractionDigits = -1;
if(args.Info.Count > 1)
{
//use the first arg as the fraction digits, ignore the rest.
Var aFractionDigits = args[1];
// shortcut for tagged int's
if(TaggedInt::Is(aFractionDigits))
{
fractionDigits = TaggedInt::ToInt32(aFractionDigits);
}
else if(JavascriptOperators::GetTypeId(aFractionDigits) == TypeIds_Undefined)
; // fraction digits = -1
else
{
fractionDigits = (int)JavascriptConversion::ToInteger(aFractionDigits, scriptContext);
}
if( fractionDigits < 0 || fractionDigits >20 )
{
JavascriptError::ThrowRangeError(scriptContext, JSERR_FractionOutOfRange); // !!!
}
}
return FormatDoubleToString(value, Js::NumberUtilities::FormatExponential, fractionDigits, scriptContext);
}
```
|
Exponential function reports overflow in MS Edge JavaScript
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2428/comments
| 5 |
2017-01-28T11:23:50Z
|
2017-02-09T07:32:04Z
|
https://github.com/chakra-core/ChakraCore/issues/2428
| 203,802,256 | 2,428 |
[
"chakra-core",
"ChakraCore"
] |
following the instructions in the doc and I can't build. I also can't seem to find this header file in the repo.
Severity Code Description Project File Line Suppression State
Error 0x2 trying to open file <Studio>. CoreManifests C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-master\manifests\mc 1
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.WasmReader c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Math c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.ByteCode c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Language c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Common.Core C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-master\lib\Common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Debug c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Library c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Types c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.Base c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Common.Common C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-master\lib\Common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Common.Memory C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-master\lib\Common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Parser c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Backend c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Jsrt c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Jsrt.Core c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Jsrt.Core c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.JITServer c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory Chakra.Runtime.PlatformAgnostic c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory GCStress c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory ChakraCore c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory GCStress c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory ChakraCore c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory GCStress c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory ChakraCore c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error C1083 Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory GCStress c:\users\bill\documents\visual studio 2015\projects\chakracore-master\chakracore-master\lib\common\Core\EtwTraceCore.h 68
Error LNK1181 cannot open input file 'C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-master\Build\VcBuild\bin\x86_test\ChakraCore.lib' NativeTests C:\Users\bill\Documents\Visual Studio 2015\Projects\ChakraCore-master\ChakraCore-
|
Can't build on VS2015 when paths have spaces , missing 'microsoft-scripting-chakra-instrumentationevents.h'
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2422/comments
| 7 |
2017-01-27T19:16:58Z
|
2017-03-13T20:16:09Z
|
https://github.com/chakra-core/ChakraCore/issues/2422
| 203,716,731 | 2,422 |
[
"chakra-core",
"ChakraCore"
] |
Way to reproduce:
``` javascript
let o = {};
let p = new Proxy(o, {});
let m = new WeakMap();
m.set(p, o);
m.get(p); // undefined, it works just fine in other browsers and there is no disclaimer in a spec that is shouldn't
```
|
Proxy object fails to be a key in WeakMap
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2419/comments
| 4 |
2017-01-26T20:52:09Z
|
2017-01-30T23:23:12Z
|
https://github.com/chakra-core/ChakraCore/issues/2419
| 203,485,499 | 2,419 |
[
"chakra-core",
"ChakraCore"
] |
While working on a Homebrew formula for ChakraCore, I ran into an issue when running `./build.sh --static --test-build --no-icu`. Running that command on its own (outside of the Homebrew sandbox) works fine, but within the sandbox, the linking step fails with the following error:
```
[100%] Linking CXX executable ch
Undefined symbols for architecture x86_64:
"void Js::ByteCodeWriter::Data::EncodeOpCode<(Js::LayoutSize)1>(unsigned short, Js::ByteCodeWriter*)", referenced from:
bool Js::AsmJsByteCodeWriter::TryWriteAsmReg2<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, unsigned int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
bool Js::AsmJsByteCodeWriter::TryWriteInt1Const1<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
bool Js::AsmJsByteCodeWriter::TryWriteReg1IntConst1<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
bool Js::AsmJsByteCodeWriter::TryWriteLong1Const1<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, long) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
bool Js::AsmJsByteCodeWriter::TryWriteFloat1Const1<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, float) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
bool Js::AsmJsByteCodeWriter::TryWriteDouble1Const1<Js::LayoutSizePolicy<(Js::LayoutSize)1> >(Js::OpCodeAsmJs, unsigned int, double) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmReg1(Js::OpCodeAsmJs, unsigned int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
...
"void Js::ByteCodeWriter::Data::EncodeOpCode<(Js::LayoutSize)2>(unsigned short, Js::ByteCodeWriter*)", referenced from:
bool Js::AsmJsByteCodeWriter::TryWriteAsmReg2<Js::LayoutSizePolicy<(Js::LayoutSize)2> >(Js::OpCodeAsmJs, unsigned int, unsigned int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmInt1Const1(Js::OpCodeAsmJs, unsigned int, int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmReg1IntConst1(Js::OpCodeAsmJs, unsigned int, int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmLong1Const1(Js::OpCodeAsmJs, unsigned int, long) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmFloat1Const1(Js::OpCodeAsmJs, unsigned int, float) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmDouble1Const1(Js::OpCodeAsmJs, unsigned int, double) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
Js::AsmJsByteCodeWriter::AsmReg1(Js::OpCodeAsmJs, unsigned int) in libChakra.Jsrt.a(AsmJsByteCodeWriter.cpp.o)
...
"Js::JavascriptString::Concat(Js::JavascriptString*, Js::JavascriptString*)", referenced from:
Js::JavascriptError::EntryToString(Js::RecyclableObject*, Js::CallInfo, ...) in libChakra.Jsrt.a(JavascriptError.cpp.o)
Js::JavascriptLibrary::CreateGetterFunction(int, Js::FunctionInfo*) in libChakra.Jsrt.a(JavascriptLibrary.cpp.o)
Js::JavascriptLibrary::CreateSetterFunction(int, Js::FunctionInfo*) in libChakra.Jsrt.a(JavascriptLibrary.cpp.o)
Js::JavascriptFunction::NewInstanceHelper(Js::ScriptContext*, Js::RecyclableObject*, Js::CallInfo, Js::ArgumentReader&, Js::JavascriptFunction::FunctionKind) in libChakra.Jsrt.a(JavascriptFunction.cpp.o)
Js::JavascriptString* Js::JavascriptFunction::GetNativeFunctionDisplayStringCommon<Js::JavascriptString, Js::JavascriptString*, Js::ScriptContext>(Js::ScriptContext*, Js::JavascriptString*) in libChakra.Jsrt.a(JavascriptFunction.cpp.o)
Js::JavascriptFunction::DisplayNameHelper(char16_t const*, unsigned int) const in libChakra.Jsrt.a(JavascriptFunction.cpp.o)
Js::RecyclableObjectDisplay::Value(int) in libChakra.Jsrt.a(DiagObjectModel.cpp.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/ch/ch] Error 1
make[1]: *** [bin/ch/CMakeFiles/ch.dir/all] Error 2
make: *** [all] Error 2
See error details above. Exit code was 2
```
Since the command works outside of the sandbox, I figure I’m doing something wrong here. Any ideas what to look for? Here’s some more info about the sandbox environment in which the linking fails:
```
Compile Target : amd64
Generating Test makefiles
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CLANG_HAS_DISABLE_TAIL_CALLS_CFG
-- Performing Test CLANG_HAS_DISABLE_TAIL_CALLS_CFG - Success
-- The ASM compiler identification is AppleClang
-- Found assembler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for include file alloca.h
-- Looking for include file alloca.h - found
-- Looking for include file sys/vmparam.h
-- Looking for include file sys/vmparam.h - found
-- Looking for include file mach/vm_types.h
-- Looking for include file mach/vm_types.h - found
-- Looking for include file mach/vm_param.h
-- Looking for include file mach/vm_param.h - found
-- Looking for include file procfs.h
-- Looking for include file procfs.h - not found
-- Looking for include file crt_externs.h
-- Looking for include file crt_externs.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file pthread_np.h
-- Looking for include file pthread_np.h - not found
-- Looking for include file sys/lwp.h
-- Looking for include file sys/lwp.h - not found
-- Looking for include file libunwind.h
-- Looking for include file libunwind.h - found
-- Looking for include file runetype.h
-- Looking for include file runetype.h - found
-- Looking for include file unicode/uchar.h
-- Looking for include file unicode/uchar.h - not found
-- Looking for kqueue
-- Looking for kqueue - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - found
-- Looking for pthread_suspend in pthread
-- Looking for pthread_suspend in pthread - not found
-- Looking for pthread_suspend_np in pthread
-- Looking for pthread_suspend_np in pthread - not found
-- Looking for pthread_continue in pthread
-- Looking for pthread_continue in pthread - not found
-- Looking for pthread_continue_np in pthread
-- Looking for pthread_continue_np in pthread - not found
-- Looking for pthread_resume_np in pthread
-- Looking for pthread_resume_np in pthread - not found
-- Looking for pthread_attr_get_np in pthread
-- Looking for pthread_attr_get_np in pthread - not found
-- Looking for pthread_getattr_np in pthread
-- Looking for pthread_getattr_np in pthread - not found
-- Looking for pthread_sigqueue in pthread
-- Looking for pthread_sigqueue in pthread - not found
-- Looking for sigreturn
-- Looking for sigreturn - not found
-- Looking for _thread_sys_sigreturn
-- Looking for _thread_sys_sigreturn - not found
-- Looking for copysign
-- Looking for copysign - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for sysctl
-- Looking for sysctl - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for _snwprintf
-- Looking for _snwprintf - not found
-- Looking for poll
-- Looking for poll - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for thread_self
-- Looking for thread_self - not found
-- Looking for _lwp_self
-- Looking for _lwp_self - not found
-- Looking for pthread_mach_thread_np
-- Looking for pthread_mach_thread_np - found
-- Looking for thread_set_exception_ports
-- Looking for thread_set_exception_ports - found
-- Looking for vm_allocate
-- Looking for vm_allocate - found
-- Looking for vm_read
-- Looking for vm_read - found
-- Looking for directio
-- Looking for directio - not found
-- Looking for semget
-- Looking for semget - found
-- Looking for pthread_mutex_init
-- Looking for pthread_mutex_init - found
-- Looking for ttrace
-- Looking for ttrace - not found
-- Performing Test HAVE_STAT_TIMESPEC
-- Performing Test HAVE_STAT_TIMESPEC - Success
-- Performing Test HAVE_STAT_NSEC
-- Performing Test HAVE_STAT_NSEC - Failed
-- Performing Test HAVE_TM_GMTOFF
-- Performing Test HAVE_TM_GMTOFF - Success
-- Performing Test HAVE_GREGSET_T
-- Performing Test HAVE_GREGSET_T - Failed
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of struct reg
-- Check size of struct reg - failed
-- Check size of struct pt_regs
-- Check size of struct pt_regs - failed
-- Check size of siginfo_t
-- Check size of siginfo_t - done
-- Check size of ucontext_t
-- Check size of ucontext_t - failed
-- Check size of pthread_rwlock_t
-- Check size of pthread_rwlock_t - done
-- Check size of prwatch_t
-- Check size of prwatch_t - failed
-- Check size of off_t
-- Check size of off_t - done
-- Looking for SYS_yield
-- Looking for SYS_yield - not found
-- Looking for INFTIM
-- Looking for INFTIM - not found
-- Looking for CHAR_BIT
-- Looking for CHAR_BIT - not found
-- Looking for _DEBUG
-- Looking for _DEBUG - not found
-- Looking for _SC_PHYS_PAGES
-- Looking for _SC_PHYS_PAGES - found
-- Looking for _SC_AVPHYS_PAGES
-- Looking for _SC_AVPHYS_PAGES - not found
-- Performing Test PLATFORM_ACCEPTS_ABS_OVERLOAD
-- Performing Test PLATFORM_ACCEPTS_ABS_OVERLOAD - Success
-- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES
-- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES - Failed
-- Performing Test SSCANF_SUPPORT_ll
-- Performing Test SSCANF_SUPPORT_ll - Success
-- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT
-- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT - Failed
-- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT
-- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT - Success
-- Performing Test HAVE_BROKEN_FIFO_SELECT
-- Performing Test HAVE_BROKEN_FIFO_SELECT - Failed
-- Performing Test HAVE_BROKEN_FIFO_KEVENT
-- Performing Test HAVE_BROKEN_FIFO_KEVENT - Failed
-- Performing Test HAVE_SCHED_GET_PRIORITY
-- Performing Test HAVE_SCHED_GET_PRIORITY - Success
-- Performing Test HAVE_SCHED_GETCPU
-- Performing Test HAVE_SCHED_GETCPU - Failed
-- Performing Test HAVE_WORKING_GETTIMEOFDAY
-- Performing Test HAVE_WORKING_GETTIMEOFDAY - Success
-- Performing Test HAVE_WORKING_CLOCK_GETTIME
-- Performing Test HAVE_WORKING_CLOCK_GETTIME - Success
-- Performing Test HAVE_CLOCK_MONOTONIC
-- Performing Test HAVE_CLOCK_MONOTONIC - Success
-- Performing Test HAVE_CLOCK_MONOTONIC_COARSE
-- Performing Test HAVE_CLOCK_MONOTONIC_COARSE - Failed
-- Performing Test HAVE_MACH_ABSOLUTE_TIME
-- Performing Test HAVE_MACH_ABSOLUTE_TIME - Success
-- Performing Test HAVE_CLOCK_THREAD_CPUTIME
-- Performing Test HAVE_CLOCK_THREAD_CPUTIME - Success
-- Performing Test HAVE_MMAP_DEV_ZERO
-- Performing Test HAVE_MMAP_DEV_ZERO - Failed
-- Performing Test MMAP_IGNORES_HINT
-- Performing Test MMAP_IGNORES_HINT - Failed
-- Performing Test MMAP_ANON_IGNORES_PROTECTION
-- Performing Test MMAP_ANON_IGNORES_PROTECTION - Failed
-- Performing Test MMAP_DOESNOT_ALLOW_REMAP
-- Performing Test MMAP_DOESNOT_ALLOW_REMAP - Failed
-- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS
-- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS - Failed
-- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO
-- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO - Failed
-- Performing Test SEM_INIT_MODIFIES_ERRNO
-- Performing Test SEM_INIT_MODIFIES_ERRNO - Failed
-- Performing Test HAVE_PROCFS_CTL
-- Performing Test HAVE_PROCFS_CTL - Failed
-- Performing Test HAVE_COMPATIBLE_ACOS
-- Performing Test HAVE_COMPATIBLE_ACOS - Success
-- Performing Test HAVE_COMPATIBLE_ASIN
-- Performing Test HAVE_COMPATIBLE_ASIN - Success
-- Performing Test HAVE_COMPATIBLE_ATAN2
-- Performing Test HAVE_COMPATIBLE_ATAN2 - Success
-- Performing Test HAVE_COMPATIBLE_EXP
-- Performing Test HAVE_COMPATIBLE_EXP - Failed
-- Performing Test HAVE_COMPATIBLE_LOG
-- Performing Test HAVE_COMPATIBLE_LOG - Success
-- Performing Test HAVE_COMPATIBLE_LOG10
-- Performing Test HAVE_COMPATIBLE_LOG10 - Success
-- Performing Test UNGETC_NOT_RETURN_EOF
-- Performing Test UNGETC_NOT_RETURN_EOF - Failed
-- Performing Test HAS_POSIX_SEMAPHORES
-- Performing Test HAS_POSIX_SEMAPHORES - Failed
-- Performing Test GETPWUID_R_SETS_ERRNO
-- Performing Test GETPWUID_R_SETS_ERRNO - Failed
-- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL
-- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL - Failed
-- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T
-- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T - Failed
-- Configuring done
-- Generating done
[…]
```
Here’s the full log: https://bot.brew.sh/job/Homebrew%20Core/15413/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/install_chakra/
|
[homebrew] Default install environment gives linker errors
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2417/comments
| 13 |
2017-01-26T15:55:53Z
|
2017-01-30T20:40:13Z
|
https://github.com/chakra-core/ChakraCore/issues/2417
| 203,407,911 | 2,417 |
[
"chakra-core",
"ChakraCore"
] |
Currently, runtests.py contains a check as follows ([link](https://github.com/Microsoft/ChakraCore/blob/master/test/runtests.py#L129-L130)):
```python
not_compile_flags = set(['-simdjs']) \
if sys.platform != 'win32' else None
```
This is unclear and overly broad - we were working under the assumption that certain tests were being run, because the -simdjs special case isn't documented elsewhere. This resulted in most of the asmjs tests not being run, due to them having (usually needlessly) the -simdjs flag set. The exclude_xplat tag is significantly clearer and keeps us to one common approach for controlling test execution (although a requires_simd tag may be more appropriate, if, for example, simdjs is implemented for Linux x86 and amd64 hosts but not arm).
Resolution suggestion:
Remove the offending lines and associated machinery, and set exclude_xplat on tests that should not be run on xplat, or add a requires_simd tag and set it and the requiring tests up appropriately.
Note: There's a couple issues that this was likely hiding; most notably, one with asmjs float arguments, which can be found at https://github.com/Microsoft/ChakraCore/issues/2378.
|
Change runtests.py such that it doesn't consider flags passed to ch
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2412/comments
| 1 |
2017-01-25T22:28:07Z
|
2017-04-07T01:18:11Z
|
https://github.com/chakra-core/ChakraCore/issues/2412
| 203,241,671 | 2,412 |
[
"chakra-core",
"ChakraCore"
] |
`[1, 2].sort(true)` and `[1, 2].sort({})` throw a TypeError with the `message` "Array.prototype.sort: argument is not a JavaScript object".
This is unhelpful for `true`, and incorrect for `{}`. A better error message would perhaps be, `Array.prototype.sort: comparefn argument must be a function or undefined".
(discovered while looking into https://github.com/tc39/ecma262/pull/785)
|
`[1, 2].sort({})` has unhelpful error message
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2411/comments
| 0 |
2017-01-25T20:58:16Z
|
2017-03-09T23:14:46Z
|
https://github.com/chakra-core/ChakraCore/issues/2411
| 203,220,306 | 2,411 |
[
"chakra-core",
"ChakraCore"
] |
I have
```
$ find /usr/lib /usr/lib64 | grep libstdc++
/usr/lib/libstdc++.so.6.0.22
/usr/lib/libstdc++.so.6
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/32/libstdc++.a
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/32/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/32/libstdc++fs.a
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/libstdc++fs.a
/usr/lib64/libstdc++.so.6.0.22
/usr/lib64/libstdc++.so.6
$ rpm -qa | grep gcc
gcc-gdb-plugin-6.3.1-1.fc24.x86_64
libgcc-6.3.1-1.fc24.i686
libgcc-6.3.1-1.fc24.x86_64
gcc-6.3.1-1.fc24.x86_64
gcc-c++-6.3.1-1.fc24.x86_64
```
and yet `./build.sh` fails to link libChakraCore.so:
```
...
[100%] Linking CXX shared library libChakraCore.so
/usr/bin/ld: cannot find -lstdc++
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
bin/ChakraCore/CMakeFiles/ChakraCore.dir/build.make:149: recipe for target 'bin/ChakraCore/libChakraCore.so' failed
make[2]: *** [bin/ChakraCore/libChakraCore.so] Error 1
CMakeFiles/Makefile2:1562: recipe for target 'bin/ChakraCore/CMakeFiles/ChakraCore.dir/all' failed
make[1]: *** [bin/ChakraCore/CMakeFiles/ChakraCore.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
See error details above. Exit code was 2
```
What am I missing? I'm running Fedora 24 x64.
|
ld cannot find -lstdc++, even though it's there
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2403/comments
| 7 |
2017-01-23T20:00:12Z
|
2017-01-30T20:36:20Z
|
https://github.com/chakra-core/ChakraCore/issues/2403
| 202,635,301 | 2,403 |
[
"chakra-core",
"ChakraCore"
] |
When trying to creating 'Date' object in JavaScript from string in in 'YYYY.MM.DD' format Edge creates 'Invalid Date' object, Chrome/Firefox parse such date strings fine.
Example JSFiddle:
https://jsfiddle.net/ncfzqhb8/
|
Creating 'Date' object from string in 'YYYY.MM.DD' format
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2402/comments
| 1 |
2017-01-23T12:44:45Z
|
2017-01-23T12:59:08Z
|
https://github.com/chakra-core/ChakraCore/issues/2402
| 202,524,375 | 2,402 |
[
"chakra-core",
"ChakraCore"
] |
Edge 39.15014.1000.0 / EdgeHTML 15.15014
These both error:
```js
(({ t }) => {
(() => t)(); // "Use before declaration"
})({});
(([t]) => {
(() => t)(); // "Use before declaration"
})([]);
```
But these don't:
```js
// normal function
(function({ t }) {
(() => t)();
})({});
// referenced in outer function
(({ t }) => {
t;
(() => t)();
})({});
```
|
Arrow function parameter destructuring "Use before declaration" error when parameter is only used in an inner function
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2401/comments
| 4 |
2017-01-21T18:40:24Z
|
2017-01-30T18:00:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2401
| 202,332,313 | 2,401 |
[
"chakra-core",
"ChakraCore"
] |
```
var buffer = new ArrayBuffer(2);
var view = new Uint8Array(buffer);
view.fill(0);
view[0] = 65;
// view[1] -> 0
var str = String.fromCharCode.apply(null, view);
str += "B"
console.log(str.length); // -> OUTPUT: 3 -> B is included
console.log(str); // OUTPUT: `A` -> char('A') + char(0) + char('B')
console.log(str.indexOf('B')); // OUTPUT: 2
str = [str, 'end'].join('-');
console.log(str); // OUTPUT: 'A' -> char('A') + char(0) + char('B') + "-" + "end"
console.log(str.length); // OUTPUT: 7
```
Spec (http://www.ecma-international.org/ecma-262/6.0/#sec-string.fromcharcode) says `Let length be the number of elements in codeUnits.`
Output(length) is matching to what spec says. However, see other cases above as the rest of it feels unexpected.
Shouldn't we, at some point drop char(0) ?
|
Strange String.fromCharCode behavior
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2397/comments
| 4 |
2017-01-20T15:11:51Z
|
2017-01-30T23:48:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2397
| 202,163,569 | 2,397 |
[
"chakra-core",
"ChakraCore"
] |
Heard about ChakraCore / ARM at a dev. meetup lastweek. Is there a particular plan on reducing memory consumption in a limited environment? Couldn't find much details online.
|
ChakraCore on ARM OpenWRT possible?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2394/comments
| 3 |
2017-01-19T22:42:50Z
|
2017-01-20T10:20:05Z
|
https://github.com/chakra-core/ChakraCore/issues/2394
| 201,997,405 | 2,394 |
[
"chakra-core",
"ChakraCore"
] |
Sent #2387 to fix #2386 however, there is more work there.
Condition below always (len >=4) ends up in slow path;
```
uint32 bytes = *(uint32 *)ptr;
if ((bytes & 0x80808080) != 0) goto LSlowPath;
```
Good news is that slow path does the task. Still, we should replace fast path to something similar to new algorithm.
In addition to this problem, we need more test cases to make sure we don't buffer overrun or corrupt strings.
|
Utf8Codec always on SlowPath and need more test cases
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2392/comments
| 1 |
2017-01-19T17:06:23Z
|
2017-01-25T00:03:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2392
| 201,919,047 | 2,392 |
[
"chakra-core",
"ChakraCore"
] |
Utf8 encoding fails for the test case below. This introduced to master recently.
```
function toHexCP(c, cp) {
var hex = "0123456789abcdef";
return String.fromCharCode(hex.charCodeAt((c >> (cp * 4)) & 0xf));
}
function toHex(str) {
var result = "";
for(var i = 0; i < str.length; i++) {
var c = str.charCodeAt(i);
for (var cp = 3; cp >= 0; cp--) {
result += toHexCP(c, cp);
}
}
return "0x" + result;
}
var hex_str = String.fromCharCode("0x0080");
var pattern = eval("/" + hex_str + "/");
if (toHex(hex_str) != toHex(pattern.source)) throw new Error("String encoding has failed?")
console.log("PASS");
```
|
Utf8 encoding fails to encode
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2386/comments
| 1 |
2017-01-18T13:26:35Z
|
2017-01-25T00:03:16Z
|
https://github.com/chakra-core/ChakraCore/issues/2386
| 201,573,585 | 2,386 |
[
"chakra-core",
"ChakraCore"
] |
`const a = WScript.LoadScript("function a(){}");` causes assert
ASSERTION 26992: (c:\projects\chakra\core\lib\runtime\Language/InlineCache.inl, line 256) !isRoot || RootObjectBase::FromVar(object)->GetRootPropertyIndex(propertyId) == DynamicObject::FromVar(object)->GetTypeHandler()->InlineOrAuxSlotIndexToPropertyIndex(u.local.slotIndex, false)
Same happens with `let a`, but not with `var a`. We are fine when using `const a = eval("function a() {}")` where we throw a javascript error.
|
WScript.LoadScript variable name conflict assert
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2385/comments
| 1 |
2017-01-18T00:39:26Z
|
2019-06-07T18:42:45Z
|
https://github.com/chakra-core/ChakraCore/issues/2385
| 201,447,403 | 2,385 |
[
"chakra-core",
"ChakraCore"
] |
The extension's purpose is to programmatically move the progress slider of Netflix movie using JavaScript. It does move the slider but always to the start of the movie, not the desired point.
manifest.json
```
{
"name": "Hello World",
"version": "1.0.0",
"description": "Simple Microsoft Edge Extension",
"author": "Hrishikesh Kale",
"icons": {
"16": "icons/icon_16.png",
"32": "icons/icon_32.png",
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},
"browser_action": {
"default_icon": {
"20": "icons/icon_20.png",
"25": "icons/icon_25.png",
"30": "icons/icon_30.png",
"40": "icons/icon_40.png"
},
"default_title": "Hello World"
},
"permissions": [
"contextMenus",
"tabs",
"storage",
"activeTab",
"<all_urls>"
],
"minimum_edge_version": "37.14316.1000.0",
"background": {
"scripts": ["js/background.js"],
"persistent": true
}
}
```
content-script.js
```
(function () {
//loading jquery lib
...
// returns an action which delays for some time
var delay = function (milliseconds) {
return function (result) {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve(result);
}, milliseconds);
});
};
};
// returns an action which waits until the condition thunk returns true,
// rejecting if maxDelay time is exceeded
var delayUntil = function (condition, maxDelay) {
return function (result) {
var delayStep = 250;
var startTime = (new Date()).getTime();
var checkForCondition = function () {
if (condition()) {
return Promise.resolve(result);
}
if (maxDelay !== null && (new Date()).getTime() - startTime > maxDelay) {
return Promise.reject(Error('delayUntil timed out'));
}
return delay(delayStep)().then(checkForCondition);
};
return checkForCondition();
};
};
// add value to the end of array, and remove items from the beginning
// such that the length does not exceed limit
var shove = function (array, value, limit) {
array.push(value);
if (array.length > limit) {
array.splice(0, array.length - limit);
}
};
// compute the mean of an array of numbers
var mean = function (array) {
return array.reduce(function (a, b) { return a + b; }) / array.length;
};
// promise.ensure(fn) method
// note that this method will not swallow errors
Promise.prototype.ensure = function (fn) {
return this.then(fn, function (e) {
fn();
throw e;
});
};
// how many simulated UI events are currently going on
// don't respond to UI events unless this is 0, otherwise
// we will mistake simulated actions for real ones
var uiEventsHappening = 0;
// video duration in milliseconds
var lastDuration = 60 * 60 * 1000;
var getDuration = function () {
var video = jQuery('.player-video-wrapper video');
if (video.length > 0) {
lastDuration = Math.floor(video[0].duration * 1000);
}
return lastDuration;
};
// current playback position in milliseconds
var getPlaybackPosition = function () {
return Math.floor(jQuery('.player-video-wrapper video')[0].currentTime * 1000);
};
// show the playback controls
var showControls = function () {
uiEventsHappening += 1;
var scrubber = jQuery('#scrubber-component');
var eventOptions = {
'bubbles': true,
'button': 0,
'currentTarget': scrubber[0]
};
scrubber[0].dispatchEvent(new MouseEvent('mousemove', eventOptions));
return delayUntil(function () {
return scrubber.is(':visible');
}, 1000)().ensure(function () {
uiEventsHappening -= 1;
});
};
// hide the playback controls
var hideControls = function () {
uiEventsHappening += 1;
var player = jQuery('#netflix-player');
var mouseX = 100; // relative to the document
var mouseY = 100; // relative to the document
var eventOptions = {
'bubbles': true,
'button': 0,
'screenX': mouseX - jQuery(window).scrollLeft(),
'screenY': mouseY - jQuery(window).scrollTop(),
'clientX': mouseX - jQuery(window).scrollLeft(),
'clientY': mouseY - jQuery(window).scrollTop(),
'offsetX': mouseX - player.offset().left,
'offsetY': mouseY - player.offset().top,
'pageX': mouseX,
'pageY': mouseY
};
player[0].dispatchEvent(new MouseEvent('mousemove', eventOptions));
return delay(1)().ensure(function () {
uiEventsHappening -= 1;
});
};
// jump to a specific time in the video
var seekErrorRecent = [];
var seekErrorMean = 0;
var seek = function (milliseconds) {
uiEventsHappening += 1;
var eventOptions, scrubber, oldPlaybackPosition, newPlaybackPosition;
return showControls().then(function () {
// compute the parameters for the mouse events
scrubber = jQuery('#scrubber-component');
var factor = (milliseconds - seekErrorMean) / getDuration();
factor = Math.min(Math.max(factor, 0), 1);
var mouseX = scrubber.offset().left + Math.round(scrubber.width() * factor); // relative to the document
var mouseY = scrubber.offset().top + scrubber.height() / 2; // relative to the document
eventOptions = {
'bubbles': true,
'button': 0,
'screenX': mouseX - jQuery(window).scrollLeft(),
'screenY': mouseY - jQuery(window).scrollTop(),
'clientX': mouseX - jQuery(window).scrollLeft(),
'clientY': mouseY - jQuery(window).scrollTop(),
'offsetX': mouseX - scrubber.offset().left,
'offsetY': mouseY - scrubber.offset().top,
'pageX': mouseX,
'pageY': mouseY,
};
// make the trickplay preview show up
scrubber[0].dispatchEvent(new MouseEvent('mouseover', eventOptions));
}).then(delayUntil(function () {
// wait for the trickplay preview to show up
return jQuery('.trickplay-preview').is(':visible');
}, 2500)).then(function () {
// remember the old position
oldPlaybackPosition = getPlaybackPosition();
// simulate a click on the scrubber
scrubber[0].dispatchEvent(new MouseEvent('mousedown', eventOptions));
scrubber[0].dispatchEvent(new MouseEvent('mouseup', eventOptions));
scrubber[0].dispatchEvent(new MouseEvent('mouseout', eventOptions));
}).then(delayUntil(function () {
// wait until the seeking is done
newPlaybackPosition = getPlaybackPosition();
return Math.abs(newPlaybackPosition - oldPlaybackPosition) >= 1;
}, 5000)).then(function () {
// compute mean seek error for next time
var newSeekError = Math.min(Math.max(newPlaybackPosition - milliseconds, -10000), 10000);
shove(seekErrorRecent, newSeekError, 5);
seekErrorMean = mean(seekErrorRecent);
}).then(hideControls).ensure(function () {
uiEventsHappening -= 1;
});
};
return seek(60000);
})();
```
background.js
```
browser.browserAction.onClicked.addListener(function(tab) {
browser.tabs.executeScript({
file: "js/content-script.js"
});
});
```
I attached the complete sample here(https://www.dropbox.com/s/wv3tjb3oow914xf/edge-extension-sample2.zip?dl=0).
|
MouseEvent and dispatchEvent doesn't trigger the event in Edge extension
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2379/comments
| 2 |
2017-01-14T00:50:55Z
|
2019-04-11T10:21:21Z
|
https://github.com/chakra-core/ChakraCore/issues/2379
| 200,766,727 | 2,379 |
[
"chakra-core",
"ChakraCore"
] |
When attempting to pass a floating-point argument to an asmjs/wasm function on xplat, the caller and callee don't agree on the calling convention. This causes correctness issues, as we end up often using the wrong value. This occurs in JITted code.
**Repro:**
Remove these lines from test/runtest.py ([link](https://github.com/Microsoft/ChakraCore/blob/master/test/runtests.py#L129-L130)):
```python
not_compile_flags = set(['-simdjs']) \
if sys.platform != 'win32' else None
```
Run `runtests.py -d AsmJSFloat`.
Note: There's a separate bug filed related to removing the lines hiding this issue from runtest.py at https://github.com/Microsoft/ChakraCore/issues/2412.
**Repro file:**
Here's a separate file by @Cellule that reproduces the issue with -maic:0
```js
function AsmModuleDouble() {
"use asm";
function add(x) {
x = +x;
return +sub(1.5);
}
function sub(x) {
x = +x;
return +(x);
}
return {
add: add
};
}
var asmModuleDouble = AsmModuleDouble(); // produces AOT-compiled version
print(asmModuleDouble.add(2, 1))
```
|
AsmJs/WAsm calling convention issues on xplat
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2378/comments
| 13 |
2017-01-13T22:34:26Z
|
2017-08-21T19:39:44Z
|
https://github.com/chakra-core/ChakraCore/issues/2378
| 200,748,695 | 2,378 |
[
"chakra-core",
"ChakraCore"
] |
Hi all
this is my firts post
I'm having problems with circular dependencies
Microsoft Edge 39.15002.1001.0
Microsoft EdgeHTML 15.15002
Version 1607
Build SO 15002.1001
What is the right forum for edge support?
Could it be here?
If not, sorry!
If yes, could I send link from pastebindotcom with sample code?
Thank you very much
|
es6 modules - problems with circular dependencies
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2373/comments
| 21 |
2017-01-12T23:29:36Z
|
2017-06-09T05:01:50Z
|
https://github.com/chakra-core/ChakraCore/issues/2373
| 200,509,628 | 2,373 |
[
"chakra-core",
"ChakraCore"
] |
ECMA 262 specifies implementations should use the latest Unicode standard.
As of time of writing, that is Unicode 9.0.
Related to #517, #2356
|
Update CaseInsensitive table to Unicode 9.0
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2367/comments
| 1 |
2017-01-12T07:30:51Z
|
2019-06-07T19:07:20Z
|
https://github.com/chakra-core/ChakraCore/issues/2367
| 200,297,107 | 2,367 |
[
"chakra-core",
"ChakraCore"
] |
If my scripts in js file. how do I run a specified function in this js file.please give me the code ,thank a lot.
|
Run a specified function in js file using ChakraCore?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2365/comments
| 7 |
2017-01-12T03:30:42Z
|
2024-01-08T23:13:13Z
|
https://github.com/chakra-core/ChakraCore/issues/2365
| 200,270,273 | 2,365 |
[
"chakra-core",
"ChakraCore"
] |
I'm trying to use a simple JS file that includes this:
### moduleExport1.js
``` javascript
export function fnTest () { };
```
But I get this error
### Console output
```
SyntaxError: Syntax error
at code (moduleExport1.js:1:1)
````
### cmd
> ch.exe -ES6Module moduleExport1.js
Any ideia?
|
Error on ch.exe using -ES6Module
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2359/comments
| 6 |
2017-01-11T15:35:48Z
|
2017-01-27T20:34:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2359
| 200,125,429 | 2,359 |
[
"chakra-core",
"ChakraCore"
] |
In Edge 14 on Windows 10, `Math.pow(2, -1074)` produces `0`, while on all other engines, it returns the subnormal double value `5e-324`. This is not the only set of inputs that causes this behaviour. It appears that all inputs which should produce a subnormal number instead produce `0`.
|
exponentiation incorrect for inputs that produce subnormal numbers
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2353/comments
| 3 |
2017-01-10T23:01:27Z
|
2017-01-11T19:16:02Z
|
https://github.com/chakra-core/ChakraCore/issues/2353
| 199,958,320 | 2,353 |
[
"chakra-core",
"ChakraCore"
] |
[InitializeDateTimeFormat](https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Library/InJavascript/Intl.js#L1113) method takes an empty object dateTimeFormat and sets various properties on it
based on `options` and `localeList`. Inside `platform.createDateTime()`, it caches an instance of `dateTimeFormatter` as `hiddenObject` property on `dateTimeFormat` object.
If InitializeDateTimeFormat() is called from ctor of Intl.DateTimeFormat, then various methods like `Intl.DateTimeFormat.prototype.format()` called on the instance will reuse the `dateTimeFormatter` and other other cached properties on `dateTimeFormat`.
However InitializeDateTimeFormat() is also called from non Intl methods like `Date.prototype.toLocale*String()`, in which case a new `dateTimeFormatter` is created every time and is thrown away. Below code can be written better, but is a good example to demonstrate the creation of `dateTimeFormatter` every time `toLocaleString` is called.
```js
var utcDate = new Date(Date.UTC(96, 11, 1, 0, 0, 0));
for(var i = 0;i < 10000; i++){
print(typeof utcDate);
print(utcDate.toLocaleString()); // dateTimeFormatter is created every time.
}
```
Ideal solution would be to cache dateTimeFormat based on `localList` and `options` parameters, so we don't have to
1. Initialize `dateTimeFormat` object
2. Create dateTimeformatters
Above comment holds true for [InitializeNumberFormat()](https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Library/InJavascript/Intl.js#L661) and [InitializeCollator()](https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Library/InJavascript/Intl.js#L432) methods and APIs that consume these methods.
|
Intl should cache and re-use various formatters
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2352/comments
| 2 |
2017-01-10T21:41:04Z
|
2018-04-04T17:13:30Z
|
https://github.com/chakra-core/ChakraCore/issues/2352
| 199,941,020 | 2,352 |
[
"chakra-core",
"ChakraCore"
] |
I'm receiving compiler errors on Visual Studio 2017.
Updated configuration Windows SDK Version to 10.0.14393.0.
```
1>------ Build started: Project: CoreManifests, Configuration: Release x64 ------
1>mc : error : Internal error - ErrorCode=3, SubErrorCode=4294967295, Message=
1>Performing Custom Build Tools
1>Done building project "CoreManifests.vcxproj" -- FAILED.
2>------ Build started: Project: Chakra.Jsrt.Core, Configuration: Release x64 ------
3>------ Build started: Project: Chakra.Runtime.Base, Configuration: Release x64 ------
3>RuntimeBasePch.cpp
3>f:\chakracore-master\lib\common\Core/EtwTraceCore.h(68): fatal error C1083: Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory
3>Done building project "Chakra.Runtime.Base.vcxproj" -- FAILED.
```
|
Compiling on Visual Studio 2017 RC (apparently requires Win 8.1 SDK)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2348/comments
| 10 |
2017-01-10T10:52:37Z
|
2017-05-31T14:41:45Z
|
https://github.com/chakra-core/ChakraCore/issues/2348
| 199,789,647 | 2,348 |
[
"chakra-core",
"ChakraCore"
] |
OS: Windows 10 Ver 1607 (14393.567)
Edge: 38.14393.0.0 (EdgeHTML: 14.14393)
Flags: Enable experimental JavaScript features [Ref](https://blogs.windows.com/msedgedev/2016/05/17/es6-modules-and-beyond/#9ezxJCRJPZxvBl1g.97)
Code-1
```html
// index.html
...
<script type='module' src='index.js'>
...
// index.js
import sum from './math.js';
console.log(sum(1, 2));
// math.js
export default function sum(a, b) { return a + b; }
```
It will report an error: Let/Const redeclaration.
Code-2
```html
// index.html
...
<script type='module' src='index.js'>
...
// index.js
import sum from './math.js';
console.log(sum(1, 2));
// math.js
function sum(a, b) {
return a + b;
}
export default function (a, b) { return a + b; }
```
It will report an error: Let/Const redeclaration.
|
ES Module: import error "Let/Const redeclaration"
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2347/comments
| 4 |
2017-01-10T09:27:23Z
|
2017-01-30T07:21:09Z
|
https://github.com/chakra-core/ChakraCore/issues/2347
| 199,770,815 | 2,347 |
[
"chakra-core",
"ChakraCore"
] |
The [template literal revision proposal](https://github.com/tc39/proposal-template-literal-revision) reached [stage 3](https://github.com/tc39/proposals) in July.
This allows
```
(function(strs) {
return strs[0] === undefined && strs.raw[0] === '\\u{invalid}\\1\\xGG';
})`\u{invalid}\1\xGG`; // true
```
etc. Invalid escapes remain a syntax error in untagged templates.
|
Lift template escape sequence restrictions in tagged templates
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2344/comments
| 2 |
2017-01-10T00:40:53Z
|
2018-06-27T23:16:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2344
| 199,703,083 | 2,344 |
[
"chakra-core",
"ChakraCore"
] |
Snippet: console.log(new ArrayBuffer((-1 >>> 0) + 1))
Expected output: ArrayBuffer { byteLength: 4294967296 }
Actual output: RangeError: Array length must be a finite positive integer
|
new ArrayBuffer((-1 >>> 0) + 1) should not throw RangeError in 64-bit
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2339/comments
| 2 |
2017-01-09T20:03:18Z
|
2019-06-07T18:41:09Z
|
https://github.com/chakra-core/ChakraCore/issues/2339
| 199,648,094 | 2,339 |
[
"chakra-core",
"ChakraCore"
] |
I'm building on macOSx, the command I used is:
some_dir/build.sh --xcode --static --icu=/usr/local/opt/icu4c/include --test-build -j=2
after some while console shows:
....
build files have been written to: ~/ChakraCore/BuildLinux/Test
obviously no out of tree build support is added, it's easy for cmake to build out of tree, it'd be more useful if building is default in current dir or there are options to specify the build dir location.
btw, BuildLinux may be changed to BuildMacosx ...
|
[xplat] Out of tree build support
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2338/comments
| 1 |
2017-01-09T10:23:56Z
|
2017-01-13T15:35:15Z
|
https://github.com/chakra-core/ChakraCore/issues/2338
| 199,518,245 | 2,338 |
[
"chakra-core",
"ChakraCore"
] |
```sh
==32522==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef15 at pc 0x55e3acdaa1a6 bp 0x7ffd2be5b780 sp 0x7ffd2be5b778
READ of size 1 at 0x60200000ef15 thread T0
#0 0x55e3acdaa1a5 in utf8::DecodeTail(char16_t, unsigned char const*&, unsigned char const*, utf8::DecodeOptions&) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x4d61a5)
#1 0x55e3acda7c67 in utf8::DecodeInto(char16_t*, unsigned char const*, unsigned long, utf8::DecodeOptions) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x4d3c67)
#2 0x55e3add51ee8 in Scanner<UTF8EncodingPolicyBase<false> >::SysAllocErrorLine(int, char16_t**) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x147dee8)
#3 0x55e3adda4a96 in CompileScriptException::ProcessError(IScanner*, int, ParseNode*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x14d0a96)
#4 0x55e3adb7d364 in Parser::ParseSourceInternal(ParseNode**, unsigned char const*, unsigned long, unsigned long, unsigned int, bool, unsigned int, CompileScriptException*, unsigned int*, unsigned int, SourceContextInfo*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x12a9364)
#5 0x55e3adb9e44a in Parser::ParseUtf8Source(ParseNode**, unsigned char const*, unsigned long, unsigned int, CompileScriptException*, unsigned int*, SourceContextInfo*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x12ca44a)
#6 0x55e3acea3838 in Js::ScriptContext::ParseScript(Parser*, unsigned char const*, unsigned long, SRCINFO const*, CompileScriptException*, Js::Utf8SourceInfo**, char16_t const*, LoadScriptFlag, unsigned int*, void*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x5cf838)
#7 0x55e3acea42d2 in Js::ScriptContext::LoadScript(unsigned char const*, unsigned long, SRCINFO const*, CompileScriptException*, Js::Utf8SourceInfo**, char16_t const*, LoadScriptFlag, void*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x5d02d2)
#8 0x55e3acd5d178 in RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x489178)
#9 0x55e3acd66d8d in JsRun (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x492d8d)
#10 0x55e3acc10b01 in RunScript(char const*, char const*, void*, char*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33cb01)
#11 0x55e3acc1256c in ExecuteTest(char const*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33e56c)
#12 0x55e3acc12e1e in main (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33ee1e)
#13 0x7f146012682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#14 0x55e3acb3b7a8 in _start (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x2677a8)
0x60200000ef15 is located 0 bytes to the right of 5-byte region [0x60200000ef10,0x60200000ef15)
allocated by thread T0 here:
#0 0x55e3acbdb908 in __interceptor_malloc (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x307908)
#1 0x55e3acc19648 in Helpers::LoadScriptFromFile(char const*, char const*&, unsigned int*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x345648)
#2 0x55e3acc11bfc in ExecuteTest(char const*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33dbfc)
#3 0x55e3acc12e1e in main (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33ee1e)
#4 0x7f146012682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x4d61a5) in utf8::DecodeTail(char16_t, unsigned char const*&, unsigned char const*, utf8::DecodeOptions&)
Shadow bytes around the buggy address:
0x0c047fff9d90: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0c047fff9da0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0c047fff9db0: fa fa fd fd fa fa 04 fa fa fa fd fd fa fa fd fd
0x0c047fff9dc0: fa fa 04 fa fa fa 00 fa fa fa 00 fa fa fa 00 00
0x0c047fff9dd0: fa fa 04 fa fa fa 00 00 fa fa 04 fa fa fa 01 fa
=>0x0c047fff9de0: fa fa[05]fa fa fa fd fa fa fa fd fa fa fa 00 04
0x0c047fff9df0: fa fa 00 00 fa fa fd fd fa fa 04 fa fa fa 00 fa
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==32522==ABORTING
```
Minimized sample:
ff7/Cg==
|
issue in utf8::DecodeTail
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2336/comments
| 2 |
2017-01-07T12:25:19Z
|
2017-01-09T18:35:47Z
|
https://github.com/chakra-core/ChakraCore/issues/2336
| 199,358,760 | 2,336 |
[
"chakra-core",
"ChakraCore"
] |
Run the 'RUN LONG STRING' test from the following test page and it can be observed that Microsoft Edge could be faster at running this code.
https://github.com/toddreifsteck/webtests/blob/master/setTimeout/setTimeout.html
Per conversation with @pleath , it appears that the Chakra team has the power to optimize this without any work from the EdgeHtml team.
|
setTimeout(<string>) could be much faster when same <string> is used multiple times
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2334/comments
| 2 |
2017-01-06T22:47:04Z
|
2018-05-08T22:50:39Z
|
https://github.com/chakra-core/ChakraCore/issues/2334
| 199,309,556 | 2,334 |
[
"chakra-core",
"ChakraCore"
] |
If run below code, Edge's total memory increases continuously.
But the memory size of snap shot doesn't increase.
Our web-app game is crashed and refreshed because of this memory problem.
We suspect that there is the same problem at Uint8Array, Float16Array, etc..
```javascript
var bufList = [];
var num = 256;
var bufSize = 96;
var buffer = new ArrayBuffer( bufSize * num);
var testMemFunc = function() {
for(var j=0;j<num; j++) {
var floatBuf = new Float32Array( buffer, j*bufSize + 12, 3 );
floatBuf[0] = 7;
floatBuf[1] = 7;
floatBuf[2] = 7;
bufList.push(floatBuf);
}
bufList.length = 0;
};
setInterval(testMemFunc, 1);
```
|
Float32Array memory leak problem
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2328/comments
| 5 |
2017-01-06T13:23:48Z
|
2017-02-13T23:44:53Z
|
https://github.com/chakra-core/ChakraCore/issues/2328
| 199,195,641 | 2,328 |
[
"chakra-core",
"ChakraCore"
] |
We should collect profile information of array's length created by user so we can use it to allocate array of appropriate size while JITing.
|
Collect profile information of array's length
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2324/comments
| 1 |
2017-01-05T23:42:47Z
|
2018-03-01T00:36:08Z
|
https://github.com/chakra-core/ChakraCore/issues/2324
| 199,088,766 | 2,324 |
[
"chakra-core",
"ChakraCore"
] |
We currently use a workaround in TTRuntimeInfoTracker.cpp to scan and track well known persistent pointers. This doesn't scale well and is currently missing a number of properties on JavascriptLibraryBase.
Ideally we would like a "JsWellKnownObject" macro + list of fields that would notify us of what these fields/objects are (and give us stable names/ids for them).
See #2309 for more info.
|
TTD - Improve scanning of well known persistent pointers
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2321/comments
| 0 |
2017-01-05T18:40:00Z
|
2018-05-07T22:16:24Z
|
https://github.com/chakra-core/ChakraCore/issues/2321
| 199,027,908 | 2,321 |
[
"chakra-core",
"ChakraCore"
] |
```javascript
function f() {
let ta = new Uint8Array(5);
Object.defineProperty(ta, 'length', { value: 100 });
return ta.length;
}
print(f());
print(f());
```
Run with `ch -mic:1 -off:simplejit`
Prints
```
100
5
```
Should be 100 always.
@Penguinwizzard @boingoing
|
TypedArray length incorrectly reported in JITed code
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2319/comments
| 6 |
2017-01-05T04:28:50Z
|
2019-06-07T18:35:23Z
|
https://github.com/chakra-core/ChakraCore/issues/2319
| 198,874,094 | 2,319 |
[
"chakra-core",
"ChakraCore"
] |
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x64_debug/
```
D:\j\workspace\daily_dev12_x---55cdd258\lib\Jsrt\JsrtHelper.cpp(7): error C2220: warning treated as error - no 'object' file generated [D:\j\workspace\daily_dev12_x---55cdd258\lib\Jsrt\Chakra.Jsrt.vcxproj]
10:57:32 D:\j\workspace\daily_dev12_x---55cdd258\lib\Jsrt\JsrtHelper.cpp(7): warning C4627: '#include <pthread.h>': skipped when looking for precompiled header use [D:\j\workspace\daily_dev12_x---55cdd258\lib\Jsrt\Chakra.Jsrt.vcxproj]
10:57:32 Add directive to 'JsrtPch.h' or rebuild precompiled header
```
Broken since build 35
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_dev12_x64_debug/changes
```
35 (Dec 22, 2016 10:57:07 AM)
android: ChakraCore compiles to Android ARMv7 (commit: 6811584) — ogbastem / githubweb
silence failures for connecting to jit process (commit: 1f87d7e) — Michael Holman / githubweb
Resolves #1896. Modified Array.prototype.toLocaleString to use the (commit: 1410874) — akatti / githubweb
AutoRestoreFunctionInfo does not handle throw during initialization (commit: 34f70cd) — Tom Care / githubweb
Update Jsrt Utf8 types and naming (commit: adbea39) — ogbastem / githubweb
```
@obastemur @MikeHolman @atulkatti @tcare
|
[Legacy] Build Error (branch: master)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2318/comments
| 2 |
2017-01-05T02:34:54Z
|
2017-01-05T22:43:25Z
|
https://github.com/chakra-core/ChakraCore/issues/2318
| 198,862,549 | 2,318 |
[
"chakra-core",
"ChakraCore"
] |
https://github.com/Microsoft/ChakraCore/wiki/Build-Status#disablejit-builds
For example:
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_disablejit_x64_debug/
Broken since build 41
Changes between a successful build and the broken build:
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_disablejit_x64_debug/changes
```
#41 (Dec 22, 2016 9:10:11 AM)
android: ChakraCore compiles to Android ARMv7 (commit: 6811584) — ogbastem / githubweb
silence failures for connecting to jit process (commit: 1f87d7e) — Michael Holman / githubweb
Resolves #1896. Modified Array.prototype.toLocaleString to use the (commit: 1410874) — akatti / githubweb
Update Jsrt Utf8 types and naming (commit: adbea39) — ogbastem / githubweb
```
@obastemur @MikeHolman @atulkatti
|
[DisableJIT] Link Error (branch: master)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2317/comments
| 0 |
2017-01-05T02:32:04Z
|
2017-01-10T05:44:00Z
|
https://github.com/chakra-core/ChakraCore/issues/2317
| 198,862,207 | 2,317 |
[
"chakra-core",
"ChakraCore"
] |
https://github.com/Microsoft/ChakraCore/wiki/Build-Status#builds-with-slow-tests
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_slow_x86_debug/changes
Shows @boingoing's recent commits as the most likely source of the break.
Note: The Slow Tests issue is showing up in Legacy Tests.
|
[Slow Tests, Legacy] UnifiedRegex failures in {x64,x86}_{debug,test} (branches: release/1.4, master)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2316/comments
| 1 |
2017-01-05T02:27:55Z
|
2017-01-30T18:19:52Z
|
https://github.com/chakra-core/ChakraCore/issues/2316
| 198,861,696 | 2,316 |
[
"chakra-core",
"ChakraCore"
] |
We've seen a number of sites with significant impact in parsing from altering IIFEs to trigger immediate vs. deferred parsing.
@nolanlawson documented a few of these at [https://nolanlawson.com/2016/08/15/the-cost-of-small-modules/], but we've seen many others while reviewing sites including Facebook, Office and PowerBI.
Investing some time to investigate this area of the Parser may be helpful given the growth in JS we continue to see on the web.
|
IIFE parsing heuristics/performance could potentially be improved
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2313/comments
| 1 |
2017-01-05T01:05:42Z
|
2017-01-05T01:18:53Z
|
https://github.com/chakra-core/ChakraCore/issues/2313
| 198,851,268 | 2,313 |
[
"chakra-core",
"ChakraCore"
] |
Today, it is possible to diagnose the execution time of scripts but understanding which scripts are contributing to Parse/ByteCodeGen/JIT CPU costs can be difficult and requires correlation with other events.
It would be ideal if there were Events in Chakra that allows Parse/ByteCodeGen code to be timed and associated with a "user-friendly string" identifier for the script that is being acted upon.
(Perfect is the enemy of good and I'd rather have something functional and imperfect than something perfect for diagnosis here. :-))
@nolanlawson so he is aware.
|
Add ETW for diagnosing parse time of scripts
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2312/comments
| 2 |
2017-01-05T01:01:46Z
|
2018-05-07T23:51:44Z
|
https://github.com/chakra-core/ChakraCore/issues/2312
| 198,850,780 | 2,312 |
[
"chakra-core",
"ChakraCore"
] |
Also, possibly add some telemetry if there is a reasonable measure to report.
|
Ensure parsing heuristics are producing desired outcome when given Closure-produced content
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2311/comments
| 5 |
2017-01-05T00:58:57Z
|
2018-03-01T01:32:41Z
|
https://github.com/chakra-core/ChakraCore/issues/2311
| 198,850,381 | 2,311 |
[
"chakra-core",
"ChakraCore"
] |
Repro:
ChakraCore/BuildLinux/Release/ch -
```sh
==28834==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef84 at pc 0x564b52e06139 bp 0x7fffa452de30 sp 0x7fffa452de28
READ of size 2 at 0x60200000ef84 thread T0
#0 0x564b52e06138 in Helpers::GetTTDDirectory(char16_t const*, unsigned long*, unsigned char*) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x347138)
#1 0x564b52dfdbb0 in main (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33ebb0)
#2 0x7f724d7df82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#3 0x564b52d267a8 in _start (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x2677a8)
0x60200000ef84 is located 12 bytes to the left of 16-byte region [0x60200000ef90,0x60200000efa0)
allocated by thread T0 here:
#0 0x564b52df8050 in operator new[](unsigned long) (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x339050)
#1 0x564b52dfd8a9 in main (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x33e8a9)
#2 0x7f724d7df82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/fuzzer/browsers/ChakraCore/BuildLinux/Release/ch+0x347138) in Helpers::GetTTDDirectory(char16_t const*, unsigned long*, unsigned char*)
Shadow bytes around the buggy address:
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa 04 fa
=>0x0c047fff9df0:[fa]fa 00 00 fa fa fd fd fa fa 04 fa fa fa 00 fa
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==28834==ABORTING
```
|
issue in Helpers::GetTTDDirectory
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2305/comments
| 0 |
2017-01-04T01:21:27Z
|
2017-01-06T22:52:29Z
|
https://github.com/chakra-core/ChakraCore/issues/2305
| 198,610,303 | 2,305 |
[
"chakra-core",
"ChakraCore"
] |
I built ChakraCore on Linux (Ubuntu 16.04) as per the instructions here: https://github.com/Microsoft/ChakraCore/wiki/Building-ChakraCore/da4ffbc0ac4598f211fee4fb40b6657210b84ac1
I was on the master branch (dce349e3192fcebd9f8d889c858a60845f7a12bd). This issue occurred on Test and Release builds. I was unable to test on a Debug build as Debug builds could not run the test case in a reasonable amount of time.
Build flags:
```
./build.sh -t -j 2
```
When running the typescript.js benchmark I get a segfault:
```
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# ./ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
Segmentation fault (core dumped)
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# time ./ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
Segmentation fault (core dumped)
real 0m27.314s
user 0m28.100s
sys 0m4.852s
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# time ./ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
Segmentation fault (core dumped)
real 0m6.953s
user 0m8.760s
sys 0m2.708s
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# time ./ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
Segmentation fault (core dumped)
real 0m21.995s
user 0m21.972s
sys 0m4.328s
```
Note it segfaults after different amounts of time.
When I run with `-GCMemoryThreshold:512` the segfault goes away:
```
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# ./ch -GCMemoryThreshold:512 /root/ChakraCore/test/benchmarks/Octane/typescript.js
### SCORE: 16364
```
I ran `ch` under gdb but it seems to crash in different places each run:
```
root@ljw-VirtualBox:~/ChakraCore/BuildLinux/Test# gdb ./ch
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./ch...(no debugging symbols found)...done.
(gdb) run /root/ChakraCore/test/benchmarks/Octane/typescript.js
Starting program: /root/ChakraCore/BuildLinux/Test/ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5f1f700 (LWP 7461)]
[New Thread 0x7ff7f1c99700 (LWP 7462)]
Thread 1 "ch" received signal SIGSEGV, Segmentation fault.
0x00007ffff4f9c438 in Js::JavascriptFunction::DeferredParseCore(Js::ScriptFunction**, int&) () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
(gdb)
(gdb) backtrace
#0 0x00007ffff4f9c438 in Js::JavascriptFunction::DeferredParseCore(Js::ScriptFunction**, int&) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#1 0x00007ffff4f9c411 in Js::JavascriptFunction::DeferredParse(Js::ScriptFunction**) () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#2 0x00007ffff510b430 in Js::JavascriptFunction::DeferredParsingThunk(Js::RecyclableObject*, Js::CallInfo, ...) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#3 0x00007ff7e65aa729 in ?? ()
#4 0x00007fffffff55f0 in ?? ()
#5 0x0000000010000001 in ?? ()
#6 0x00007ff7f1cd0020 in ?? ()
#7 0x000100007fe0fd2b in ?? ()
#8 0x0001000000000000 in ?? ()
#9 0x00007ff7f1cd88e0 in ?? ()
#10 0x0001000000000000 in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb) run /root/ChakraCore/test/benchmarks/Octane/typescript.js
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /root/ChakraCore/BuildLinux/Test/ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5f1f700 (LWP 7482)]
[New Thread 0x7ff7f1c99700 (LWP 7483)]
Thread 1 "ch" received signal SIGSEGV, Segmentation fault.
0x00007ffff4f9c438 in Js::JavascriptFunction::DeferredParseCore(Js::ScriptFunction**, int&) () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
(gdb) backtrace
#0 0x00007ffff4f9c438 in Js::JavascriptFunction::DeferredParseCore(Js::ScriptFunction**, int&) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#1 0x00007ffff4f9c411 in Js::JavascriptFunction::DeferredParse(Js::ScriptFunction**) () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#2 0x00007ffff510b430 in Js::JavascriptFunction::DeferredParsingThunk(Js::RecyclableObject*, Js::CallInfo, ...) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#3 0x00007ff7e9f77aaa in ?? ()
#4 0x00007fffffff7848 in ?? ()
#5 0x0000000002000001 in ?? ()
#6 0x00007ff7f1cd0020 in ?? ()
#7 0x000100007fe0fc22 in ?? ()
#8 0x0001000000000000 in ?? ()
#9 0x00007ff7f1cd88e0 in ?? ()
#10 0x00007ff7f1cd8900 in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb) run /root/ChakraCore/test/benchmarks/Octane/typescript.js
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /root/ChakraCore/BuildLinux/Test/ch /root/ChakraCore/test/benchmarks/Octane/typescript.js
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5f1f700 (LWP 7485)]
[New Thread 0x7ff7f1c99700 (LWP 7486)]
Thread 1 "ch" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace
#0 0x0000000000000000 in ?? ()
#1 0x00007ff7e8ed0af7 in ?? ()
#2 0x00007fffffff3c40 in ?? ()
#3 0x0000000010000001 in ?? ()
#4 0x00007ff7f1cd0020 in ?? ()
#5 0x00007ffff4e754b6 in Js::InterpreterStackFrame::InterpreterHelper(Js::ScriptFunction*, Js::ArgumentReader, void*, void*, bool) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#6 0x00007ffff510b2fe in amd64_CallFunction () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#7 0x00007ffff4e84cdc in Js::InterpreterStackFrame::ProcessUnprofiled() () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#8 0x00007ffff4e75a3f in Js::InterpreterStackFrame::Process() () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#9 0x00007ffff4e752d8 in Js::InterpreterStackFrame::InterpreterHelper(Js::ScriptFunction*, Js::ArgumentReader, void*, void*, bool) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#10 0x00007ffff4e74d41 in Js::InterpreterStackFrame::InterpreterThunk(Js::JavascriptCallStackLayout*) ()
from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
#11 0x00007ff7f143905a in ?? ()
#12 0x00007fffffff41e0 in ?? ()
#13 0x00007ffff510b2fe in amd64_CallFunction () from /root/ChakraCore/BuildLinux/Test/libChakraCore.so
Backtrace stopped: frame did not save the PC
(gdb)
```
|
test/benchmarks/Octane/typescript.js segmentation fault
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2302/comments
| 9 |
2017-01-02T01:09:12Z
|
2017-04-25T03:50:48Z
|
https://github.com/chakra-core/ChakraCore/issues/2302
| 198,289,081 | 2,302 |
[
"chakra-core",
"ChakraCore"
] |
Hi,
We talked about the GC features not yet implemented on Linux. Following is an example of where JsCreateString in a hot path can severely harm perfomance:
```c++
#include <ChakraCore.h>
#include <iostream>
#include <cstring>
#include <fstream>
void registerGlobalFunction(const char *name, JsNativeFunction nativeFunction) {
JsValueRef jsFunction;
JsCreateFunction(nativeFunction, nullptr, &jsFunction);
JsPropertyIdRef propertyId;
JsCreatePropertyIdUtf8(name, strlen(name), &propertyId);
JsValueRef globalObject;
JsGetGlobalObject(&globalObject);
JsSetProperty(globalObject, propertyId, jsFunction, true);
}
JsContextRef context = 0;
JsValueRef cbFunction = 0;
int main(int argc, char **argv) {
std::string script = "setCb((verb) => {});";
JsRuntimeHandle runtime = 0;
JsValueRef result = 0;
unsigned currentSourceContext = 0;
JsCreateRuntime(JsRuntimeAttributeEnableExperimentalFeatures, nullptr, &runtime);
JsCreateContext(runtime, &context);
JsSetCurrentContext(context);
registerGlobalFunction("setCb", [](JsValueRef callee, bool isConstructCall, JsValueRef *arguments,
unsigned short argumentCount, void *data) -> JsValueRef {
JsAddRef((cbFunction = arguments[1]), nullptr);
return nullptr;
});
JsValueRef scriptSource = 0, scriptUrl = 0;
JsCreateExternalArrayBuffer((void *) script.data(), script.length(), nullptr, nullptr, &scriptSource);
JsCreateString("scriptUrl", 4, &scriptUrl);
JsRun(scriptSource, currentSourceContext++, scriptUrl, JsParseScriptAttributeNone, &result);
JsValueRef globalObject = 0;
JsGetGlobalObject(&globalObject);
const char string[] = "Something for JS-land";
// adjust this number for your computer
for (int i = 0; i < 20000; i++) {
JsValueRef verb = 0;
// creation of this string cause major slowdown
JsCreateString(string, sizeof(string) - 1, &verb);
JsValueRef arguments[] = {globalObject, verb};
JsCallFunction(cbFunction, arguments, 2, &result);
}
JsSetCurrentContext(JS_INVALID_REFERENCE);
JsDisposeRuntime(runtime);
std::cout << "Reached the end" << std::endl;
return 0;
}
```
|
Linux performance issues
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2299/comments
| 3 |
2016-12-29T23:03:40Z
|
2017-02-03T15:34:19Z
|
https://github.com/chakra-core/ChakraCore/issues/2299
| 198,081,758 | 2,299 |
[
"chakra-core",
"ChakraCore"
] |
This is a follow-up issue for #2296
```
+// xplat-todo: Implement a corresponding solution for GetModuleFileNameW
+// and cleanup PAL. [ https://github.com/Microsoft/ChakraCore/pull/2288 should be merged first ]
+// GetModuleFileName* PAL is not reliable and forces us to explicitly double initialize PAL
+// with argc / argv....
```
~~Waiting for #2288~~
Move `GetBinaryLocation` (https://github.com/Microsoft/ChakraCore/blob/7541e228ef42a97895a88f46d5427d07bf2675ba/bin/ch/Helpers.cpp#L577) into PlatformAgnostic and use that instead of `GetModuleFileName*`
edit-2, Some more details:
- Create `SystemInfo.cpp` under `lib/Runtime/PlatformAgnostic/Platform/Common/`
```
#include "Common.h"
#include "ChakraPlatform.h"
namespace PlatformAgnostic
{
void SystemInfo::GetBinaryLocation(........) { ....... }
....
```
- After moving GetBinaryLocation under the new SystemInfo.cpp, we should add it into `lib/Runtime/PlatformAgnostic/CMakeLists.txt` (i.e. at line 4)
- Similarly add that source file into `lib/Runtime/PlatformAgnostic/Chakra.Runtime.PlatformAgnostic.vcxproj` (i.e. line 41)
- Finally add SystemInfo's GetBinaryLocation static method definition into `lib/Common/PlatformAgnostic/SystemInfo.h`
|
PAL: Cleanup GetModuleFileName** and implement corresponding interface
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2297/comments
| 3 |
2016-12-29T21:05:08Z
|
2017-11-16T01:52:54Z
|
https://github.com/chakra-core/ChakraCore/issues/2297
| 198,068,489 | 2,297 |
[
"chakra-core",
"ChakraCore"
] |
On https://github.com/Microsoft/ChakraCore/wiki/JavaScript-Runtime-%28JSRT%29-Overview
> Execution contexts are tied to a particular runtime and execute code within that runtime. Unlike runtimes, multiple execution contexts can be active on a thread at the same time. So a host can make a call into an execution context, that execution context can call back to the host, and the host can make a call into a different execution context.
This is followed by a diagram
<img src="https://github.com/Microsoft/ChakraCore/wiki/images/context.png">
- Is the nesting possible only 2 levels deep? Or can it be arbitrarily deep?
- Can the two contexts run _different_ scripts or do they need to run the same script? In other words, can a single chakracore runtime mimic a CPU which is running separate code streams with access to different data? Another way to ask: can a single chakracore runtime mimic non-premptive execution/green threads?
I'm trying to compare this with V8.
|
Q: Nested Contexts -- Arbitrary depth? Different scripts?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2295/comments
| 4 |
2016-12-29T11:03:29Z
|
2017-03-03T20:10:52Z
|
https://github.com/chakra-core/ChakraCore/issues/2295
| 197,990,186 | 2,295 |
[
"chakra-core",
"ChakraCore"
] |
class Foo extends null { constructor() {} };
new Foo(); // use-before-decl, should not throw
See tc39/test262#813 and https://github.com/tc39/ecma262/issues/543#issuecomment-210191577
|
Classes extending null should bind a 'this' value
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2294/comments
| 1 |
2016-12-29T01:24:54Z
|
2016-12-31T01:44:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2294
| 197,939,652 | 2,294 |
[
"chakra-core",
"ChakraCore"
] |
**Current behavior**
As u can see on the screenshot http://prntscr.com/dotsln select has `selectedIndex` equals to -1 `value` is empty, but it shows the first option.
I can workaround it by explicitly calling `document.getElementById('test').selectedIndex = -1;`, but I can't write a test for it because select has all correct properties (`selectedIndex = -1`, `value = ''`).
**Expected behavior**
I think it should never be the case. If select has `selectedIndex` equals to `-1` then it should show a blank line, otherwise it should have `selectedIndex` equals to `0`.
**Minimal reproduction of the problem with instructions**
https://plnkr.co/edit/jZNAV8IMFO5dV4ypmAFE?p=preview
The repro includes angular 2 code, but it's irrelevant to the issue. At first I thought it's a bug in angular, but it works as expected in Chrome/Firefox.
**Browser:**
IE 9-11/Edge
|
Select with selectedIndex = -1 still shows the first option
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2290/comments
| 3 |
2016-12-28T11:39:30Z
|
2016-12-28T19:43:45Z
|
https://github.com/chakra-core/ChakraCore/issues/2290
| 197,839,989 | 2,290 |
[
"chakra-core",
"ChakraCore"
] |
Every web browser I've tested other than MS Edge supports JavaScript statements of the form:
variable = Element.closest(selector)
Example: : var targetElem = this.nodeField.closest('div'); // Get field's closest containing div
The list of supporting browsers includes Mozilla, Chrome, and Safari on desktop, iOS, and Android, and IE 11 on Windows.
However, executing the above JavaScript statement in MS Edge results in the following error:
SCRIPT438: Object doesn't support property or method 'closest'
This forces me to add a conditional function prototype for "closest" to my application so that it will run successfully on MS Edge, which I would much prefer not to do.
|
Missing function Element.closest(selector)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2286/comments
| 4 |
2016-12-25T18:33:43Z
|
2016-12-28T00:21:12Z
|
https://github.com/chakra-core/ChakraCore/issues/2286
| 197,511,145 | 2,286 |
[
"chakra-core",
"ChakraCore"
] |
_I'm finally back again, lol_
I'm trying to get my nucleus-js project built again with Chakra and Rust and I'm encountering some internal(?) symbol errors, which only occur when building with / linking to Rust.
```
= note: Undefined symbols for architecture x86_64:
```
```
"___cxa_call_unexpected", referenced from:
Memory::LargeHeapBlock::RescanOnePage(Memory::Recycler*) in libChakra.Jsrt.a(LargeHeapBlock.cpp.o)
```
```
"___cxa_free_exception", referenced from:
TTD::NSLogEvents::HostProcessExitAction_Execute(TTD::NSLogEvents::EventLogEntry const*, TTD::ThreadContextTTD*) in libChakra.Jsrt.a(TTActionEvents.cpp.o)
```
```
"vtable for __cxxabiv1::__vmi_class_type_info", referenced from:
typeinfo for ThreadContext in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for UCrtC99MathApis in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for JsrtDebugManager in libChakra.Jsrt.a(JsrtDebugManager.cpp.o)
typeinfo for Js::SynchronizableList<Memory::RecyclerWeakReference<Js::FunctionEntryPointInfo>*, JsUtil::List<Memory::RecyclerWeakReference<Js::FunctionEntryPointInfo>*, Memory::Recycler, false, Js::CopyRemovePolicy, DefaultComparer>, Js::DefaultContainerLockPolicy, CriticalSection> in libChakra.Jsrt.a(FunctionBody.cpp.o)
```
```
"___cxa_allocate_exception", referenced from:
ThreadContext::ProbeStackNoDispose(unsigned long, Js::ScriptContext*, void*) in libChakra.Jsrt.a(ThreadContext.cpp.o)
```
```
___cxa_pure_virtual", referenced from:
vtable for JsrtContext in libChakra.Jsrt.a(JsrtContext.cpp.o)
```
```
"___cxa_guard_acquire", referenced from:
VALIDATE_ENTER_CURRENT_THREAD() in libChakra.Jsrt.a(JsrtHelper.cpp.o)
```
```
"std::terminate()", referenced from:
___clang_call_terminate in libChakra.Jsrt.a(Jsrt.cpp.o)
```
... and more.
<details>
<summary>Full Log</summary>
```
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-m64" "-L" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/nucleus.0.o" "-o" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/nucleus" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps" "-L" "deps/ChakraCore/BuildLinux/Test/lib/../pal/src/" "-L" "deps/ChakraCore/BuildLinux/Test/lib/Common/Core/" "-L" "deps/ChakraCore/BuildLinux/Test/lib/Jsrt/" "-L" "/usr/local/opt/icu4c/lib/" "-L" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/build/miniz-sys-60c8d67696f63a43/out" "-L" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/build/bzip2-sys-b768200d1597b521/out" "-L" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-l" "Chakra.Pal" "-l" "Chakra.Common.Core" "-l" "Chakra.Jsrt" "-l" "icudata" "-l" "icuuc" "-l" "icui18n" "-framework" "CoreFoundation" "-framework" "Security" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libzip-f664d58aaa6ae306.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libmsdos_time-32259590e9e43bd0.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libflate2-d719035eaa7c6a88.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libpodio-8ee06ac339b6efd9.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libbzip2-d5b99b9abc5b3496.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libgetopts-33691dbdf8852281.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libminiz_sys-722889de4af2439c.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libbzip2_sys-9803f2abe4d1d42f.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/libtime-750bfdd52feafcb7.rlib" "/Users/Jeremiah/Documents/nucleus-chakra/target/debug/deps/liblibc-1bd8847afb79f283.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librand-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcollections-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_unicode-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-f5a209a9.rlib" "/Users/Jeremiah/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-f5a209a9.rlib" "-l" "System" "-l" "pthread" "-l" "c" "-l" "m"
= note: Undefined symbols for architecture x86_64:
"___cxa_call_unexpected", referenced from:
Memory::LargeHeapBlock::RescanOnePage(Memory::Recycler*) in libChakra.Jsrt.a(LargeHeapBlock.cpp.o)
Memory::LargeHeapBlock::RescanMultiPage(Memory::Recycler*) in libChakra.Jsrt.a(LargeHeapBlock.cpp.o)
Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>::RescanObject(Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>*, char*, unsigned int, unsigned int, Memory::Recycler*) in libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o)
Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>::RescanObject(Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>*, char*, unsigned int, unsigned int, Memory::Recycler*) in libChakra.Jsrt.a(SmallNormalHeapBlock.cpp.o)
Memory::SmallNormalHeapBucketBase<Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalHeapBlockT<SmallAllocationBlockAttributes>*, char*, char*, BVStatic<1024ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*) in libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o)
Memory::SmallNormalHeapBucketBase<Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallNormalHeapBlockT<MediumAllocationBlockAttributes>*, char*, char*, BVStatic<2048ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*) in libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o)
Memory::SmallNormalHeapBucketBase<Memory::SmallFinalizableHeapBlockT<SmallAllocationBlockAttributes> >::RescanObjectsOnPage(Memory::SmallFinalizableHeapBlockT<SmallAllocationBlockAttributes>*, char*, char*, BVStatic<1024ul>*, unsigned int, unsigned int, bool*, Memory::Recycler*) in libChakra.Jsrt.a(SmallNormalHeapBucket.cpp.o)
...
"___cxa_free_exception", referenced from:
TTD::NSLogEvents::HostProcessExitAction_Execute(TTD::NSLogEvents::EventLogEntry const*, TTD::ThreadContextTTD*) in libChakra.Jsrt.a(TTActionEvents.cpp.o)
TTD::NSLogEvents::JsRTCallFunctionAction_Execute(TTD::NSLogEvents::EventLogEntry const*, TTD::ThreadContextTTD*) in libChakra.Jsrt.a(TTActionEvents.cpp.o)
TTD::EventLog::AbortReplayReturnToHost() in libChakra.Jsrt.a(TTEventLog.cpp.o)
TTD::EventLog::ProcessBPInfoPostBreak(Js::FunctionBody*) in libChakra.Jsrt.a(TTEventLog.cpp.o)
Js::AsmJSByteCodeGenerator::EmitTopLevelStatement(ParseNode*) in libChakra.Jsrt.a(AsmJsByteCodeGenerator.cpp.o)
Js::AsmJSByteCodeGenerator::Emit(ParseNode*) in libChakra.Jsrt.a(AsmJsByteCodeGenerator.cpp.o)
Js::AsmJSByteCodeGenerator::EmitReturn(ParseNode*) in libChakra.Jsrt.a(AsmJsByteCodeGenerator.cpp.o)
...
"vtable for __cxxabiv1::__vmi_class_type_info", referenced from:
typeinfo for ThreadContext in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for UCrtC99MathApis in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for JsrtDebugManager in libChakra.Jsrt.a(JsrtDebugManager.cpp.o)
typeinfo for Js::SynchronizableList<Memory::RecyclerWeakReference<Js::FunctionEntryPointInfo>*, JsUtil::List<Memory::RecyclerWeakReference<Js::FunctionEntryPointInfo>*, Memory::Recycler, false, Js::CopyRemovePolicy, DefaultComparer>, Js::DefaultContainerLockPolicy, CriticalSection> in libChakra.Jsrt.a(FunctionBody.cpp.o)
typeinfo for Js::SynchronizableList<Js::LoopEntryPointInfo*, JsUtil::List<Js::LoopEntryPointInfo*, Memory::Recycler, false, Js::CopyRemovePolicy, DefaultComparer>, Js::DefaultContainerLockPolicy, CriticalSection> in libChakra.Jsrt.a(FunctionBody.cpp.o)
typeinfo for Js::ScriptContext in libChakra.Jsrt.a(ScriptContext.cpp.o)
typeinfo for JsUtil::BaseDictionary<unsigned long, Memory::RecyclerWeakReference<Js::DynamicType>*, Memory::RecyclerNonLeafAllocator, DictionarySizePolicy<PowerOf2Policy, 1u, 2u, 1u, 4u>, DefaultComparer, JsUtil::WeakRefValueDictionaryEntry, JsUtil::NoResizeLock> in libChakra.Jsrt.a(JavascriptLibrary.cpp.o)
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"___cxa_allocate_exception", referenced from:
ThreadContext::ProbeStackNoDispose(unsigned long, Js::ScriptContext*, void*) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::ProbeStack(unsigned long, Js::RecyclableObject*, Js::ScriptContext*) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::ExecuteRecyclerCollectionFunction(Memory::Recycler*, int (Memory::Recycler::*)(Memory::CollectionFlags), Memory::CollectionFlags) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::CheckScriptInterrupt() in libChakra.Jsrt.a(ThreadContext.cpp.o)
Js::ParseableFunctionInfo::Parse(Js::ScriptFunction**, bool) in libChakra.Jsrt.a(FunctionBody.cpp.o)
Js::EnterScriptObject::VerifyEnterScript() in libChakra.Jsrt.a(LeaveScriptObject.cpp.o)
Js::JavascriptFunction::CallRootFunctionInternal(Js::Arguments, Js::ScriptContext*, bool) in libChakra.Jsrt.a(JavascriptFunction.cpp.o)
...
"___cxa_pure_virtual", referenced from:
vtable for JsrtContext in libChakra.Jsrt.a(JsrtContext.cpp.o)
vtable for Js::ArrayBuffer in libChakra.Jsrt.a(ArrayBuffer.cpp.o)
vtable for Js::ArrayBufferParent in libChakra.Jsrt.a(ArrayBuffer.cpp.o)
vtable for ThreadContextInfo in libChakra.Jsrt.a(ThreadContextInfo.cpp.o)
vtable for ExpirableObject in libChakra.Jsrt.a(ExpirableObject.cpp.o)
vtable for DelayLoadLibrary in libChakra.Common.Core.a(DelayLoadLibrary.cpp.o)
vtable for JsrtDebuggerObjectBase in libChakra.Jsrt.a(JsrtDebuggerObject.cpp.o)
...
"___cxa_guard_acquire", referenced from:
VALIDATE_ENTER_CURRENT_THREAD() in libChakra.Jsrt.a(JsrtHelper.cpp.o)
ConfigParser::ProcessConfiguration(void*) in libChakra.Common.Core.a(ConfigParser.cpp.o)
_rand_s in libChakra.Pal.a(random.cpp.o)
"vtable for __cxxabiv1::__si_class_type_info", referenced from:
typeinfo for Js::OutOfMemoryException in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for Js::StackOverflowException in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for JsrtExceptionBase in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for Js::JavascriptException in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for Js::ScriptAbortException in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for Js::EvalDisabledException in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for Js::ISourceHolder in libChakra.Jsrt.a(Jsrt.cpp.o)
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"std::terminate()", referenced from:
___clang_call_terminate in libChakra.Jsrt.a(Jsrt.cpp.o)
"___cxa_end_catch", referenced from:
CreateRuntimeCore(_JsRuntimeAttributes, unsigned char const*, unsigned long, bool, bool, bool, unsigned int, unsigned int, void (*)(unsigned long, unsigned char const*), void* (*)(unsigned long, unsigned char const*, char const*, bool, bool, unsigned char**, unsigned long*), bool (*)(void*, unsigned char*, unsigned long, unsigned long*), bool (*)(void*, unsigned char const*, unsigned long, unsigned long*), void (*)(void*, bool, bool), bool (*)(void (*)(void*), void*), void**) in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsDisposeRuntime in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsCreateContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsSetCurrentContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsConvertValueToString in libChakra.Jsrt.a(Jsrt.cpp.o)
JsrtRuntime::RecyclerCollectCallbackStatic(void*, RecyclerCollectCallBackFlags) in libChakra.Jsrt.a(JsrtRuntime.cpp.o)
ThreadContext::EnsureRecycler() in libChakra.Jsrt.a(ThreadContext.cpp.o)
...
"___cxa_guard_release", referenced from:
VALIDATE_ENTER_CURRENT_THREAD() in libChakra.Jsrt.a(JsrtHelper.cpp.o)
ConfigParser::ProcessConfiguration(void*) in libChakra.Common.Core.a(ConfigParser.cpp.o)
_rand_s in libChakra.Pal.a(random.cpp.o)
"___cxa_begin_catch", referenced from:
CreateRuntimeCore(_JsRuntimeAttributes, unsigned char const*, unsigned long, bool, bool, bool, unsigned int, unsigned int, void (*)(unsigned long, unsigned char const*), void* (*)(unsigned long, unsigned char const*, char const*, bool, bool, unsigned char**, unsigned long*), bool (*)(void*, unsigned char*, unsigned long, unsigned long*), bool (*)(void*, unsigned char const*, unsigned long, unsigned long*), void (*)(void*, bool, bool), bool (*)(void (*)(void*), void*), void**) in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsDisposeRuntime in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsCreateContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsSetCurrentContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsConvertValueToString in libChakra.Jsrt.a(Jsrt.cpp.o)
___clang_call_terminate in libChakra.Jsrt.a(Jsrt.cpp.o)
JsrtRuntime::RecyclerCollectCallbackStatic(void*, RecyclerCollectCallBackFlags) in libChakra.Jsrt.a(JsrtRuntime.cpp.o)
...
"___cxa_rethrow", referenced from:
CreateRuntimeCore(_JsRuntimeAttributes, unsigned char const*, unsigned long, bool, bool, bool, unsigned int, unsigned int, void (*)(unsigned long, unsigned char const*), void* (*)(unsigned long, unsigned char const*, char const*, bool, bool, unsigned char**, unsigned long*), bool (*)(void*, unsigned char*, unsigned long, unsigned long*), bool (*)(void*, unsigned char const*, unsigned long, unsigned long*), void (*)(void*, bool, bool), bool (*)(void (*)(void*), void*), void**) in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsDisposeRuntime in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsCreateContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsSetCurrentContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsConvertValueToString in libChakra.Jsrt.a(Jsrt.cpp.o)
ThreadContext::EnsureRecycler() in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::InitializePropertyMaps() in libChakra.Jsrt.a(ThreadContext.cpp.o)
...
"___cxa_guard_abort", referenced from:
VALIDATE_ENTER_CURRENT_THREAD() in libChakra.Jsrt.a(JsrtHelper.cpp.o)
ConfigParser::ProcessConfiguration(void*) in libChakra.Common.Core.a(ConfigParser.cpp.o)
_rand_s in libChakra.Pal.a(random.cpp.o)
"vtable for __cxxabiv1::__class_type_info", referenced from:
typeinfo for Js::ExceptionBase in libChakra.Jsrt.a(Jsrt.cpp.o)
typeinfo for HostScriptContext in libChakra.Jsrt.a(JsrtContextCore.cpp.o)
typeinfo for FinalizableObject in libChakra.Jsrt.a(JsrtContextCore.cpp.o)
typeinfo for JsUtil::DoublyLinkedListElement<ThreadContext> in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for ThreadContextInfo in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for JsUtil::ReadOnlyList<Memory::RecyclerWeakReference<Js::PropertyRecord const> const*, Memory::Recycler, DefaultComparer> in libChakra.Jsrt.a(ThreadContext.cpp.o)
typeinfo for JsUtil::ReadOnlyList<IProjectionContext*, Memory::ArenaAllocator, DefaultComparer> in libChakra.Jsrt.a(ThreadContext.cpp.o)
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"_JsStringToPointerUtf8Copy", referenced from:
nucleus::main::haf33238c8599cfc7 in nucleus.0.o
"ConfigParserAPI::DisplayInitialOutput(char16_t*)", referenced from:
ConfigParser::ProcessConfiguration(void*) in libChakra.Common.Core.a(ConfigParser.cpp.o)
"___gxx_personality_v0", referenced from:
CreateContextCore(void*, TTD::TTDJsRTActionResultAutoRecorder&, bool, bool, bool, void**) in libChakra.Jsrt.a(Jsrt.cpp.o)
CreateRuntimeCore(_JsRuntimeAttributes, unsigned char const*, unsigned long, bool, bool, bool, unsigned int, unsigned int, void (*)(unsigned long, unsigned char const*), void* (*)(unsigned long, unsigned char const*, char const*, bool, bool, unsigned char**, unsigned long*), bool (*)(void*, unsigned char*, unsigned long, unsigned long*), bool (*)(void*, unsigned char const*, unsigned long, unsigned long*), void (*)(void*, bool, bool), bool (*)(void (*)(void*), void*), void**) in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsDisposeRuntime in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsCreateContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsSetCurrentContext in libChakra.Jsrt.a(Jsrt.cpp.o)
_JsConvertValueToString in libChakra.Jsrt.a(Jsrt.cpp.o)
TTD::TTModeStack::~TTModeStack() in libChakra.Jsrt.a(TTSupport.cpp.o)
...
"___cxa_throw", referenced from:
ThreadContext::ProbeStackNoDispose(unsigned long, Js::ScriptContext*, void*) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::ProbeStack(unsigned long, Js::RecyclableObject*, Js::ScriptContext*) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::ExecuteRecyclerCollectionFunction(Memory::Recycler*, int (Memory::Recycler::*)(Memory::CollectionFlags), Memory::CollectionFlags) in libChakra.Jsrt.a(ThreadContext.cpp.o)
ThreadContext::CheckScriptInterrupt() in libChakra.Jsrt.a(ThreadContext.cpp.o)
Js::ParseableFunctionInfo::Parse(Js::ScriptFunction**, bool) in libChakra.Jsrt.a(FunctionBody.cpp.o)
Js::EnterScriptObject::VerifyEnterScript() in libChakra.Jsrt.a(LeaveScriptObject.cpp.o)
Js::JavascriptFunction::CallRootFunctionInternal(Js::Arguments, Js::ScriptContext*, bool) in libChakra.Jsrt.a(JavascriptFunction.cpp.o)
...
"_JsRunScriptUtf8", referenced from:
nucleus::main::haf33238c8599cfc7 in nucleus.0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
</details>
---
The code I'm trying to build can be found at https://github.com/Fishrock123/nucleus-chakra. Most of the relevant code is in `build.rs` and `src/main.rs`.
I'm using `rustc 1.14.0 (e8a012324 2016-12-16)`.
cc @obastemur I suppose?
|
xplat(?): Undefined symbols for architecture x86_64 on OS X when building/linking to Rust
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2284/comments
| 5 |
2016-12-23T16:54:29Z
|
2017-01-05T08:06:52Z
|
https://github.com/chakra-core/ChakraCore/issues/2284
| 197,399,696 | 2,284 |
[
"chakra-core",
"ChakraCore"
] |
Following up #2251, we plan to change `JsDiagEvaluate` signature to take `JsValueRef` string, and remove `JsDiagEvaluateUtf8`.
//cc: @liminzhu @agarwal-sandeep @obastemur
|
xplat: JsDiagEvaluate signature
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2282/comments
| 3 |
2016-12-23T01:31:05Z
|
2017-01-13T08:05:13Z
|
https://github.com/chakra-core/ChakraCore/issues/2282
| 197,299,369 | 2,282 |
[
"chakra-core",
"ChakraCore"
] |
As discussed in #85 (especially https://github.com/Microsoft/ChakraCore/issues/85#issuecomment-228905098), we should have developer feeds for Linux and OS X for the binaries we release for those platforms, since NuGet is probably not the primary choice for development for Native apps on those platforms.
Since the Linux flavor we primary support is Linux, we should start with an `apt-get` feed for `.deb` packages.
The goal is to enable developers to do e.g. `apt-get install libchakracore` and begin development with the ability to link against our official binaries.
For OS X, the obvious choice is Brew.
/cc @obastemur
# Work Items:
- [ ] Signing linux binaries
- [ ] Signing OS X binaries
- [ ] Script for installation of official packages which works for all *nix platforms
## Extra work items (if deemed valuable):
- apt-get feed
- Brew feed
- [ ] Send a PR to update https://github.com/Homebrew/homebrew-core/blob/master/Formula/chakra.rb
|
Make official ChakraCore binaries easily available to developers on *nix platforms. (e.g. deb and brew feeds)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2278/comments
| 29 |
2016-12-22T21:58:57Z
|
2017-08-09T19:51:48Z
|
https://github.com/chakra-core/ChakraCore/issues/2278
| 197,275,255 | 2,278 |
[
"chakra-core",
"ChakraCore"
] |
Hi,
i written a script file and c# codes which is runned script.
i wanna invoke different function in javascript from C#.
How can i do it?
c# code:
```
var runtime = new JavaScriptRuntime();
var engine = Runtime.CreateEngine();
var script = FileHelper.ReadJavaScriptFromFile("script.js");
var javaScriptFunction = engine.EvaluateScriptText(script);
var javaScriptValue = javaScriptFunction.Invoke(Enumerable.Empty<JavaScriptValue>());
```
script.js file:
```
function abc(){
xyz();
mno();
}
function xyz(){
}
function mno(){
}
abc();
```
Example:
```
javaScriptFunction.abc();
javaScriptFunction.xyz();
javaScriptFunction.mno();
```
Is this example possible ?
|
creating an object from JavaScriptFunction and invoke different function.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2271/comments
| 3 |
2016-12-22T16:14:18Z
|
2017-03-03T09:46:22Z
|
https://github.com/chakra-core/ChakraCore/issues/2271
| 197,209,340 | 2,271 |
[
"chakra-core",
"ChakraCore"
] |
```
(function() {
"use asm";
(function(){});
})();
```
$ /home/skywinlinvm/chakracore/BuildLinux/Debug/ch test.js
Segmentation fault (core dumped)
$ file /home/skywinlinvm/chakracore/BuildLinux/Debug/ch
/home/skywinlinvm/chakracore/BuildLinux/Debug/ch: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32
Git hash: 3769053
OS: Ubuntu Linux 16.04.1 LTS
Arch: x86_64
```
Thread 1 "ch" received signal SIGSEGV, Segmentation fault.
Ident::GetPropertyId (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/../Parser/Hash.h:296
296 Js::PropertyId GetPropertyId() const { return m_propertyId; }
(gdb) bt
#0 Ident::GetPropertyId (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/../Parser/Hash.h:296
#1 0x00007ffff52a4564 in ByteCodeGenerator::AssignPropertyId (this=0x7fffffffc5d0, pid=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:1113
#2 0x00007ffff54c51bb in Js::AsmJsModuleCompiler::CreateNewFunctionEntry (this=0x7fffffffbb68, pnodeFnc=0x7ff7f16a57c0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJsModule.cpp:1083
#3 0x00007ffff547e5ef in Js::AsmJSCompiler::CheckFunction (m=..., fncNode=0x7ff7f16a57c0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:834
#4 0x00007ffff547e716 in Js::AsmJSCompiler::CheckFunctionsSequential (m=...) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:852
#5 0x00007ffff547f4f7 in Js::AsmJSCompiler::CheckModule (cx=0x7fffffffc198, parser=@0x7fffffffc0d8: 0x7ff7f16a5c40, stmtList=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1161
#6 0x00007ffff547f7a8 in Js::AsmJSCompiler::Compile (cx=0x7fffffffc198, parser=0x7ff7f16a5c40, stmtList=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1212
#7 0x00007ffff52734f0 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5210, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3616
#8 0x00007ffff52737e3 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5160, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3679
#9 0x00007ffff527369f in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5030, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3665
#10 0x00007ffff52733df in ByteCodeGenerator::EmitProgram (this=0x7fffffffc5d0, pnodeProg=0x7ff7f16a5030) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:2759
#11 0x00007ffff52a7f85 in ByteCodeGenerator::Generate (pnode=0x7ff7f16a5030, grfscr=4096, byteCodeGenerator=0x7fffffffc5d0, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:1883
#12 0x00007ffff52abba1 in GenerateByteCode (pnode=0x7ff7f16a5030, grfscr=4096, scriptContext=0x55555590b440, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, pse=0x7fffffffd1a0, parentScopeInfo=0x0, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:2068
#13 0x00007ffff51a5939 in Js::ScriptContext::GenerateRootFunction (this=0x55555590b440, parseTree=0x7ff7f16a5030, sourceIndex=0, parser=0x7fffffffca00, grfscr=4096, pse=0x7fffffffd1a0, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u"Global code") at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1943
#14 0x00007ffff51a5429 in Js::ScriptContext::LoadScript (this=0x55555590b440, script=0x5555558b87d0 "(function() {\n \"use asm\";\n (function(){});\n})();", cb=54, pSrcInfo=0x7fffffffce60, pse=0x7fffffffd1a0, ppSourceInfo=0x7fffffffce58, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u"Global code", loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), scriptSource=0x7ff7f1f30050) at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1897
#15 0x00007ffff4bd02d5 in RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73::operator()(Js::ScriptContext*, TTD::TTDJsRTActionResultAutoRecorder&) const (this=0x7fffffffd0a0, scriptContext=0x55555590b440, _actionEntryPopper=...) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2928
#16 0x00007ffff4bcffc7 in _JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}::operator()(Js::ScriptContext*) const (this=0x7fffffffd028, scriptContext=0x55555590b440) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:293
#17 0x00007ffff4bcf8cd in ContextAPINoScriptWrapper_Core<_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}>(_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:254
#18 0x00007ffff4ba47d8 in ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:291
#19 0x00007ffff4ba4689 in RunScriptCore (scriptSource=0x7ff7f1f30050, script=0x5555558b87d0 "(function() {\n \"use asm\";\n (function(){});\n})();", cb=54, loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), sourceContext=0, sourceUrl=0x7ff7f16a0000 u"/home/skywinlinvm/chakracoretest/bb19.js", parseOnly=false, parseAttributes=JsParseScriptAttributeNone, isSourceModule=false, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2877
#20 0x00007ffff4ba72ce in CompileRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0, parseOnly=false) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4336
#21 JsRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4358
#22 0x000055555555eafe in ChakraRTInterface::JsRun (script=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/bin/ch/ChakraRtInterface.h:367
#23 0x000055555555ca92 in RunScript (fileName=0x5555558d5e90 "bb19.js", fileContents=0x5555558b87d0 "(function() {\n \"use asm\";\n (function(){});\n})();", bufferValue=0x0, fullPath=0x7fffffffd990 "/home/skywinlinvm/chakracoretest/bb19.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:321
#24 0x000055555555deb0 in ExecuteTest (fileName=0x5555558d5e90 "bb19.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:594
#25 0x000055555555dfb0 in ExecuteTestWithMemoryCheck (fileName=0x5555558d5e90 "bb19.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:642
#26 0x000055555555e4f0 in main (argc=2, c_argv=0x7fffffffdd08) at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:869
(gdb)
```
|
Crash [@ Ident::GetPropertyId] involving "use asm"
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2270/comments
| 3 |
2016-12-22T07:46:32Z
|
2016-12-23T16:09:44Z
|
https://github.com/chakra-core/ChakraCore/issues/2270
| 197,113,851 | 2,270 |
[
"chakra-core",
"ChakraCore"
] |
```
f = (function(stdlib, foreign, heap) {
"use asm";
return function() {};
function f() {};
});
```
$ /home/skywinlinvm/chakracore/BuildLinux/Debug/ch test.js
Segmentation fault (core dumped)
file /home/skywinlinvm/chakracore/BuildLinux/Debug/ch
/home/skywinlinvm/chakracore/BuildLinux/Debug/ch: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32
Git hash: 3769053
OS: Ubuntu Linux 16.04.1 LTS
Arch: x86_64
```
Thread 1 "ch" received signal SIGSEGV, Segmentation fault.
Js::AsmJsFunc::GetFncNode (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/./Language/AsmJsTypes.h:756
756 inline ParseNode* GetFncNode() const{ return mFncNode; }
(gdb) bt
#0 Js::AsmJsFunc::GetFncNode (this=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/./Language/AsmJsTypes.h:756
#1 0x00007ffff54bf35a in Js::AsmJsModuleCompiler::CompileFunction (this=0x7fffffffbb68, func=0x0, funcIndex=0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJsModule.cpp:587
#2 0x00007ffff54bf2c7 in Js::AsmJsModuleCompiler::CompileAllFunctions (this=0x7fffffffbb68) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJsModule.cpp:33
#3 0x00007ffff547f548 in Js::AsmJSCompiler::CheckModule (cx=0x7fffffffc198, parser=@0x7fffffffc0d8: 0x7ff7f16a64c0, stmtList=0x7ff7f16a56f0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1169
#4 0x00007ffff547f7a8 in Js::AsmJSCompiler::Compile (cx=0x7fffffffc198, parser=0x7ff7f16a64c0, stmtList=0x7ff7f16a56f0) at /home/skywinlinvm/chakracore/lib/Runtime/Language/AsmJs.cpp:1212
#5 0x00007ffff52734f0 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5270, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3616
#6 0x00007ffff52737e3 in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5160, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3679
#7 0x00007ffff527369f in ByteCodeGenerator::EmitScopeList (this=0x7fffffffc5d0, pnode=0x7ff7f16a5030, breakOnBodyScopeNode=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:3665
#8 0x00007ffff52733df in ByteCodeGenerator::EmitProgram (this=0x7fffffffc5d0, pnodeProg=0x7ff7f16a5030) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeEmitter.cpp:2759
#9 0x00007ffff52a7f85 in ByteCodeGenerator::Generate (pnode=0x7ff7f16a5030, grfscr=4096, byteCodeGenerator=0x7fffffffc5d0, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:1883
#10 0x00007ffff52abba1 in GenerateByteCode (pnode=0x7ff7f16a5030, grfscr=4096, scriptContext=0x55555590b460, ppRootFunc=0x7fffffffc880, sourceIndex=0, forceNoNative=false, parser=0x7fffffffca00, pse=0x7fffffffd1a0, parentScopeInfo=0x0, functionRef=0x0) at /home/skywinlinvm/chakracore/lib/Runtime/ByteCode/ByteCodeGenerator.cpp:2068
#11 0x00007ffff51a5939 in Js::ScriptContext::GenerateRootFunction (this=0x55555590b460, parseTree=0x7ff7f16a5030, sourceIndex=0, parser=0x7fffffffca00, grfscr=4096, pse=0x7fffffffd1a0, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u"Global code") at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1943
#12 0x00007ffff51a5429 in Js::ScriptContext::LoadScript (this=0x55555590b460, script=0x5555558d5eb0 "f = (function(stdlib, foreign, heap) {\n \"use asm\";\n return function() {};\n function f() {};\n});", cb=104, pSrcInfo=0x7fffffffce60, pse=0x7fffffffd1a0, ppSourceInfo=0x7fffffffce58, rootDisplayName=0x7ffff5e8d2f0 <Js::Constants::GlobalCode> u"Global code", loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), scriptSource=0x7ff7f1f30050) at /home/skywinlinvm/chakracore/lib/Runtime/Base/ScriptContext.cpp:1897
#13 0x00007ffff4bd02d5 in RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73::operator()(Js::ScriptContext*, TTD::TTDJsRTActionResultAutoRecorder&) const (this=0x7fffffffd0a0, scriptContext=0x55555590b460, _actionEntryPopper=...) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2928
#14 0x00007ffff4bcffc7 in _JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}::operator()(Js::ScriptContext*) const (this=0x7fffffffd028, scriptContext=0x55555590b460) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:293
#15 0x00007ffff4bcf8cd in ContextAPINoScriptWrapper_Core<_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}>(_JsErrorCode ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool)::{lambda(Js::ScriptContext*)#1}, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:254
#16 0x00007ffff4ba47d8 in ContextAPINoScriptWrapper<RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73>(RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**)::$_73, bool, bool) (fn=..., allowInObjectBeforeCollectCallback=false, scriptExceptionAllowed=false) at /home/skywinlinvm/chakracore/lib/Jsrt/JsrtInternal.h:291
#17 0x00007ffff4ba4689 in RunScriptCore (scriptSource=0x7ff7f1f30050, script=0x5555558d5eb0 "f = (function(stdlib, foreign, heap) {\n \"use asm\";\n return function() {};\n function f() {};\n});", cb=104, loadScriptFlag=(LoadScriptFlag_Utf8Source | LoadScriptFlag_ExternalArrayBuffer), sourceContext=0, sourceUrl=0x7ff7f16a0000 u"/home/skywinlinvm/chakracoretest/bb18.js", parseOnly=false, parseAttributes=JsParseScriptAttributeNone, isSourceModule=false, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:2877
#18 0x00007ffff4ba72ce in CompileRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0, parseOnly=false) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4336
#19 JsRun (scriptVal=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/lib/Jsrt/Jsrt.cpp:4358
#20 0x000055555555eafe in ChakraRTInterface::JsRun (script=0x7ff7f1f30050, sourceContext=0, sourceUrl=0x7ff7f1f09020, parseAttributes=JsParseScriptAttributeNone, result=0x0) at /home/skywinlinvm/chakracore/bin/ch/ChakraRtInterface.h:367
#21 0x000055555555ca92 in RunScript (fileName=0x5555558d5e90 "bb18.js", fileContents=0x5555558d5eb0 "f = (function(stdlib, foreign, heap) {\n \"use asm\";\n return function() {};\n function f() {};\n});", bufferValue=0x0, fullPath=0x7fffffffd990 "/home/skywinlinvm/chakracoretest/bb18.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:321
#22 0x000055555555deb0 in ExecuteTest (fileName=0x5555558d5e90 "bb18.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:594
#23 0x000055555555dfb0 in ExecuteTestWithMemoryCheck (fileName=0x5555558d5e90 "bb18.js") at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:642
#24 0x000055555555e4f0 in main (argc=2, c_argv=0x7fffffffdd08) at /home/skywinlinvm/chakracore/bin/ch/ch.cpp:869
(gdb)
```
|
Crash [@ Js::AsmJsFunc::GetFncNode] involving "use asm"
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2269/comments
| 1 |
2016-12-22T07:39:04Z
|
2016-12-22T16:52:38Z
|
https://github.com/chakra-core/ChakraCore/issues/2269
| 197,112,900 | 2,269 |
[
"chakra-core",
"ChakraCore"
] |
Save the following code as a python file, create an empty "empty.js" file, update the path of the chakracore binary and run it:
```
import os
import subprocess
def f1():
import resource # module only available on POSIX
GB = 2**30 # Limit address space to 2GB
resource.setrlimit(resource.RLIMIT_AS, (2*GB, 2*GB))
# Update the following line to your "ch" location
chakracoreShell = os.path.join(os.path.expanduser('~'), 'chakracore', 'BuildLinux', 'Debug', 'ch')
subprocess.check_output([chakracoreShell, 'empty.js'], preexec_fn=f1)
```
You will get the following assertion failure:
ASSERTION 79532: (/home/skywinlinvm/chakracore/lib/Common/Memory/RecyclerWriteBarrierManager.cpp, line 69) _cardTable
Failure: (_cardTable)
The assertion failure still exists if the resource.RLIMIT_AS value is increased to 33*GB.
The assertion failure changes to "ERROR: ChakraRTInterface::JsCreateContext(runtime, &context) failed. JsErrorCode=0x20001 (JsErrorOutOfMemory)" if the resource.RLIMIT_AS value is increased to 34*GB.
The assertion failure goes away if the resource.RLIMIT_AS value is increased to 35*GB. Tested on Python 2.7.12 and Ubuntu Linux 16.04.1 LTS.
|
Assertion failure: "_cardTable" when memory address space is limited to 2GB
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2268/comments
| 2 |
2016-12-22T05:48:49Z
|
2017-01-11T04:04:30Z
|
https://github.com/chakra-core/ChakraCore/issues/2268
| 197,099,449 | 2,268 |
[
"chakra-core",
"ChakraCore"
] |
When compiling ChakraCore on Raspberry PI 2 B+ (clang 3.8 arm), linker fails with `out of memory` error.
A temporary solution is to `strip -x` the static lib files. However, we need a proper solution here.
p.s.: This may not be a clang 3.8 for ARM issue. Cross compiling on a host with better resources don't show this problem.
|
raspberry-pi: ChakraCore ARMv7 build - linker out of memory
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2262/comments
| 6 |
2016-12-21T16:00:01Z
|
2020-03-27T08:42:59Z
|
https://github.com/chakra-core/ChakraCore/issues/2262
| 196,968,165 | 2,262 |
[
"chakra-core",
"ChakraCore"
] |
See 920f7867074e1165d1fd085cd0c12d1e65a3bf13: Set branch release/1.4 to RELEASE mode.
See this message: https://github.com/Microsoft/ChakraCore/blob/master/lib/Common/ChakraCoreVersion.h#L7
```cpp
// NOTE: When changing this file, you may need to update the GUID in ByteCodeCacheReleaseFileVersion.h
// Please update the GUID when:
// * CHAKRA_CORE_VERSION_RELEASE is changed to 1
// * CHAKRA_CORE_VERSION_RELEASE is currently set to 1 and the bytecode changes
```
/cc @boingoing
|
Update GUID for release/1.4 which has just been switched to RELEASE mode.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2259/comments
| 0 |
2016-12-21T02:10:50Z
|
2016-12-21T06:03:33Z
|
https://github.com/chakra-core/ChakraCore/issues/2259
| 196,828,764 | 2,259 |
[
"chakra-core",
"ChakraCore"
] |
With the following inside of a `<script type="module">` tag:
```javascript
import * as m from './m.js';
Object.prototype.toString.call(m) === '[object Module]';
```
The assertion here is returning false as the result is `[object module]` instead of what should I believe be `[object Module]` since the `Symbol.toStringTag` value is `Module` and not `module`.
Fixing this would help to ensure consistency across browsers for checking if a given object is a module namespace object, which may be needed for interop scenarios in future.
|
Module object Object.prototype.toString value casing seems incorrect
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2250/comments
| 7 |
2016-12-20T13:38:53Z
|
2017-02-01T02:33:46Z
|
https://github.com/chakra-core/ChakraCore/issues/2250
| 196,674,561 | 2,250 |
[
"chakra-core",
"ChakraCore"
] |
https://github.com/Microsoft/ChakraCore/wiki/Build-Status#disablejit-builds
/cc @obastemur who said he might look into it.
|
NoJIT checks broken on master.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2244/comments
| 1 |
2016-12-19T23:24:55Z
|
2016-12-21T09:55:23Z
|
https://github.com/chakra-core/ChakraCore/issues/2244
| 196,546,774 | 2,244 |
[
"chakra-core",
"ChakraCore"
] |
Support https://github.com/WebAssembly/design/blob/master/JS.md#webassemblymodulecustomsections
|
WASM - Custom Sections
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2241/comments
| 0 |
2016-12-19T19:51:42Z
|
2017-01-18T19:21:34Z
|
https://github.com/chakra-core/ChakraCore/issues/2241
| 196,504,950 | 2,241 |
[
"chakra-core",
"ChakraCore"
] |
Work item to follow up #110:
Summary:
At some point in the future (when all active development branches support the new terms), we will deprecate the use of the old terms and remove support for them. At that time, all remaining uses of the old terms will be replaced with the new terms and support will be dropped from the scripts.
Explanation:
At the moment, we have active development branches both internally and externally (for example, release/1.4) which will not support the new rlexe.xml tags added as a result of the #110 work item because it is too expensive to switch all active dev branches to the new terms, and it is much easier to make the change in the `master` branch in a backwards-compatible way, and wait until all branches without support are merged into master and active development stops on said branches.
Once all active development branches are ahead of the change to fix #110, we can remove support for the old terms by removing the logic from the scripts which supports the old terms and in the same PR, also rename all remaining instances of the old terms to the new terms.
---
The `Waiting` label will be removed when this work item becomes actionable.
/cc @ianwjhalliday @RexSong
|
Follow up #110: rlexe.xml tags: Remove support for old architecture and type terms.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2240/comments
| 2 |
2016-12-18T23:29:12Z
|
2018-03-01T01:38:22Z
|
https://github.com/chakra-core/ChakraCore/issues/2240
| 196,306,858 | 2,240 |
[
"chakra-core",
"ChakraCore"
] |
https://github.com/Microsoft/ChakraCore/wiki/Build-Status-%28release-1.4%29#legacy-builds
Only affects x64_debug:
https://ci2.dot.net/job/Microsoft_ChakraCore/job/release_1.4/job/daily_dev12_x64_debug/
(@Cellule and I were not able to repro these failures using Dev12 on Win10. I was able to repro on a Win 7 VM.)
|
[Legacy] Test failures: Assertion lib\Backend\DbCheckPostLower.cpp, line 156 [Dev12 Win7 x64_debug only]
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/2238/comments
| 3 |
2016-12-18T21:32:57Z
|
2016-12-20T00:45:26Z
|
https://github.com/chakra-core/ChakraCore/issues/2238
| 196,300,670 | 2,238 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.