Bug #4330: IO.popen case Segmentation Fault if take a long string.
http://redmine.ruby-lang.org/issues/show/4330

Author: Motohiro KOSAKI
Status: Open, Priority: Normal
Assigned to: Motohiro KOSAKI, Category: core, Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-01-27 trunk 30668) [i386-mswin32_100]

following script cause segmentation fault.

ruby -e 'IO.popen(["c:/ruby/bin/ruby.exe "+"a
"*10_000_000, "hoge"])'


----------------------------------------
http://redmine.ruby-lang.org