[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal error with gawk-5.3.0
From: |
arnold |
Subject: |
Re: Internal error with gawk-5.3.0 |
Date: |
Sun, 07 Jan 2024 11:46:00 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
"Miguel Pineiro Jr." <mpj@pineiro.cc> wrote:
> 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
Thanks for the much simpler reproducer. If you can fix it, that'd be great.
Otherwise, I should be able to look into it over the next day or so.
Arnold
- Internal error with gawk-5.3.0, Sam James, 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 <=
- 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