GNOME Bugzilla – Bug 527665
meld crashes in dirdiff when using LANG=fr_FR
Last modified: 2009-08-15 18:40:50 UTC
Steps to reproduce: 1. rpm -q meld meld-1.1.5-4.fc8 2. echo $LANG fr_FR@euro 3. mkdir a 4. mkdir b 5. meld a b [1] 19510 segmentation fault meld a b 6. LANG=fr_FR meld a b [1] 19521 segmentation fault LANG=fr_FR meld a b 7. LANG=C meld a b -> runs successfully Stack trace: Other information:
I got the source and tried to remove any accent and special space characters from po/fr.po and I rebuilt the meld.mo file. I then took a backup of the system meld.mo file in the fr branch and overwrote it with my new version. This fixed the problem. You can also note that the messages including accents do not appear in the preference panels. I could not find out how to fix this without replacing the accents by standard characters. But when I fixed them this way, the related messages appeared in the preferences panels.
Is this some encoding issue? Is fr different to fr@utf8?
*** Bug 529242 has been marked as a duplicate of this bug. ***
Created attachment 113075 [details] [review] Patch This patch fixes the bug for me. I just updated the gettext initialization code following other pygtk examples; I don't know exactly what was wrong with the old code, but this works-for-me.
Thanks Kai, it's applied in svn.