Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: cherry-pick a51f429 from V8 upstream #7834

Closed
wants to merge 1 commit into from

Conversation

fhinkel
Copy link
Member

@fhinkel fhinkel commented Jul 22, 2016

Checklist
  • make -j4 test (UNIX)
  • commit message follows commit guidelines
Affected core subsystem(s)

deps V8

Description of change

Cherry-pick a51f429 from V8 upstream. Fixes case-insensitive regex problem in #7708.

/cc @nodejs/v8

Original commit message:
  [regexp] Fix case-insensitive matching for one-byte subjects.

  The bug occurs because we do not canonicalize character class ranges
  before adding case equivalents. While adding case equivalents, we abort
  early for one-byte subject strings, assuming that the ranges are sorted.
  Which they are not.

  R=marja@chromium.org
  BUG=v8:5199

  Review-Url: https://codereview.chromium.org/2159683002
  Cr-Commit-Position: refs/heads/master@{nodejs#37833}

Fixes: nodejs#7708
@nodejs-github-bot nodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label Jul 22, 2016
@targos
Copy link
Member

targos commented Jul 22, 2016

LGTM

@fhinkel
Copy link
Member Author

fhinkel commented Jul 23, 2016

Slave went offline during the build ERROR: Connection was broken: java.io.IOException: Connection aborted:

@jasnell
Copy link
Member

jasnell commented Jul 29, 2016

LGTM with green ci

@ofrobots
Copy link
Contributor

new CI: https://ci.nodejs.org/job/node-test-pull-request/3458/.

The Power big endian machines continue to have recurring problems in the CI. /cc @mhdawson: Do these machines have enough disk space?

@ofrobots
Copy link
Contributor

ofrobots commented Aug 1, 2016

Another attempt at the CI: https://ci.nodejs.org/job/node-test-pull-request/3484/

@fhinkel
Copy link
Member Author

fhinkel commented Aug 1, 2016

PPC failed (10 days ago PPC passed but FreeBSD and Windows had problems) :

/home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcbe-ubuntu1404/out/Release/obj.target/node/src/node_main.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status

@ofrobots
Copy link
Contributor

ofrobots commented Aug 1, 2016

LGTM. I think this is ready to land.

@nodejs/build, @mhdawson: Can anything be done about the Power machines in the CI, or should we be ignoring them? They have been causing a lot of churn and wasted time.

@jbergstroem
Copy link
Member

@ofrobots: there's a lot of free space on those machines. That error seems relatively new (at least looking week to week) -- we just need to establish if its really a regression or build-related.

@jbergstroem
Copy link
Member

@ofrobots I've cleaned cache in case it was corrupt for some reason.

@ofrobots
Copy link
Contributor

ofrobots commented Aug 1, 2016

I have seen this very error as a flake on a few PRs in the past week or so (maybe more):

...node/src/node_main.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status

If this is not file-system related, then it is puzzling why it is failing this way. I am assuming that the compiler and linker on this system are sane. At any rate this error doesn't seem related to the PRs I have seen it on.

EDIT: could you also verify that /tmp has sufficient space on this system?

@ofrobots
Copy link
Contributor

ofrobots commented Aug 3, 2016

All green: https://ci.nodejs.org/job/node-test-pull-request/3519/.

For posterity, the master (V8 5.1) version of the PR is #7833.

ofrobots pushed a commit that referenced this pull request Aug 3, 2016
Original commit message:
  [regexp] Fix case-insensitive matching for one-byte subjects.

  The bug occurs because we do not canonicalize character class ranges
  before adding case equivalents. While adding case equivalents, we abort
  early for one-byte subject strings, assuming that the ranges are sorted.
  Which they are not.

  R=marja@chromium.org
  BUG=v8:5199

  Review-Url: https://codereview.chromium.org/2159683002
  Cr-Commit-Position: refs/heads/master@{#37833}

Fixes: #7708
PR-URL: #7834
Ref: #7833
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
@ofrobots
Copy link
Contributor

ofrobots commented Aug 3, 2016

Landed on v6.x as af63871, with V8 version bumped to 5.0.71.59.

@ofrobots ofrobots closed this Aug 3, 2016
@cjihrig cjihrig mentioned this pull request Aug 11, 2016
BethGriggs pushed a commit to ibmruntimes/node that referenced this pull request Aug 18, 2016
Original commit message:
  [regexp] Fix case-insensitive matching for one-byte subjects.

  The bug occurs because we do not canonicalize character class ranges
  before adding case equivalents. While adding case equivalents, we abort
  early for one-byte subject strings, assuming that the ranges are sorted.
  Which they are not.

  R=marja@chromium.org
  BUG=v8:5199

  Review-Url: https://codereview.chromium.org/2159683002
  Cr-Commit-Position: refs/heads/master@{#37833}

Fixes: nodejs/node#7708
PR-URL: nodejs/node#7834
Ref: nodejs/node#7833
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants