You have been subscribed to a public bug:

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

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: freeze shell
-- 
recursively call shell script will freeze whole system
https://bugs.launchpad.net/bugs/1179818
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to