bugGNU gettext - Bugs: bug #53184, xgettext: Segmentation fault when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53184: xgettext: Segmentation fault when using "--its=FILE" option

Submitter:  Gunnar Hjalmarsson <gunnarhj>
Submitted:  Sun 18 Feb 2018 05:36:56 PM UTC
   
 
Category:  XML Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Thu 09 May 2019 07:30:18 PM UTC, comment #2: 

The fix is contained in the gettext-0.20 release.

Bruno Haible <haible>
Group administrator
Sun 18 Feb 2018 06:34:33 PM UTC, comment #1: 
Bruno Haible <haible>
Group administrator
Sun 18 Feb 2018 05:36:56 PM UTC, original submission:  

Example:

$ xgettext /usr/share/polkit-1/actions/org.gnome.controlcenter.datetime.policy \

> --its=/usr/share/gettext/its/polkit.its -o test.pot

Segmentation fault (core dumped)

However, before segfaulting the command does it work properly:

$ cat test.pot
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-18 18:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: /usr/share/polkit-1/actions/org.gnome.controlcenter.datetime.policy:10
msgid "Change system time and date settings"
msgstr ""

#: /usr/share/polkit-1/actions/org.gnome.controlcenter.datetime.policy:11
msgid "To change time or date settings, you need to authenticate."
msgstr ""

I'm not sure if this is a user error or a bug, but thought I'd report it.

(I know that since I have the policykit-1 package installed, which provides polkit.{its,loc} in the proper directory, I wouldn't have needed the "--its=FILE" option. Just made use of that file to illustrate the issue.)

Thanks!

Gunnar Hjalmarsson <gunnarhj>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by gunnarhj (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2018-02-18 haible CategoryEnd-user / runtime XML
        StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code