[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal error with gawk-5.3.0
From: |
Miguel Pineiro Jr. |
Subject: |
Re: Internal error with gawk-5.3.0 |
Date: |
Sun, 07 Jan 2024 13:08:23 -0500 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 |
I can replicate the core dump of the program in the original report, but
simplified it to:
LC_CTYPE=en_US.UTF-8 ./gawk 'BEGIN { print match (m, /a?/) }'
LC_CTYPE=C works fine. And in a multibyte locale it also works if the
uinitialized m is replaced with an empty string literal.
This is very likely related to changes made a few months ago to fix zero-length
matches in multibyte locales:
https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=c85749daba596ba2b827bcea239db74fc5321665
I'm going to take a look at it right now, to see if I can help get this fixed
quickly.
Miguel
- Internal error with gawk-5.3.0, Sam James, 2024/01/07
- Re: Internal error with gawk-5.3.0,
Miguel Pineiro Jr. <=
- Re: Internal error with gawk-5.3.0, arnold, 2024/01/07
- Re: Internal error with gawk-5.3.0, Miguel Pineiro Jr., 2024/01/07
- Re: Internal error with gawk-5.3.0, arnold, 2024/01/08
- Re: Internal error with gawk-5.3.0, Sam James, 2024/01/28
- Re: Internal error with gawk-5.3.0, arnold, 2024/01/28
- Re: Internal error with gawk-5.3.0, arnold, 2024/01/28