Hi Dmitri,

Well, after some looking around it seems to me that the problem appears in ruby_xml_parser.c
when calling
   rb_gc_mark(((rx_string_data *)rxp->data)->str);

Is it possible that ((rx_string_data *)rxp->data)->str is not a proper RVALUE? Or at least without proper ruby type?

Hmm, could be. I don't much like that code (the string,io and file handling) - I think its can be simplified a lot.

Anyway, do you have a test case? Or if not, do you know roughly what is causing this? Is this just a parser parsing a string, or maybe something more complicated is going on like a parser being reused?

Charlie

--
Charlie Savage
http://cfis.savagexi.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to