On 01/30/2013 10:06 AM, Roman Rakus wrote:
There is similar problem with ioctl() syscall in read. Consider following script: #!/bin/bash ( while :; do kill -CHLD $$ 2>&- || break; done ) & while :; do read -p 1 -t 0.01 -d ' ' doneOn my Fedora it is reporting many /tmp/test.sh: line 4: read: error setting terminal attributes: Interrupted system call Hold down Enter key and when you are lucky you'll end up with SIGABRT. Definitely it's a bug in kernel, but I'm not sure if there is also something wrong in bash. RR
reported, see http://marc.info/?l=linux-kernel&m=135948656610281 RR
