>>>>> "C" == Chad Fowler <chad / chadfowler.com> writes:

C> So I'm not really sure what should be changed, but I'm fairly certain it's 
C> something in rb_str_update. :)

 Yes, just use the debugger and when it crash make

   p *(struct RString *)str

 and you'll see the problem and this will give you the patch


Guy Decoux