Your message dated Fri, 05 Aug 2011 14:48:06 +0000
with message-id <[email protected]>
and subject line Bug#608181: fixed in gettext 0.18.1.1-4
has caused the Debian Bug report #608181,
regarding /usr/bin/xgettext: xgettext segmentation fault
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
608181: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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-----
--- End Message ---
--- Begin Message ---
Source: gettext
Source-Version: 0.18.1.1-4
We believe that the bug you reported is fixed in the latest version of
gettext, which is due to be installed in the Debian FTP archive:
autopoint_0.18.1.1-4_all.deb
to main/g/gettext/autopoint_0.18.1.1-4_all.deb
gettext-base_0.18.1.1-4_amd64.deb
to main/g/gettext/gettext-base_0.18.1.1-4_amd64.deb
gettext-doc_0.18.1.1-4_all.deb
to main/g/gettext/gettext-doc_0.18.1.1-4_all.deb
gettext-el_0.18.1.1-4_all.deb
to main/g/gettext/gettext-el_0.18.1.1-4_all.deb
gettext_0.18.1.1-4.debian.tar.gz
to main/g/gettext/gettext_0.18.1.1-4.debian.tar.gz
gettext_0.18.1.1-4.dsc
to main/g/gettext/gettext_0.18.1.1-4.dsc
gettext_0.18.1.1-4_amd64.deb
to main/g/gettext/gettext_0.18.1.1-4_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated gettext package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 05 Aug 2011 15:47:34 +0200
Source: gettext
Binary: gettext-base gettext gettext-el gettext-doc autopoint
Architecture: source all amd64
Version: 0.18.1.1-4
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description:
autopoint - The autopoint program from GNU gettext
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
gettext-doc - Documentation for GNU gettext
gettext-el - Emacs po-mode for editing gettext .po files
Closes: 608181
Changes:
gettext (0.18.1.1-4) unstable; urgency=low
.
* Applied patch by Bruno Haible to fix xgettext crash when extracting
a message with plural that is excluded. Closes: #608181.
* Dropped obsolete -D_REENTRANT. Use --enable-threads instead.
Checksums-Sha1:
01a67e253a1c83145dabc1f82ed7903c8c8c5a4f 1514 gettext_0.18.1.1-4.dsc
73792f66c49d2dc2321b5689a906aa03088b3ab2 39505 gettext_0.18.1.1-4.debian.tar.gz
37c6cae5c746674b37a7b4bc5342636b3bc02c77 59606 gettext-el_0.18.1.1-4_all.deb
836da3391d70358e738577add6f71dfe705248a4 913370 gettext-doc_0.18.1.1-4_all.deb
93e607341fbb34ca08968b33183c2e5f8fb30ced 623812 autopoint_0.18.1.1-4_all.deb
92981f21ff757f34e8e6630f1af518f329df569a 153966
gettext-base_0.18.1.1-4_amd64.deb
07cf76cd6e1d2ec996f6bd9bcfa73a7248bab1bf 2079220 gettext_0.18.1.1-4_amd64.deb
Checksums-Sha256:
8588dd650654fa73db2a2759845f3237b6ce115683d1321261a401de99d838cb 1514
gettext_0.18.1.1-4.dsc
30013b4de2477f22c2c9805d11be3d25f36868e23bc92fbc0409763b9aef5431 39505
gettext_0.18.1.1-4.debian.tar.gz
341958dcb9212e0ecbb753aab6abc801725d2a5612910e874a8028bdccdff5c9 59606
gettext-el_0.18.1.1-4_all.deb
7de7cc03de4a2a3389c23e7681e5a368c22cbcdeac4755be00f5e145428de3ba 913370
gettext-doc_0.18.1.1-4_all.deb
e241bba0bf9456bdeebbd0a93dc966acb48feed36258628a4b6faa677169d243 623812
autopoint_0.18.1.1-4_all.deb
bbf1e6d0b96f41e72092f3ba4b519badfd10b5a5f45c72f0487f80e498851963 153966
gettext-base_0.18.1.1-4_amd64.deb
e4d36cf6b5617aec56382d634b1f02d53f1f8a84c6ed526bc96fa0266cddb84f 2079220
gettext_0.18.1.1-4_amd64.deb
Files:
725e1d60e0f7e4e70d671c9ac02d67ba 1514 devel optional gettext_0.18.1.1-4.dsc
aa9d269183232f0ac63f624a99d290a7 39505 devel optional
gettext_0.18.1.1-4.debian.tar.gz
0e5a746ae61998ce00a07cf14640eb15 59606 lisp optional
gettext-el_0.18.1.1-4_all.deb
5fa5f4a13ce7e4f9cbd275451a43f943 913370 doc optional
gettext-doc_0.18.1.1-4_all.deb
405a0eef81fb7363f03c2bbbe3dced2c 623812 devel optional
autopoint_0.18.1.1-4_all.deb
4379b5900f7c3350483fd81404d42c55 153966 utils standard
gettext-base_0.18.1.1-4_amd64.deb
64ecea482fe65984e1ab4787a1fa964f 2079220 devel optional
gettext_0.18.1.1-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBCAAGBQJOO/XgAAoJEEHOfwufG4sy+UwH/RdyJIDZ9r3SCAoIAQ/wgErf
5is2c59FGiI7e9pWVx1cphj0YCo7lvn1zgpnHDQnx7YRBS+6R4AutYABYCyYXOQQ
RRU6kdpVDZERwYcRJmWwbPo26V3GW8oWbNbqcIg7vYxd4g8iZe6xI6UK7n51abty
6Ngmzp0Zs6g8SQ7x+POdMkB58PdRpafBsNniGmOmjAigYldJ6QEgWN70pxPLQ4ss
dissUpRMe3xMnpOoGED0Xc9o4/gM6YH6LB1mXgYLp1LsXWL2beGOtsSir6WDtSvP
Krgap0oYs6+WBxTZ2YaFNrPZFAkONxNY805XAXGDe0m4GHpJyQ2XTUyoi5C9wiw=
=H4tw
-----END PGP SIGNATURE-----
--- End Message ---