Re: [libxml-devel] Random crashes

2008-03-07 Thread Jon Burgess
On Fri, 2008-03-07 at 13:27 -0800, Sean Chittenden wrote: > > I have contemplated abandoning support, but I would rather not. Being > > the only coder makes it harder as ultimately every bug is my problem. > > But that is not the issue, ruby 1.8 is. I have considered moving to > > rubinius to see

Re: [libxml-devel] valgrind detects problem when setting attribute

2007-05-27 Thread Jon Burgess
On Sat, 2007-05-26 at 18:45 +0100, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Jon Burgess <[EMAIL PROTECTED]> wrote: > > > On Sat, 2007-05-26 at 10:52 +0100, Tom Hughes wrote: > > > > > In message <[EMAIL PROTECTED]> >

Re: [libxml-devel] valgrind detects problem when setting attribute to nil

2007-05-26 Thread Jon Burgess
On Sat, 2007-05-26 at 10:52 +0100, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > [EMAIL PROTECTED] (Jon Burgess) wrote: > > > When the attached code is run under valgrind I get the following error. > > > > ==13906== Invalid read of siz

[libxml-devel] valgrind detects problem when setting attribute to nil

2007-05-24 Thread Jon Burgess
When the attached code is run under valgrind I get the following error. ==13906== Invalid read of size 8 ==13906==at 0x6B4E13C: ruby_xml_attr_free (ruby_xml_attr.c:12) ==13906==by 0x3C2524A9CD: rb_gc_call_finalizer_at_exit (gc.c:1928) ==13906==by 0x3C2522FA92: ruby_finalize_1 (eval.c:

[libxml-devel] [patch] calling xmlFreeProp() for attributes

2007-05-24 Thread Jon Burgess
I noticed that the current code calls xmlFreeNode on attributes which looks wrong, surely this should be xmlFreeProp? Jon --- ext/xml/ruby_xml_attr.c~ 2007-05-25 00:13:43.0 +0100 +++ ext/xml/ruby_xml_attr.c 2007-05-25 00:13:56.0 +0100 @@ -14,7 +14,7 @@ rxa->attr->do