Package: gettext Version: 0.18.1.1-3 Severity: important File: /usr/bin/xgettext
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, While trying to extract translatable strings (from WordPress), I get a Segmentation fault. I use the following command: xgettext --width=80 --from-code=utf-8 \ --keyword=__ --keyword=_e --keyword=esc_attr__ --keyword=esc_attr_e \ --keyword=esc_html__ --keyword=esc_html_e \ --keyword=_x:1,2c --keyword=esc_attr_x:1,2c --keyword=esc_html_x:1,2c \ --keyword=_n:1,2 --keyword=_nx:1,2,4c \ --keyword=_ex:1,2c \ --keyword=_n_noop:1,2 --keyword=_nx_noop:1,2,3c \ --default-domain=wp \ --language=php \ --files-from=fichiersphp.lst \ --exclude-file=cities.pot \ --exclude-file=ms.pot \ --output=wp.pot If I remove the option "--exclude-file=ms.pot" (this file is extracted a similar way), I've not the Segmentation Fault. If I run it from gdb, I get: Program received signal SIGSEGV, Segmentation fault. remember_a_message_plural (mp=0x0, string=0x84bca0 "%s users", context=..., pos=0x84f570, comment=<value optimized out>) at xgettext.c:2438 2438 if (mp->msgid_plural == NULL) (gdb) bt #0 remember_a_message_plural (mp=0x0, string=0x84bca0 "%s users", context=..., pos=0x84f570, comment=<value optimized out>) at xgettext.c:2438 #1 0x0000000000408aaf in arglist_parser_done (ap=0x84f4d0, argnum=<value optimized out>) at xgettext.c:2937 #2 0x0000000000421e71 in extract_balanced (mlp=<value optimized out>, delim=<value optimized out>, outer_context=..., context_iter=..., argparser=<value optimized out>) at x-php.c:1513 #3 0x0000000000421f1c in extract_balanced (mlp=<value optimized out>, delim=<value optimized out>, outer_context=..., context_iter=..., argparser=<value optimized out>) at x-php.c:1466 #4 0x0000000000421f1c in extract_balanced (mlp=<value optimized out>, delim=<value optimized out>, outer_context=..., context_iter=..., argparser=<value optimized out>) at x-php.c:1466 #5 0x00000000004221ea in extract_php (f=<value optimized out>, real_filename=<value optimized out>, logical_filename=<value optimized out>, flag_table=0x636580, mdlp=<value optimized out>) at x-php.c:1586 #6 0x000000000040741f in extract_from_file ( file_name=0x701f60 "../../wp-admin/ms-admin.php", extractor=..., mdlp=<value optimized out>) at xgettext.c:1957 #7 0x0000000000407ed6 in main (argc=<value optimized out>, argv=<value optimized out>) at xgettext.c:779 (gdb) Regards Jean-Luc - -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (900, 'unstable'), (700, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-rc7-k8-1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gettext depends on: ii dpkg 1.15.8.7 Debian package management system ii gettext-base 0.18.1.1-3 GNU Internationalization utilities ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libcroco3 0.6.2-1 a generic Cascading Style Sheet (C ii libglib2.0-0 2.27.5-1 The GLib library of C routines ii libgomp1 4.4.5-10 GCC OpenMP (GOMP) support library ii libncurses5 5.7+20100313-4 shared libraries for terminal hand ii libunistring0 0.9.3-3 Unicode string library for C ii libxml2 2.7.8.dfsg-2 GNOME XML library Versions of packages gettext recommends: ii autopoint 0.18.1.1-3 The autopoint program from GNU get ii curl 7.21.2-4 Get a file from an HTTP, HTTPS or ii wget 1.12-2.1 retrieves files from the web Versions of packages gettext suggests: pn gettext-doc <none> (no description available) - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNGdE7UdGGXzzGnNARAlY1AKCJU+/NvfVcMetNKpLegB2p+Bp6fACgnRjj ZZetYEo4utaqhdei91P0V5U= =W+rO -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org