You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mscdex I could probably come up with a simple use case. I'll file an issue with the v8 folks. This only happens in 6.10.1 as far as I can see (downgrading to 6.9 resolved the issue).
6.10.0 does no exhibit the same problem. 6.9.0 and 6.9.5 also do not exhibit the same problem. I have a reproducible test case, but I need to streamline it to just the minimum elements. This looks to be isolated to 6.10.1.
In the v8 issue, the chromium team stated that the version of v8 used by 6.10.1 is no longer supported, and this issue is not present in later version of v8.
@gibfahn I'm going to try to create a simple gist to recreate tonight. @mscdex I'm never run node locally from a non-binary. Depends on how adventurous I'm feeling, I might try this weekend
If you want to test reverting one of the V8 commits, just checkout the v6.10.1 tag, then git revert <commit hash>, recompile, and test the newly compiled executable with your script.
I also cannot get that test case to fail without the gulp runner. The issue seems to lie with the instrumentation code that calculates test coverage, that sits atop of all of this. :/
Activity
mscdex commentedon Mar 21, 2017
Do you have a simple example to reproduce the crash?
/cc @nodejs/v8
mscdex commentedon Mar 21, 2017
Additionally, you may want to file an issue over at https://bugs.chromium.org/p/v8/.
duereg commentedon Mar 21, 2017
@mscdex I could probably come up with a simple use case. I'll file an issue with the v8 folks. This only happens in 6.10.1 as far as I can see (downgrading to 6.9 resolved the issue).
duereg commentedon Mar 21, 2017
https://bugs.chromium.org/p/v8/issues/detail?id=6131
mscdex commentedon Mar 21, 2017
By 6.9 do you mean 6.9.5 or 6.9.0? Also, does 6.10.0 exhibit the same problem?
mscdex commentedon Mar 21, 2017
FWIW
These V8-related PRs were merged in v6.10.0:
These V8-related PRs were merged in v6.10.1:
duereg commentedon Mar 22, 2017
6.10.0 does no exhibit the same problem. 6.9.0 and 6.9.5 also do not exhibit the same problem. I have a reproducible test case, but I need to streamline it to just the minimum elements. This looks to be isolated to 6.10.1.
In the v8 issue, the chromium team stated that the version of v8 used by 6.10.1 is no longer supported, and this issue is not present in later version of v8.
https://bugs.chromium.org/p/v8/issues/detail?id=6131#c2
gibfahn commentedon Mar 22, 2017
@duereg if you could include a way of reproducing that would be helpful.
Also which version of Linux?
mscdex commentedon Mar 22, 2017
If you're feeling adventurous, you could try reverting each of those 3 V8-related commits, one at a time, and see which one is causing the problem.
duereg commentedon Mar 22, 2017
I have a way of reproducing - I can reproduce it locally on my Mac, as well on our CI environment, which is:
Platform: Linux, version 4.4.27
So I believe it might be platform agnostic.
duereg commentedon Mar 22, 2017
@gibfahn I'm going to try to create a simple gist to recreate tonight.
@mscdex I'm never run node locally from a non-binary. Depends on how adventurous I'm feeling, I might try this weekend
gibfahn commentedon Mar 22, 2017
@duereg cheers. FWIW, it should be just
./configure && make -j4to rebuild, then use the./nodesymlink in the directory to run your testcase.mscdex commentedon Mar 22, 2017
If you want to test reverting one of the V8 commits, just checkout the v6.10.1 tag, then
git revert <commit hash>, recompile, and test the newly compiled executable with your script.The commits to try reverting for #9293 are:
The commit to try reverting for #10733 is 3fc6a22.
The commit to try reverting for #11483 is 3ab070d.
12 remaining items
duereg commentedon Mar 24, 2017
Our mocha runner is wrapped in a gulp process. I was hoping to not have to figure that out as well. I'll update the gist to take that into account.
duereg commentedon Mar 24, 2017
I also cannot get that test case to fail without the gulp runner. The issue seems to lie with the instrumentation code that calculates test coverage, that sits atop of all of this. :/
duereg commentedon Mar 24, 2017
@targos updated gist. Download, install, run, everything explodes
gibfahn commentedon Mar 24, 2017
Reproducible for me (macOS Sierra):
Stack Trace
EDIT: Indeed, it doesn't fail if you take out Istanbul, i.e. with:
this diff
targos commentedon Mar 25, 2017
Thank you. Here is a reduced testcase based on this:
targos commentedon Mar 25, 2017
Even shorter:
targos commentedon Mar 25, 2017
The crash also happens if I build V8 at the commit that I backported. I'm going to bisect.
deps: backport 2cabc86 from upstream V8
deps: backport 2cabc86 from upstream V8
deps: backport 2cabc86 from upstream V8
deps: backport 2cabc86 from upstream V8
duereg commentedon Apr 6, 2017
@targos has this been resolved in 6.10.2?
targos commentedon Apr 7, 2017
@duereg Yes. Thanks for the report!
targos commentedon Apr 7, 2017
Fix landed in 52bdb8f