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

backport ICU-20575 to fix err/crasher in ICU 64.x #27418

Closed
srl295 opened this issue Apr 25, 2019 · 3 comments
Closed

backport ICU-20575 to fix err/crasher in ICU 64.x #27418

srl295 opened this issue Apr 25, 2019 · 3 comments
Assignees
Labels
i18n-api Issues and PRs related to the i18n implementation.

Comments

@srl295
Copy link
Member

srl295 commented Apr 25, 2019

  • Subsystem: deps

Tracking: unicode-org/icu#634
Now that #27361 (ICU 64.2) landed, it would be good to pull this in.

This probably exacerbated #27379 on some platforms.

@srl295 srl295 added the i18n-api Issues and PRs related to the i18n implementation. label Apr 25, 2019
@srl295
Copy link
Member Author

srl295 commented Apr 25, 2019

fyi @targos @refack

@srl295 srl295 self-assigned this Apr 25, 2019
@srl295
Copy link
Member Author

srl295 commented Apr 25, 2019

Test case:

env LANG=fr@EURO ./out/Debug/node -p 'new Intl.NumberFormat().resolvedOptions().locale

Crashes with:

Fatal error in ../../deps/v8/src/objects/intl-objects.cc, line 417

Locale::forLocaleTag("fr-x-lvariant-euro-euro") returns U_ILLEGAL_ARGUMENT_ERROR (why? Perhaps an illegal doubled tag.)

After the fix the printout is fr-x-lvariant-euro

(for unknown reasons, v8 patched around some of the other behaviors, so the output will look different than the upstream issue.)

srl295 added a commit to srl295/node that referenced this issue Apr 26, 2019
- Floating patch for ICU 64.x
- includes test case

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: unicode-org/icu#634
Fixes: nodejs#27418
@targos
Copy link
Member

targos commented Apr 27, 2019

Fixed in #27435

@targos targos closed this as completed Apr 27, 2019
targos pushed a commit that referenced this issue Apr 27, 2019
- Floating patch for ICU 64.x
- includes test case

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: unicode-org/icu#634
Fixes: #27418

PR-URL: #27435
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
targos pushed a commit that referenced this issue Apr 27, 2019
- Floating patch for ICU 64.x
- includes test case

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: unicode-org/icu#634
Fixes: #27418

PR-URL: #27435
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
hashseed added a commit to v8/node that referenced this issue May 2, 2019
BethGriggs pushed a commit that referenced this issue May 10, 2019
- Floating patch for ICU 64.x
- includes test case

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: unicode-org/icu#634
Fixes: #27418

PR-URL: #27435
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
MylesBorins pushed a commit that referenced this issue May 16, 2019
- Floating patch for ICU 64.x
- includes test case

ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: unicode-org/icu#634
Fixes: #27418

PR-URL: #27435
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
hashseed added a commit to v8/node that referenced this issue May 17, 2019
hashseed added a commit to v8/node that referenced this issue Jun 7, 2019
hashseed added a commit to v8/node that referenced this issue Jul 1, 2019
hashseed added a commit to v8/node that referenced this issue Jul 29, 2019
hashseed added a commit to v8/node that referenced this issue Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-api Issues and PRs related to the i18n implementation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants