I have a serious regression with ko_KR.UTF-8 locale after r302324. MATE is unusable because mate-panel is busy looping and eating 100% CPU. GNOME 3 does not start at all, i.e., nothing but mouse cursor on black screen. After reverting the commit, everything is back to normal.
A simple ls will do it as well. Can you confirm that this is the same regression as for zh_CN.UTF-8 aka reproducible with: touch "<ACJKCHARACTER>1" touch "<ACJKCHARACTER>2" ls Than ls will eat 100% CPU?
(In reply to Baptiste Daroussin from comment #1) Yes, "touch 예1 예2 && ls" shows the same symptom.
Note this problem is not just for CJK locales. "touch Æon1 Æon2 && ls" with en_US.UTF-8 locale shows exactly same symptom. https://lists.freebsd.org/pipermail/freebsd-stable/2016-July/084991.html
Can you try the following patch and tell me if it fixes the issue for you? http://bapt.etoilebsd.net/collate.diff
(In reply to Baptiste Daroussin from comment #4) Both GNOME 3 and MATE are working as advertised. Thanks!
A commit references this bug: Author: bapt Date: Fri Jul 15 23:03:20 UTC 2016 New revision: 302916 URL: https://svnweb.freebsd.org/changeset/base/302916 Log: Revert 302324 and properly fix the crash with ISO-8859-5 locales PR: 211135 Reported by: jkim Tested by: jkim MFC after: 2 days Changes: head/lib/libc/locale/collate.c
A commit references this bug: Author: bapt Date: Wed Jul 20 20:12:58 UTC 2016 New revision: 303112 URL: https://svnweb.freebsd.org/changeset/base/303112 Log: MFC: r302916 Revert 302324 and properly fix the crash with ISO-8859-5 locales PR: 211135 Reported by: jkim Tested by: jkim Approved by: re (gjb) Changes: stable/11/lib/libc/locale/collate.c