msgmerge crash while merging translations

Bug #485996 reported by Luca Lorenzetto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gettext (Ubuntu)
Confirmed
Medium
Unassigned

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 .

---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<----
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...
done

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
done

Please report any bugs to <email address hidden>.
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<----

ProblemType: Bug
Architecture: i386
Date: Fri Nov 20 19:58:14 2009
DistroRelease: Ubuntu 8.04
Package: gettext 0.17-2ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: gettext
Uname: Linux 2.6.24-25-virtual i686

Tags: apport-bug
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :

here the three files that makes msgmerge segfaulting

Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :
Revision history for this message
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/libc.so.6
(gdb) bt
#0 0xb7be48b3 in strlen () from /lib/i686/cmov/libc.so.6
#1 0xb7fac1d6 in ?? () from /usr/lib/libgettextsrc-0.17.so
#2 0xb7fac4f6 in is_message_list_iconvable () from /usr/lib/libgettextsrc-0.17.so
#3 0x0804c901 in ?? ()
#4 0x0804cf98 in ?? ()
#5 0xb7b87b35 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#6 0x0804a491 in ?? ()

Changed in gettext (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.