GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: update v8 to 4.4.63.26 by targos · Pull Request #2220 · nodejs/node

Conversation

@targos

@targos targos commented Jul 22, 2015

Copy link
Copy Markdown
Member

Includes cherry-picks for:

  • JitCodeEvent patch: https://crrev.com/f7969b1d5a55e66237221a463daf422ac7611788
  • argparse patch: https://crrev.com/44bc918458481d60b08d5566f0f31a79e39b85d7

This is the v8 version of stable Chrome 44.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@targos targos added the v8 engine Issues and PRs related to the V8 dependency. label Jul 22, 2015
@ofrobots

ofrobots commented Jul 22, 2015

Copy link
Copy Markdown
Contributor

Rubberstamp LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots ofrobots mentioned this pull request Jul 22, 2015
Release proposal: v3.0.0 #2221
Closed
@rvagg

rvagg commented Jul 23, 2015

Copy link
Copy Markdown
Member

I'd love a way to verify that what's in tree is what's upstream, a diff -r perhaps, would that work if I had V8 checked out too? Otherwise I'm hesitant to give an 'lgtm' when I just don't know!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 23, 2015

Copy link
Copy Markdown
Member Author

@rvagg I just tried your suggestion and it works :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots

ofrobots commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

@rvagg that's precisely what I verified before my LGTM. This PR seems to be the equivalent to git diff 4.4.63.12 4.4.63.19 with the exception of the patch we are floating for https://crrev.com/f7969b1d5a55e66237221a463daf422ac7611788.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 23, 2015

Copy link
Copy Markdown
Member Author

CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/184/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Fishrock123
Fishrock123 reviewed Jul 23, 2015
View reviewed changes
Comment thread deps/v8/tools/js2c.py Outdated

@Fishrock123 Fishrock123 Jul 23, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Centos CI boxes are failing because of this. I suspect the Centos dists we are using use Python 2.6, while argparse was added in Python 2.7.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@Fishrock123 Fishrock123 Jul 23, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @nodejs/build

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ofrobots ofrobots Jul 23, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See previous conversation about this here: #2022 (comment)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@targos targos Jul 23, 2015

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been fixed with https://crrev.com/44bc918458481d60b08d5566f0f31a79e39b85d7 but not backported to 4.4. I will include the patch tomorrow.
Thanks @ofrobots.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@targos

targos commented Jul 24, 2015

Copy link
Copy Markdown
Member Author

I cherry-picked the argparse fix.
New CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/189/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jul 24, 2015

Copy link
Copy Markdown
Member

af162c8 lgtm

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos
deps: update v8 to 4.4.63.25
4ec5c44
Includes cherry-picks for:
 * JitCodeEvent patch: https://crrev.com/f7969b1d5a55e66237221a463daf422ac7611788
 * argparse patch: https://crrev.com/44bc918458481d60b08d5566f0f31a79e39b85d7
@targos
targos force-pushed the v8-4.4.63.19 branch from af162c8 to 4ec5c44 Compare July 27, 2015 06:51
@targos

targos commented Jul 27, 2015

Copy link
Copy Markdown
Member Author

Sorry for the delay, Chrome jumped to 4.4.63.25 so I updated the PR.
https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/198/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos changed the title deps: update v8 to 4.4.63.19 deps: update v8 to 4.4.63.25 Jul 27, 2015
@bnoordhuis

bnoordhuis commented Jul 27, 2015

Copy link
Copy Markdown
Member

LGTM. The last two regress-crbug tests I missed on the last upgrade, mea culpa.

@targos Maybe you can run the CI one more time? The test-vm-debug-context.js failure on the pi1-raspbian-wheezy is probably a flake but it would be good to have that confirmed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 27, 2015

Copy link
Copy Markdown
Member Author

https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/200/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 27, 2015

Copy link
Copy Markdown
Member Author

@bnoordhuis test-vm-debug-context.js failed again.
I don't have a Pi1, what can I do to investigate ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos added this to the 3.0.0 milestone Jul 28, 2015
@bnoordhuis

bnoordhuis commented Jul 29, 2015

Copy link
Copy Markdown
Member

Maybe someone from @nodejs/build can give you temp access?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 29, 2015

Copy link
Copy Markdown
Member Author

@rvagg gave me access and I could successfully compile but after that I lost control of the machine and I cannot connect anymore.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots

ofrobots commented Jul 29, 2015

Copy link
Copy Markdown
Contributor

I wonder if it would be possible to reproduce the failure on an QEmu ARM machine. Some instructions here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jul 30, 2015

Copy link
Copy Markdown
Member

it turns out that ssh tunnel from that machine could only handle one connection, after which it fails to properly accept additional connections, I've set up a tunnel using a different machine to do the same thing and it should be fine .. I hope

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

I'm connected, it is fine, thank you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

I've tracked the issue to the following part of the test:

var vm = require('vm');
var assert = require('assert');

// See https://github.com/nodejs/io.js/issues/1190, accessing named interceptors
// and accessors inside a debug event listener should not crash.
(function() {
  var Debug = vm.runInDebugContext('Debug');
  var breaks = 0;

  function ondebugevent(evt, exc) {
    if (evt !== Debug.DebugEvent.Break) return;
    exc.frame(0).evaluate('process.env').properties();  // Named interceptor.
    exc.frame(0).evaluate('process.title').getTruncatedValue();  // Accessor.
    breaks += 1;
  }

  function breakpoint() {
    debugger;
  }

  assert.equal(breaks, 0);
  Debug.setListener(ondebugevent);
  assert.equal(breaks, 0);
  breakpoint();
  assert.equal(breaks, 1);
})();

