From: "Sebastian W." Date: 2008-11-22T10:09:27+09:00 Subject: libxml-ruby segfault on CentOS 5 (64 bit) Hello all, Wondering if anyone has had issues with libxml-ruby segfaulting on 64-bit CentOS 5. This problem is reproducible both using the yum installed version of Ruby (1.8.5) and Ruby 1.8.7-p72 (compiled from source). I'm at my wits end here -- the problem seems to be reproducible only on 64 bit linux. -bash-3.1$ ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] -bash-3.1$ uname -a Linux myhost 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux -bash-3.1$ rake all (in /path/to/my/rake/file) my_script_which_uses_libxml_ruby.rb:65: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [x86_64-linux] I'm not really sure where to begin in asking for help -- I've never had this kind of issue before. The offending method looks as follows: def set_cdata_client_mapping_by_name(name, cdata) node = get_vcs_root_by_name(name) client_mapping = node.first.find("param[@name='client-mapping']") client_mapping.first.first.remove! #Segfault here - this is line 65 client_mapping.first.child_add XML::Node.new_cdata(cdata) end Anyone have any insight? I would be very grateful. -- Posted via http://www.ruby-forum.com/.