From: akr@... Date: 2014-01-28T11:59:06+00:00 Subject: [ruby-core:60172] [ruby-trunk - Bug #8770] [PATCH] process.c: avoid EINTR from Process.spawn Issue #8770 has been updated by Akira Tanaka. I think the Errno::EINTR error occur inTestProcess#test_deadlock_by_signal_at_forking because r44706 doesn't contain the last hunk in 0001-process.c-avoid-EINTR-from-Process.spawn.patch. I committed the hunk at r44727. ---------------------------------------- Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn https://bugs.ruby-lang.org/issues/8770#change-44657 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: Nobuyoshi Nakada * Category: core * Target version: 2.1.0 * ruby -v: ruby 2.1.0dev (2013-08-10 trunk 42491) [x86_64-linux] * Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED ---------------------------------------- (send_child_error): retry write on EINTR (recv_child_error): retry read on EINTR I've been getting occasional Errno::EINTR from Process.spawn with just the prog name in the error message. This is probably the cause of it, as I haven't been able to get a consistent reproduction of the Errno::EINTR. I've been hitting this on 2.0.0-p247, so it probably needs backport. ---Files-------------------------------- 0001-process.c-avoid-EINTR-from-Process.spawn.patch (3.18 KB) -- http://bugs.ruby-lang.org/