bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #53184] xgettext: Segmentation fault when using "--it


From: Gunnar Hjalmarsson
Subject: [bug-gettext] [bug #53184] xgettext: Segmentation fault when using "--its=FILE" option
Date: Sun, 18 Feb 2018 12:36:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

URL:
  <http://savannah.gnu.org/bugs/?53184>

                 Summary: xgettext: Segmentation fault when using "--its=FILE"
option
                 Project: GNU gettext
            Submitted by: gunnarhj
            Submitted on: Sun 18 Feb 2018 05:36:56 PM UTC
                Category: End-user / runtime
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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 <address@hidden>, 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 <address@hidden>\n"
"Language-Team: LANGUAGE <address@hidden>\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!




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53184>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]