[Bug 1179818] Re: recursively call shell script will freeze whole system
qinghao
qinghao1 at foxmail.com
Wed May 15 01:44:51 UTC 2013
more annoying, confirmed on another installation of ubuntu 9.04, same
result.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1179818
Title:
recursively call shell script will freeze whole system
Status in “bash” package in Ubuntu:
Invalid
Bug description:
run the following script will freeze the whole system. i made some mistakes when i write it.
but such a bad script should not freeze the whole system.
<code>
if test $# -gt t ;
then
echo 1;
else
`basename $0` \<url\> \[new_filename\]
fi
</code>
it's not the first time that recursively call to script freeze the system.
i didn't remember what i have run the last time. but the results are the same.
the system became no responding to keyboard and mouse.
screen and windows content not update any more.
i confirmed the SSH and CTRL+ALT+F# this time. both of them stuck or 60s timeout-ed.
Ubuntu version: 12.04.1 amd64 server
Linux kernel version: 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
bash: 4.2-2ubuntu2
coreutils: 8.13-3ubuntu3
i have confirmed this bug is vm (virtualbox) running the same version ubuntu, it froze too.
it will not terminate itself. your can cancel it will CTRL+C at the beginning seconds.
after running for longer time it become not cancel-able and not accept the key input.
i have tried another box running Fedora 15[1] , it has no such problem. and can be
canceled by CTRL+C . after running for longer time it will quit itself.
fedora version:Fedora 15 i686
Linux version:
2.6.38.6-26.rc1.fc15.i686 #1 SMP Mon May 9 20:43:14 UTC 2011 i686 i686 i386 GNU/Linux
bash-4.2.10-4.fc15.i686
coreutils-8.10-2.fc15.i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1179818/+subscriptions
More information about the foundations-bugs
mailing list