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


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

bug #27474: Segmentation fault in msgmerge

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

Sat Sep 19 14:43:58 2009, 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 Sep 17 21:57:52 2009, 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 (17kB - 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 Nov 27 00:25:27 2016haibleCategoryNone=>Translator tools
    Sat Sep 19 14:43:58 2009haibleOpen/ClosedOpen=>Closed
      Assigned toNone=>haible
    Thu Sep 17 21:57:52 2009petereAttached 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