Crash happens when breakpoint() is called.

The way the process crashes is variable. Here are 3 cases I had:

Segmentation fault
#
# Fatal error in ../deps/v8/src/type-feedback-vector.cc, line 323
# Check failed: feedback == *vector()->UninitializedSentinel(isolate).
#

==== C stack trace ===============================

(empty)
Aborted
module.js:430
  return compiledWrapper.apply(self.exports, args);
                         ^

TypeError: compiledWrapper.apply is not a function
    at Module._compile (module.js:430:26)
    at Object.Module._extensions..js (module.js:448:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:471:10)
    at startup (node.js:117:18)
    at node.js:947:3
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

Here is a very minimal test case:

var vm = require('vm');

var Debug = vm.runInDebugContext('Debug');

function breakpoint() {
  debugger;
}

Debug.setListener(function(){console.log('debug event')});

console.log('before break');
breakpoint();
console.log('after break');

Output:

before break
debug event
after break


#
# Fatal error in ../deps/v8/src/type-feedback-vector.cc, line 323
# Check failed: feedback == *vector()->UninitializedSentinel(isolate).
#

==== C stack trace ===============================

(empty)
Aborted

The crash happens outside of my script

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jul 30, 2015

Copy link
Copy Markdown
Member

Long shot: does it work when you pass --novector_ics?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

@bnoordhuis yes it does !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

I'm sorry I don't know what to do now, it is beyond my understanding of v8

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jul 30, 2015

Copy link
Copy Markdown
Member

You could disable it in src/node.cc for now, grep for --nofast_math for another ARM example (which could be removed in next+1 but that aside.)

It might be worthwhile to file a V8 issue for it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

OK, let's try again with that change

CI: https://jenkins-iojs.nodesource.com/job/node-test-commit/62/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@GregorFendt GregorFendt mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 GregorFendt/node#25
Open
@fishbar fishbar mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.0.3 to 8.0.0 fishbar/node-1#35
Open
@RoeeOren RoeeOren mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 RoeeOren/node#40
Open
@solebox solebox mentioned this pull request Nov 27, 2023
[Snyk] Fix for 3 vulnerabilities solebox/node#33
Open
@AyushG3112 AyushG3112 mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 AyushG3112/node#35
Open
@thakursachin467 thakursachin467 mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 thakursachin467/node#30
Open
@amacsnyk amacsnyk mentioned this pull request Nov 27, 2023
[Snyk] Fix for 2 vulnerabilities amacsnyk/node#13
Open
@Verdinjoshua26 Verdinjoshua26 mentioned this pull request Nov 27, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 Verdinjoshua26/node#47
Open
@PinkDiamond1 PinkDiamond1 mentioned this pull request Nov 27, 2023
[Snyk] Fix for 2 vulnerabilities PinkDiamond1/node#26
Open
@Matthelonianxl Matthelonianxl mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 5.1.1 to 8.0.0 Matthelonianxl/node#57
Open
@baby636 baby636 mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities baby636/node#109
Open
@ryan-ally ryan-ally mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities ryan-ally/node#89
Open
@sirinartk sirinartk mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 5.1.1 to 8.0.0 sirinartk/node#44
Open
@s4sc s4sc mentioned this pull request Nov 28, 2023
[Snyk] Fix for 3 vulnerabilities s4sc/node#32
Open
@vaibhavb vaibhavb mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 vaibhavb/node#42
Open
@olegnn olegnn mentioned this pull request Nov 28, 2023
[Snyk] Fix for 3 vulnerabilities olegnn/node#45
Open
@ShubhraKar ShubhraKar mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 ShubhraKar/node#34
Open
@pratapadi pratapadi mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities pratapadi/node#56
Open
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities aliscco/alisco-node#678
Open
@takeratta takeratta mentioned this pull request Nov 28, 2023
[Snyk] Fix for 3 vulnerabilities takeratta/node#6
Open
@pratapadi pratapadi mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 7.1.2 to 8.0.0 pratapadi/node#59
Open
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities aliscco/alisco-node#683
Open
@adamlaska adamlaska mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 5.1.1 to 8.0.0 adamlaska/node#121
Open
@nickfnblum nickfnblum mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities nickfnblum/node#10
Open
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade node-gyp from 7.1.2 to 8.0.0 aliscco/alisco-node#688
Open
@xphillyx xphillyx mentioned this pull request Nov 28, 2023
[Snyk] Fix for 2 vulnerabilities xphillyx/node#24
Open
@Redwoodtj Redwoodtj mentioned this pull request Nov 29, 2023
[Snyk] Fix for 3 vulnerabilities Redwoodtj/node#9
Open
@kaocher82 kaocher82 mentioned this pull request Nov 29, 2023
[Snyk] Fix for 2 vulnerabilities Xtuden-com/node#35
Open
@enterstudio enterstudio mentioned this pull request Nov 29, 2023
[Snyk] Fix for 3 vulnerabilities enterstudio/node#32
Open
@ajesse11x ajesse11x mentioned this pull request Nov 29, 2023
[Snyk] Security upgrade node-gyp from 3.8.0 to 8.0.0 ajesse11x/node#43
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Milestone

3.0.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@targos @ofrobots @rvagg @bnoordhuis @Fishrock123
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.