[Pkg-zsh-devel] Bug#867614: zsh: endless loop when building under "apt-get source -b"
Sven Joachim
svenjoac at gmx.de
Fri Jul 7 19:43:00 UTC 2017
On 2017-07-07 21:33 +0200, Sven Joachim wrote:
> Source: zsh
> Version: 5.3.1-5
> Severity: normal
>
> Something strange is happening here. When I try to build zsh with
> "apt-get source -b zsh" in an xterm, during the tests zsh rapidly prints
> the following messages over and over until it is killed:
>
> ,----
> | (eval):4: write error: inappropriate ioctl for device
> | (eval):print:4: write error: broken pipe
> `----
By piping the output through tee(1) I could capture the messages before
the endless loop and saw this test failure:
,----
| Running test: Bug regression: piping to anonymous function; piping to backround function
| Pattern match failed:
| <\[<->\] <-> <->
| >[7] 10380 10381
| >[7] + 10380 running ( while :; do; print "This is a line"; done; ) |
| > 10381 done () { ... }
| Test ../../Test/A05execution.ztst failed: output differs from expected as shown above for:
| { setopt MONITOR } 2>/dev/null
| if [[ -o MONITOR ]]
| then
| ( while :; do print "This is a line"; done ) | () : &
| sleep 1
| jobs -l
| else
| print -u $ZTST_fd "Skipping pipe leak test, requires MONITOR option"
| print "[0] 0 0"
| fi
| Error output:
| (eval):print:4: write error: broken pipe
| (eval):4: write error: inappropriate ioctl for device
`----
Cheers,
Sven
More information about the Pkg-zsh-devel
mailing list