Skip to content

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

@srl295srl295 commented Apr 25, 2019

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

@srl295srl295 added the i18n-api Issues and PRs related to the i18n implementation. label Apr 25, 2019
@srl295srl295 self-assigned this Apr 25, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
MemberAuthor

fyi @jefgen

@srl295

srl295 commented Apr 25, 2019

Copy link
Copy Markdown
MemberAuthor

Notes:

@targostargos 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.

RSLGTM

@refackrefack 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.

RSLGTM

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

Copy link
Copy Markdown
Contributor

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

@srl295srl295 left a comment

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
MemberAuthor

Rebased and squashed.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@srl295

Copy link
Copy Markdown
MemberAuthor

@refack do you want me to squash again?

@refack

refack commented Apr 25, 2019

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.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@srl295

srl295 commented Apr 25, 2019 via email

Copy link
Copy Markdown
MemberAuthor

@refackrefack assigned refack and unassigned srl295Apr 25, 2019
@refack

Copy link
Copy Markdown
Contributor

@refack want to take this over ?

Yeah, I'm on it.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

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.

@ryzokukenryzokuken 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.

RSLGTM

@targos

targos commented Apr 27, 2019

Copy link
Copy Markdown
Member

Landed in 617c55e

@targostargos 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#632Fixes: 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#632Fixes: #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
@targostargos 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
@targostargos 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#632Fixes: #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#632Fixes: #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>
@refackrefack removed their assignment Jun 6, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.i18n-apiIssues and PRs related to the i18n implementation.toolsIssues 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

@srl295@nodejs-github-bot@refack@targos@jasnell@cjihrig@ryzokuken