bug-gawk
[Top][All Lists]
Advanced

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

pma test hangs on MacOS


From: Hermann Peifer
Subject: pma test hangs on MacOS
Date: Wed, 28 Sep 2022 16:30:44 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0

Hi again,

I just started using gawk from git on a rather recent MacBook (Monterey,
arm64). I noted that the pma test hangs with gawk running endlessly,
using 100% CPU. More info below.

Regards, Hermann


> ./gawk -V | head -1
GNU Awk 5.2.0, API 3.2, PMA Avon 7-g1, (GNU MPFR 4.1.0, GNU MP 6.2.1)

> make check
...
mpfruplus
mpgforcenum
======== Done with MPFR tests ========
======== Starting PMA tests ========
gcc makepmafile.c -o makepmafile
pma
^C
make[3]: *** [pma] Interrupt: 2
make[2]: *** [pma-tests] Interrupt: 2
make[1]: *** [check-recursive] Interrupt: 2
make: *** [check] Interrupt: 2



# Looks like the first run goes fine, but the second run hangs

> cat test/_pma
1
>



# Additional test inspired by the gawk manual, error output attached

> truncate -s 4G data.pma

> PMA_VERBOSITY=3 GAWK_PERSIST_FILE=data.pma ../gawk 'BEGIN { print ++i
}' 2>err.1
1
> PMA_VERBOSITY=3 GAWK_PERSIST_FILE=data.pma ../gawk 'BEGIN { print ++i
}' 2>err.2
^C

Attachment: err.1
Description: Text document

Attachment: err.2
Description: Text document


reply via email to

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