[Pkg-zsh-devel] Bug#867614: Bug#867614: zsh: endless loop when building under "apt-get source -b"
Axel Beckert
abe at debian.org
Sat Dec 30 15:45:55 UTC 2017
Control: tag -1 + confirmed
Control: found -1 5.4.2-3
Hi Sven,
thanks for the bug report.
Sven Joachim wrote:
> 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
> `----
When I tried it with the soon to be uploaded zsh 5.4.2-3 (via
https://jenkins.grml.org/debian), I couldn't see these messages, but ...
> These are the final messages after I killed the runaway zsh process:
... I still had a runaway zsh process started by the test suite
which filled up my /tmp/ rather quickly:
Excerpt from lsof output:
→ lsof | fgrep deleted | fgrep /tmp
zsh 12242 abe cwd DIR 0,39 40 153609225 /tmp/zsh-867614/zsh-5.4.2/obj/Test/command.tmp (deleted)
zsh 12242 abe txt REG 0,39 3108064 153599609 /tmp/zsh-867614/zsh-5.4.2/obj/Src/zsh (deleted)
zsh 12242 abe 0r REG 0,39 0 153617200 /tmp/zsh.ztst.5904/ztst.in (deleted)
zsh 12242 abe 2w REG 0,39 2659778560 153608419 /tmp/zsh.ztst.5904/ztst.terr (deleted)
^^^^^^^^^^ = 2.5 GB!
→ ps auxwww | fgrep 12242
abe 12242 99.8 0.0 35324 3020 pts/15 RN 16:02 6:55 ../Src/zsh +Z -f ../../Test/ztst.zsh ../../Test/A05execution.ztst
Since the log file already has been deleted, I couldn't (easily) look
into it, but I assume it has been filled with similar messages.
> Note that this problem does _not_ manifest itself when running
> dpkg-buildpackage -b directly instead of under apt-get's control.
I can confirm that.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Pkg-zsh-devel
mailing list