bug-gettext
[Top][All Lists]
Advanced

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

[bug #67141] MacOS/ARM64: msgfmt -c test.po segfault crash


From: Friedrich Beckmann
Subject: [bug #67141] MacOS/ARM64: msgfmt -c test.po segfault crash
Date: Tue, 20 May 2025 11:37:59 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?67141>

                 Summary: MacOS/ARM64: msgfmt -c test.po segfault crash
                   Group: GNU gettext
               Submitter: beckmanf
               Submitted: Di 20 Mai 2025 15:37:55 GMT
                Category: Programmer tools
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Di 20 Mai 2025 15:37:55 GMT    By: Friedrich Beckmann <beckmanf>
I install msgfmt via homebrew on MacOS 15.3.1 on a Macbook Pro with ARM
architecture. The installed version is 0.25. When I run 


msgfmt -c test.po


with a file test.po that contains


msgid ""
msgstr ""
"Project-Id-Version: pspp-2.0.1\n"


then msgfmt crashes with


MacBookProM4:pspp fritz$ msgfmt -c test.po 
test.po: warning: Charset missing in header.
                  Message conversion to user's charset will not work.
Segmentation fault: 11
MacBookProM4:pspp fritz$ 


When I have a longer po file with correct header, then msgfmt just crashes. So
this is minimum crash example. Without option "-c" I do not see a segmentation
fault. This occured during compilation of pspp on MacOS. The po files and hole
compilation setup is quite old. But this is the first time I tried this on an
ARM system. I attached the test.po file.







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: test.po  Size: 53B
<https://file.savannah.gnu.org/file/test.po?file_id=57231>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f85bf3203d2855037a05573a5046cf087c141cfc.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67141>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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