[MacRuby-devel] [MacRuby] #430: MacRuby does not reap processes started with popen
MacRuby
ruby-noreply at macosforge.org
Wed Nov 11 12:45:27 PST 2009
#430: MacRuby does not reap processes started with popen
---------------------------------+------------------------------------------
Reporter: neeracher@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
in macirb, run the following line:
(0..100).each {IO.popen("echo yo") do |f| end}
in a separate shell, run "ps -eaf". It will show 100 zombie processes.
A source code comparison suggests that MacRuby, as opposed to ruby 1.9,
does not call waitpid when popen descriptors are closed.
--
Ticket URL: <http://www.macruby.org/trac/ticket/430>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list