From: Wilson Bilkovich Date: 2006-12-01T02:09:20+09:00 Subject: Re: Segmentation fault, proc, eval, long string On 11/30/06, Bob Hutchison wrote: > Hi, > > I'm getting a 'Segmentation fault' in ruby 1.8.5 running on debian in > a Xen VPS. The same code running on OS X and a different version of > linux has no problems. > > The process to get this is maybe a little strange. > > 1) read a large file into a string (1.3MB) > 2) eval the string (the string is a single ruby proc definition that > when called will build an object structure in memory) > 3) call the proc --> Segmentation fault *very* soon after > Hrm. This looks similar to the problem reported here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/80435