> $ ruby -e 'p [].to_s.strip.to_i'
> -e:1: [BUG] Segmentation fault
> ruby 1.7.3 (2002-09-27) [i386-freebsd4]
> Abort (core dumped)
> 
> See attached.  -sc

FWIW, I'm not sure that I have the right fix because to_f has the same
problem.  Was there a change that uncovered this bug, or, has
something else closer to the core changed that'd result in passing a
NULL string to the various methods?  Anyway, if this were the correct
fix bug in bignum, then the following would always SEGV ruby.  The bug
appears to be in chaining methods together.  Hit four methods and
you're SOL.  -sc

$ ruby -e "''.strip.to_i"
$ ruby -e "''.to_i"
$ ruby -e "[].to_s.to_i"
$ ruby -e "[].to_s.strip.to_i"
-e:1: [BUG] Segmentation fault
ruby 1.7.3 (2002-09-27) [i386-freebsd4]
Abort (core dumped)
$ ruby -e "[].to_s.delete('a').to_i"
-e:1: [BUG] Segmentation fault
ruby 1.7.3 (2002-09-27) [i386-freebsd4]
Abort (core dumped)
$ ruby -e "[].to_s.to_f"
$ ruby -e "[].to_s.delete('a').to_f"
-e:1: [BUG] Segmentation fault
ruby 1.7.3 (2002-09-27) [i386-freebsd4]
Abort (core dumped)

--
Sean Chittenden