bugGNU gettext - Bugs: bug #27474, Segmentation fault in msgmerge


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

bug #27474: Segmentation fault in msgmerge

Submitted by:  Peter Eisentraut <petere>
Submitted on:  Thu 17 Sep 2009 09:57:52 PM UTC  
Category: Translator toolsSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Sat 19 Sep 2009 02:43:58 PM UTC, comment #1:

Thanks for the reminder. The bug has been fixed in the
gettext sources on 2008-05-16. Sorry for not replying

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Thu 17 Sep 2009 09:57:52 PM UTC, original submission:

I experience a segmentation fault when msgmerge runs a particular merge that appears to involve plural forms. This is reproducible with 0.17 and git head.

It appears that there is an obvious typo in the code. I have attached a patch. I have also attached a test case (unpack and runme.sh) in case you need convincing. ;-)

Originally reported to http://lists.gnu.org/archive/html/bug-gnu-utils/2009-04/msg00016.html , but it might have been lost in the noise.

Peter Eisentraut <petere>


Attached Files
file #18729:  testcase.tar.gz added by petere (17KiB - application/gzip)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:25:27 AM UTChaibleCategoryNone=>Translator tools
    Sat 19 Sep 2009 02:43:58 PM UTChaibleOpen/ClosedOpen=>Closed
      Assigned toNone=>haible
    Thu 17 Sep 2009 09:57:52 PM UTCpetereAttached File-=>Added testcase.tar.gz, #18729
      Carbon-Copy-=>Added petere
      Attached File-=>Added msgmerge-segfault-fix.patch, #18728

    Back to the top

    Powered by Savane 3.1-cleanup1