Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Sean O'Dell <sean@ce...> - 2004-06-25 20:34:03
Strange, I sent this yesterday, but I didn't receive it via the ML. Oh well,
here it is again:
Not sure who to report this to. I'm using the Ruby YAML library and got a
segfault with an anchor set on a node that has nothing in it.
Sample code to get the segfault:
yaml_doc = <<-END
yaml = YAML::load(yaml_doc)
From: why the lucky stiff <yaml-core@wh...> - 2004-06-27 15:41:58
Sean O'Dell wrote:
> Sample code to get the segfault:
> require "yaml"
> yaml_doc = <<-END
> key: &key
> yaml = YAML::load(yaml_doc)
What Ruby version? This throws a parse error with Ruby CVS.
From: Sean O'Dell <sean@ce...> - 2004-06-27 18:51:10
On Sunday 27 June 2004 08:43, why the lucky stiff wrote:
> Sean O'Dell wrote:
> > Sample code to get the segfault:
> > require "yaml"
> > yaml_doc = <<-END
> > ---
> > key: &key
> > END
> > yaml = YAML::load(yaml_doc)
> What Ruby version? This throws a parse error with Ruby CVS.
I should have posted the full error I got, sorry:
/usr/lib/ruby/1.8/yaml.rb:39:in `load': parse error on line 2, col -1:
from /usr/lib/ruby/1.8/yaml.rb:39:in `load'
/usr/lib/ruby/1.8/yaml.rb:39: [BUG] Segmentation fault
ruby 1.8.1 (2004-02-03) [i386-linux]