msgmerge crash while merging translations

Bug #485996 reported by Luca Lorenzetto on 2009-11-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gettext (Ubuntu)

Bug Description

Binary package hint: gettext

While trying to merge translations to a pot file from a correct po file of the horde framework i get a segfault when calling msgmerge.

With another machine with an older version of gettext msgmerge works correctly .

root@assistenza:/var/www/horde/po# php translation.php merge -m whups -l it_IT
Horde translation generator
Loading libraries...
Console_Getopt... OK
Console_Table... OK
File_Find... OK

Searching gettext binaries...
gettext... found: /usr/bin/gettext
msgattrib... found: /usr/bin/msgattrib
msgcat... found: /usr/bin/msgcat
msgcomm... found: /usr/bin/msgcomm
msgfmt... found: /usr/bin/msgfmt
msginit... found: /usr/bin/msginit
msgmerge... found: /usr/bin/msgmerge
xgettext... found: /usr/bin/xgettext

gettext version: 0.17 OK

Searching Horde applications in /var/www/horde/po/..
Found applications: horde, whups.bak, whups.corr, whups

Cleaning up PO files for module whups...
Cleaning up locale it_IT...

Merging translation for module whups...
Merging locale it_IT...
/usr/bin/msgmerge --update -v --compendium="/var/www/horde/po/../po/compendium.po" "/var/www/horde/po/../whups/po/it_IT.po" "/var/www/horde/po/../whups/po/whups.pot"Segmentation fault

Please report any bugs to <email address hidden>.

ProblemType: Bug
Architecture: i386
Date: Fri Nov 20 19:58:14 2009
DistroRelease: Ubuntu 8.04
Package: gettext 0.17-2ubuntu1
PackageArchitecture: i386
SourcePackage: gettext
Uname: Linux 2.6.24-25-virtual i686

here the three files that makes msgmerge segfaulting

Luca Falavigna (dktrkranz) wrote :

Here too, I can't produce a more accurate backtrace due to missing dbgsym package:
Program received signal SIGSEGV, Segmentation fault.
0xb7be48b3 in strlen () from /lib/i686/cmov/
(gdb) bt
#0 0xb7be48b3 in strlen () from /lib/i686/cmov/
#1 0xb7fac1d6 in ?? () from /usr/lib/
#2 0xb7fac4f6 in is_message_list_iconvable () from /usr/lib/
#3 0x0804c901 in ?? ()
#4 0x0804cf98 in ?? ()
#5 0xb7b87b35 in __libc_start_main () from /lib/i686/cmov/
#6 0x0804a491 in ?? ()

Changed in gettext (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed

The issue affects also lucid, same problem on my server while trying to merge translations

Jan Schneider (yunosh) wrote :

I see this in Lucid too, but it seems to be fixed in Maverick, which has gettext 0.18.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers