FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deps: backport ICU-20558 to fix Intl crasher by srl295 · Pull Request #27415 · nodejs/node · GitHub

/ node Public

deps: backport ICU-20558 to fix Intl crasher - #27415

Closed
srl295 wants to merge 2 commits into
nodejs:masterfrom
srl295:patch-ICU-20558
Closed

deps: backport ICU-20558 to fix Intl crasher#27415
srl295 wants to merge 2 commits into
nodejs:masterfrom
srl295:patch-ICU-20558

Conversation

srl295 commented Apr 25, 2019
edited
Loading

Copy link
Copy Markdown
Member

Floating patch for ICU 63.x and 64.x
fixing crash in Intl when ICU data not found.

Background:

  • ICU-13778 (landed in ICU 63.1) fixed a bug but
    added a regression.
  • a recent v8 land in Node v12 (which one?) exposes
    this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
(Commit not landed yet in ICU)
Fixes: #27379

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

srl295 added the i18n-api Issues and PRs related to the i18n implementation. label Apr 25, 2019
srl295 requested review from refack, ryzokuken and targos April 25, 2019 16:36
srl295 self-assigned this Apr 25, 2019

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Apr 25, 2019

srl295 commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

fyi @jefgen

srl295 commented Apr 25, 2019
edited
Loading

Copy link
Copy Markdown
Member Author

Notes:

targos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

RSLGTM

refack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

RSLGTM

srl295 marked this pull request as ready for review April 25, 2019 19:12

refack commented Apr 25, 2019

Copy link
Copy Markdown
Contributor

Added a regression test for this. @srl295 obviously feel free to push it out or change it.

srl295 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nice test, thanks @refack !

- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.

Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
(Commit not landed yet in ICU)
Fixes: nodejs#27379
Co-authored-by: Refael Ackermann <refack@gmail.com>

srl295 commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Rebased and squashed.

Copy link
Copy Markdown
Collaborator

srl295 commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

@refack do you want me to squash again?

refack commented Apr 25, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

@refack do you want me to squash again?

No rush, we can squash while landing (I could also force push myself). I'm waiting for CI job 22720 to finish so we could start a resume job for the failing platforms.

Copy link
Copy Markdown
Collaborator

srl295 commented Apr 25, 2019 via email
edited
Loading

Copy link
Copy Markdown
Member Author

refack assigned refack and unassigned srl295 Apr 25, 2019

refack commented Apr 25, 2019

Copy link
Copy Markdown
Contributor

@refack want to take this over ?

Yeah, I'm on it.

Copy link
Copy Markdown
Collaborator

refack added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 25, 2019

refack commented Apr 25, 2019

Copy link
Copy Markdown
Contributor

@here now that #27361 landed, we probably should fast-track this since it solves #27379 which is kind of harsh.

Please 👍 if you concur.

ryzokuken left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

RSLGTM

targos commented Apr 27, 2019
edited
Loading

Copy link
Copy Markdown
Member

Landed in 617c55e

targos closed this Apr 27, 2019
targos pushed a commit to targos/node that referenced this pull request Apr 27, 2019
- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.

Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
Fixes: nodejs#27379
Co-authored-by: Refael Ackermann <refack@gmail.com>

PR-URL: nodejs#27415
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
targos pushed a commit that referenced this pull request Apr 27, 2019
- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.

Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
Fixes: #27379
Co-authored-by: Refael Ackermann <refack@gmail.com>

PR-URL: #27415
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
targos added a commit that referenced this pull request Apr 27, 2019
Notable changes:

* intl:
  * Update ICU to 64.2. This adds support for Japanese Era (Reiwa).
    #27361
  * Fixes a bug in ICU that affected Node.js 12.0.0 in the case where
    `new Date().toLocaleString()` was called with a non-default locale.
    #27415
* C++ API:
  * Added an `Environment` overload of `EmitAsyncDestroy`.
    #27255

PR-URL: TODO
targos mentioned this pull request Apr 27, 2019
targos added a commit that referenced this pull request Apr 29, 2019
Notable changes:

* intl:
  * Update ICU to 64.2. This adds support for Japanese Era (Reiwa).
    #27361
  * Fixes a bug in ICU that affected Node.js 12.0.0 in the case where
    `new Date().toLocaleString()` was called with a non-default locale.
    #27415
* C++ API:
  * Added an overload of `EmitAsyncDestroy` that can be used during
    garbage collection.
    #27255

PR-URL: #27440
targos added a commit that referenced this pull request Apr 29, 2019
Notable changes:

* intl:
  * Update ICU to 64.2. This adds support for Japanese Era (Reiwa).
    #27361
  * Fixes a bug in ICU that affected Node.js 12.0.0 in the case where
    `new Date().toLocaleString()` was called with a non-default locale.
    #27415
* C++ API:
  * Added an overload of `EmitAsyncDestroy` that can be used during
    garbage collection.
    #27255

PR-URL: #27440
targos mentioned this pull request May 1, 2019
BethGriggs pushed a commit that referenced this pull request May 10, 2019
- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.

Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
Fixes: #27379
Co-authored-by: Refael Ackermann <refack@gmail.com>

PR-URL: #27415
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 16, 2019
- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.

Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: unicode-org/icu#632
Fixes: #27379
Co-authored-by: Refael Ackermann <refack@gmail.com>

PR-URL: #27415
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
refack removed their assignment Jun 6, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track PRs that do not need to wait for 48 hours to land. i18n-api Issues and PRs related to the i18n implementation. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node.js crash with a fatal error on Date#toLocaleString

7 participants


Back | FazBrowse Home | New Git URL