Package: ksh Version: 93s+20080202-1 Severity: normal `while(true); do true; done` uses all the RAM, one whole core of CPU and makes system almost irresponsible(after filling all the RAM)
Replacing true with other commands do not change anything The same command works correctly in all other shells(constant and small use of memory, limited to ~15-20% use of CPU) Version without spawning additional shell, `ksh -c "while true; do true; done"` works properly -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35.7 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ksh depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ksh recommends no packages. ksh suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org