Sha256: 528af9aaf67a1e3d8605bcb488f71c35e236e8b533cdc6604ef9bad007dddf82

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

require 'libxml'

x = LibXML::XML::Parser.string("<root />").parse
r1 = x.find("/root") # if you comment out this line, script will NOT segfault
puts r1.object_id
r2 = x.find("/root")#.length  # segfault occurs here
puts puts r2.object_id

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-0.9.3-x86-mswin32-60 test/test.rb
libxml-ruby-0.9.3 test/test.rb