Actions
Bug #2370
closedForked process generates spurious signal errors
Description
=begin
The attached test program demonstrates the problem. About 25% percent of the time the forked-off program terminates with a signal error.
For best results the first parameter of the doRun() call should be set to a value slightly higher than the number of CPU cores in the system.
time ruby19 ruby-signal-bug.rb
Ok: 1513 Errors: 487
real 1m21.352s
user 1m3.712s
sys 0m20.913s
The terminated processes are killed during the IO operation and leave test*.txt files of varying size in the current directory.
The program works fine with ruby 1.8.7 PL27.
=end
Files
Actions
Like0
Like0