Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#247556: zsh build gets stuck running tests.



I don't know the cause, but this has happened in the past on sparc(64),
though only under sbuild (a perl script).

On Wed, May 05, 2004 at 09:43:00PM +0200, Kurt Roeckx wrote:
> 
> When building the package on amd64, it runs fine until it gets to this
> point:
> ../../Test/B03print.ztst: starting.
> ../../Test/B03print.ztst: all tests successful.
> ../../Test/B04read.ztst: starting.
> 
> Then you see this in ps:
> 
> root     18855  0.0  0.2  5580 1140 ?        TN   19:31   0:00 sh -c dpkg-buildpackage -us -uc -B -r/usr/bin/fakeroot 2>&1
> root     18856  0.0  0.2  5616 1236 ?        TN   19:31   0:00 /bin/sh /usr/bin/dpkg-buildpackage -us -uc -B -r/usr/bin/fakeroot
> root     18982  0.0  0.1  5412  848 ?        TN   19:31   0:00 /usr/bin/make -f
> debian/rules build
> root     31972  0.0  0.2  5572 1144 ?        TN   19:35   0:00 /bin/sh -c cd obj && /usr/bin/make check
> root     31973  0.0  0.2  5692 1104 ?        TN   19:35   0:00 /usr/bin/make check
> root     31974  0.0  0.2  5572 1144 ?        TN   19:35   0:00 /bin/sh -c cd Test ; /usr/bin/make check
> root     31975  0.0  0.1  5412  840 ?        TN   19:35   0:00 /usr/bin/make check
> root     32150  0.0  0.2  5584 1168 ?        TN   19:35   0:00 /bin/sh -c for f in ../../Test/*.ztst; do  ../Src/zsh +Z -f ../../Test/ztst.zsh
> $f;  done root       728  0.0  0.3 13704 1680 ?        TN   19:35   0:00 ../Src/zsh +Z -f ../../Test/ztst.zsh ../../Test/B04read.ztst
> 
> As you can see all the processes are suddenly stuck in state "T",
> straced/stopped.
> 
> I can get them all back to working using KILL -CONT, but if I do
> the same on the last process (pid 728, the test), they all end up
> in stop again.
> 
> I then tried to strace it, and get then get this all over and
> over again:
> --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
> --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
> ioctl(11, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon
> echo ...}) = ?
> ERESTARTSYS (To be restarted)
> 
> If I kill -9 728 and -CONT the rest the build goes on fine and
> says it's succesful.
> 
> Anybody got any idea what might be wrong or how I can test what's
> really going on?
> 
> 
> Kurt



Messages sorted by: Reverse Date, Date, Thread, Author