ruby-rdf / rdf-rdfxml

Ruby RDF/XML reader/writer for RDF.rb.
http://rubygems.org/gems/rdf-rdfxml
The Unlicense
17 stars 7 forks source link

method `==' called on unexpected T_NODE object (0xa40ebc4 flags=0x21c klass=0x0) #14

Closed jcoyne closed 11 years ago

jcoyne commented 12 years ago

method ==' called on unexpected T_NODE object (0xa40ebc4 flags=0x21c klass=0x0) /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:612:ininclude?' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:612:in nodeElementURI_c' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:532:inparse_subject' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:263:in nodeElement' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:193:inblock (2 levels)' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:239:in block in each' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:238:inupto' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:238:in each' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:188:inblock in each_st' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:239:in block in each' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:238:inupto' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/nokogiri-1.5.2/lib/nokogiri/xml/node_set.rb:238:in each' /home/hyrdadm/.rvm/gems/ruby-1.9.3-p125@tufts-election/gems/rdf-rdfxml-0.3.5/lib/rdf/rdfxml/reader.rb:180:ineach_statement'

This also seems to be intermittent, probably GC related.

gkellogg commented 11 years ago

I addressed some memory corruption issues in RDF.rb. Could you update and try again? Otherwise, a test case would be useful.