bug-gawk
[Top][All Lists]
Advanced

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

Fatal error after pressing [Enter] at the debug prompt


From: Hermann Peifer
Subject: Fatal error after pressing [Enter] at the debug prompt
Date: Wed, 14 Dec 2022 15:28:35 -0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Hi again,

Here an observation while using Gawk's debugger (in my local git
sandbox, on my M1 Macbook). More info below.

Regards, Hermann

========================

Configuration Information [Automatically generated, do not change]:
Machine: aarch64
OS: darwin21.6.0
Compiler: gcc
Compilation CFLAGS: -g -O2 -DNDEBUG
uname output: Darwin hal.local 21.6.0 Darwin Kernel Version 21.6.0: Mon
Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2
Machine Type: aarch64-apple-darwin21.6.0

Gawk Version: 5.2.60

Attestation 1:
    I have read
https://www.gnu.org/software/gawk/manual/html_node/Bugs.html.
    Yes

Attestation 2:
    I have not modified the sources before building gawk.
    True

Description:
    Simply pressing [Enter] at the debug prompt generates a fatal error.

Repeat-By: Simply pressing [Enter] at the debug prompt
> ./gawk -D -f test/hello.awk
gawk>
gawk: fatal error: internal error
Abort trap: 6

Fix:
    The error goes away when configuring like this:
./configure --with-readline=/opt/homebrew/opt/readline



reply via email to

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