Dan, Took me a while to try it out. It still segfaults, while the gem version (0.3.9.1, I think) does not. Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ce78c0 (LWP 19967)]
0xb7cb21a7 in ruby_xml_xpath_object_mark (xpop=0x8fff4b0)
at ruby_xml_xpath_object.c:22
22 for (i=0; i<xpop->nodesetval->nodeNr; i++) {
(gdb) bt
#0 0xb7cb21a7 in ruby_xml_xpath_object_mark (xpop=0x8fff4b0)
at ruby_xml_xpath_object.c:22
#1 0xb7ee3940 in ?? () from /usr/lib/libruby1.8.so.1.8
#2 0x08fff4b0 in ?? ()
#3 0x080caf38 in ?? ()
#4 0xbfc683a8 in ?? ()
#5 0xb7ee3d4e in ?? () from /usr/lib/libruby1.8.so.1.8
#6 0xb7ee4b29 in rb_newobj () from /usr/lib/libruby1.8.so.1.8
#7 0xb7ee3f29 in ?? () from /usr/lib/libruby1.8.so.1.8
#8 0xb7ee33a4 in ruby_stack_check () from /usr/lib/libruby1.8.so.1.8
#9 0xb7ee4131 in ?? () from /usr/lib/libruby1.8.so.1.8
#10 0xbfc683e8 in ?? ()
#11 0xbfc9f7e4 in ?? ()
#12 0x080c99b8 in ?? ()
#13 0x00003a67 in ?? ()
#14 0x00000000 in ?? ()
If you need it, I can probably package up my code for you though I
suspect it will not break in the same way on a different machine. I am
also happy to try to perform more debugging for you remotely.
Let me know what I can do.
__
Marc
signature.asc
Description: This is a digitally signed message part
_______________________________________________ libxml-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/libxml-devel
