After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 527665 - meld crashes in dirdiff when using LANG=fr_FR
meld crashes in dirdiff when using LANG=fr_FR
Status: VERIFIED FIXED
Product: meld
Classification: Other
Component: dirdiff
1.1.x
Other All
: Normal critical
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
: 529242 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-12 05:58 UTC by damien faure
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.61 KB, patch)
2008-06-19 21:09 UTC, Kai Willadsen
none Details | Review

Description damien faure 2008-04-12 05:58:35 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:
Comment 1 damien faure 2008-04-12 08:14:32 UTC
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.
Comment 2 Stephen Kennedy 2008-04-27 20:39:29 UTC
Is this some encoding issue? Is fr different to fr@utf8?
Comment 3 Stephen Kennedy 2008-04-27 21:24:39 UTC
*** Bug 529242 has been marked as a duplicate of this bug. ***
Comment 4 Kai Willadsen 2008-06-19 21:09:57 UTC
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.
Comment 5 Stephen Kennedy 2008-06-19 22:42:35 UTC
Thanks Kai, it's applied in svn.