Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml)

From: ts <decoux@...>
Date: 2004-05-22 10:48:43 UTC
List: ruby-core #2922
>>>>> "J" == Jeff Mitchell <quixoticsycophant@yahoo.com> writes:

J> A bit contrived,

 No, your example is very good

J> arda:~> irb -r yaml
J> irb(main):001:0> YAML.load([1,2,3].to_yaml.to_yaml)

svg% ruby -r yaml -e 'p YAML.load(">\n--- ")'
/home/ts/local/r190/lib/ruby/1.9/yaml.rb:119: [BUG] Segmentation fault
ruby 1.9.0 (2004-05-22) [i686-linux]

Aborted
svg% 


 Now someone can say me where is located the source of syck ?

  http://whytheluckystiff.net/syck/

 has only 0.42 and I don't want to make reverse engineering to correct the
 problem.

 I really think that it's a problem with the distribution of ruby.


Guy Decoux

In This Thread