Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16690

Re: Shell exits after process substitution when using DEBUG trap with extdebug

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Shell exits after process substitution when using DEBUG trap with extdebug
Date 2020-08-04 10:20 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.755.1596550813.2739.bug-bash@gnu.org> (permalink)
References <CAFG5iOhJ61520b7DKiHbjSAOcR01jHOhnYa-biv9dTowK11Vtg@mail.gmail.com> <fe173c2c-1743-cf9e-4a28-64337dbc9062@case.edu>

Show all headers | View raw


On 8/3/20 9:44 PM, Jonathan Rascher wrote:
> $ bash --version
> GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
> 
> $ uname -a
> Linux penguin 5.4.40-04224-g891a6cce2d44 #1 SMP PREEMPT Tue Jun 23 20:21:29
> PDT 2020 x86_64 GNU/Linux
> 
> (This is a Pixelbook running the default Crostini Linux VM under Chrome
> OS 84.0.4147.110. I can reproduce the issue on regular Debian too, though.)
> 
> To reproduce, run the following commands:
> 
> shopt -s extdebug
> trap : DEBUG
> : < <(:)

Thanks for the report. I can't reproduce this with macOS, but I can with
RHEL 7. I'll take a look.

Chet

-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Shell exits after process substitution when using DEBUG trap with extdebug Chet Ramey <chet.ramey@case.edu> - 2020-08-04 10:20 -0400

csiph-web