bug-bash
[Top][All Lists]
Advanced

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

Re: Bug in the read command


From: Chet Ramey
Subject: Re: Bug in the read command
Date: Wed, 17 Sep 2025 10:30:22 -0400
User-agent: Mozilla Thunderbird

On 9/17/25 6:04 AM, Duncan Roe via Bug reports for the GNU Bourne Again SHell wrote:

[1]+  Stopped                    ./test1
-bash: wait: warning: job 1[4286] stopped

Do you by any chance have job control disabled?

It's more likely that the OP is running the scripts from an interactive
shell that is not bash.

But, things get interesting when I kill the job:-

$ kill %1

[1]+  Stopped                    ./test1
./test1: line 4: read: error setting terminal attributes: Interrupted system 
call

malloc: unknown:0: assertion botched
free: underflow detected; magic8 corrupted
Aborting...$

Thanks, this is a mostly-unrelated issue that is easily fixed.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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