|
From: | Roman Rakus |
Subject: | Re: interrupted system call when using named pipes on FreeBSD |
Date: | Wed, 30 Jan 2013 10:23:51 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
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 ' ' done On 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
[Prev in Thread] | Current Thread | [Next in Thread] |