Bug #1959
closedAssertion failed: p->key == key, file ../port/locale/collate.c, line 199, function substsearch in el_{CY,GR}.UTF-8 locales
0%
Description
Collation data for el_{CY,GR}.UTF-8 seems to be broken, triggering the following assertion (simple testcase):
$ LC_COLLATE=el_CY.UTF-8 expr 1 + 1 Assertion failed: p->key == key, file ../port/locale/collate.c, line 199, function substsearch Abort (core dumped) $ LC_COLLATE=el_GR.UTF-8 expr 1 + 1 Assertion failed: p->key == key, file ../port/locale/collate.c, line 199, function substsearch Abort (core dumped)
The quick fix is backport the sources for these locales from the latest CLDR release.
Related issues
Updated by Garrett D'Amore over 10 years ago
- Assignee set to Garrett D'Amore
New locale data is indeed needed, but I think the problem is a root bug in localedef itself. Yao found some of these a while back. See 1569.
Updated by Garrett D'Amore over 10 years ago
- Status changed from New to Resolved
This was resolved by the following, I believe:
changeset: 13591:0b83d70b9fe5
tag: tip
user: Garrett D'Amore <garrett@damore.org>
date: Fri Feb 03 16:50:30 2012 -0800
description:
852 Update data files for localedef UTF-8 locales from CLDR v2.0.1
1569 localedef mishandles some multibyte locales
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: John Sonnenschein <johnsonnenschein@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>