found 581425 0.5.5.1-4 notfound 581425 0.5.5.1-3 tags 581425 + unreproducible quit
On Wed, May 12, 2010 at 11:38:51PM +0200, Enrico Tassi wrote: > wait exit status is wrong, it is 145 (signaled with SIGCHLD). > Downgrading to 0.5.5.1-3 solves the problem. This is a simple > test that shows the bug: > > ta...@birba:~$ cat /tmp/test-dash.sh > true & > p1=$! > true & > p2=$! > wait $p2 || echo p2 fails # if you print $? of the wait statement you get 145 > wait $p1 || echo p1 fails > ta...@birba:~$ dash /tmp/test-dash.sh > p2 fails > ta...@birba:~$ bash /tmp/test-dash.sh > ta...@birba:~$ sudo aptitude install dash=0.5.5.1-3 > .... > ta...@birba:~$ dash /tmp/test-dash.sh > > In case it helps debugging: note that if the two wait lines are swapped, it > works... Hi Enrico, strange, I cannot reproduce it on current unstable: $ uname -m x86_64 $ dpkg -l dash |grep ^ii ii dash 0.5.5.1-4 POSIX-compliant shell $ cat /tmp/test-dash.sh true & p1=$! true & p2=$! wait $p2 || echo p2 fails # if you print $? of the wait statement you get 145 wait $p1 || echo p1 fails $ dash /tmp/test-dash.sh $ echo $? 0 $ dash -x /tmp/test-dash.sh + true + p1=14188 + true + p2=14189 + wait 14189 + wait 14188 $ Do you have an idea what might be different on your system, maybe arch, kernel or libc? Regards, Gerrit. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org