Bug 205172 - sysutils/mate-control-center: MFH r401888 (Fix for crash with ru_RU.UTF-8 locale)
Summary: sysutils/mate-control-center: MFH r401888 (Fix for crash with ru_RU.UTF-8 loc...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: Koop Mast
URL:
Keywords: crash, easy
Depends on:
Blocks:
 
Reported: 2015-12-09 22:17 UTC by Alexey Vyskubov
Modified: 2016-01-24 20:21 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vyskubov 2015-12-09 22:17:28 UTC
1. Run mate-keyboard-properties with LANG set to ru_RU.UTF-8.
2. Open "Layouts" tab (the second one, "Раскладки")
3. Press "Options..." button ("Параметры...")

Expected result: Keyboard Layout Options windows opens.
Actual result: segfault.

If I run mate-keyboard-properties with LANG=en_US.UTF-8, "Options..." button works as expected.

10.2-RELEASE-p8
mate-control-center-1.10.1

Installed via pkg. I've tried to recompile it from ports, with the same result.

pkg upgrade reports that everything is up-to-date as of Thu Dec 10 00:15:15 EET 2015.
Comment 1 Michael Moll freebsd_committer freebsd_triage 2015-12-09 22:43:30 UTC
what's the _exact_ version of the libxklavier package installed on your system?
Comment 2 Alexey Vyskubov 2015-12-09 23:08:10 UTC
$ pkg info libxklavier
libxklavier-5.3,1
Name           : libxklavier
Version        : 5.3,1
Installed on   : Tue Aug 25 11:49:43 EEST 2015
Origin         : x11/libxklavier
Architecture   : freebsd:10:x86:32

[alexey@radaghash ~]$ md5 /usr/local/lib/libxklavier.a 
MD5 (/usr/local/lib/libxklavier.a) = 5e3f0fe6245477150e7515bd3955acbb
[alexey@radaghash ~]$ md5 /usr/local/lib/libxklavier.so.16.3.0 
MD5 (/usr/local/lib/libxklavier.so.16.3.0) = 2b5b708266362b07ae1f6a017c6e0240

I hope this helps; let me know if I can do anything else.
Comment 3 Alexey Vyskubov 2015-12-09 23:21:11 UTC
I've checked some other languages:

fi_FI.UTF-8 (Finnish) -- works, options window (the one which opens after pressing "Options" button) is localized
sv_SE.UTF-8 (Swedish) -- works, options window is localized

Some Cyrillic alphabet languages:

uk_UA.UTF-8 (Ukrainian) -- crashes
be_BY.UTF-8 (Belorussian) -- works, options window is not localized
bg_BG.UTF-8 (Bulgarian) -- crashes
sr_YU.UTF-8 (Serbian) -- works, options window is not localized
Comment 4 Michael Moll freebsd_committer freebsd_triage 2015-12-09 23:26:42 UTC
This _might_ be fixed by r401888.

As your libxlavier doesn't have the bumped portrevision, I guess you're on the quartely branch. So either wait for the beginning of January for the new quarterly branch or switch to HEAD for ports or import that patch into your quarterly portstree.

Please report back, once you got to test that patch.
Comment 5 Alexey Vyskubov 2015-12-10 13:26:47 UTC
This one (compiled from ports) eliminates the problem.

Name           : libxklavier
Version        : 5.3_1,1
Installed on   : Thu Dec 10 15:23:49 EET 2015

(libxklavier.so.16.3.0)
Comment 6 Michael Moll freebsd_committer freebsd_triage 2015-12-11 00:54:38 UTC
Thanks, this PR will be closed then, as the fix will be part of the 2016Q1 branch.
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-11 14:04:47 UTC
I believe r401888 should have been MFH'd (as per quarterly expectations), and can be now.
Comment 8 Koop Mast freebsd_committer freebsd_triage 2016-01-24 20:21:40 UTC
Branch 2016Q1 was created, which contains te fix. Closing