I have just committed a re-write of XPath/XPointer and *.find (calls  
to XPath). It is svn
revision 183. See if it fixes this problem.

Note, there is an incompatibility, the new XPath::Object class does  
not support .xpath method, but I could find no reason to carry it  
forward.

If it works, I'll roll it into a release.

Get it here:

svn checkout http://libxml.rubyforge.org/svn/branches/MEM2

You should end up with rev 183 or higher.

Dan

On Sep 20, 2007, at 13:21, Calvin Bascom wrote:

> I'm using the XML::Parser to parse XML data passed in as a string.   
> The
> parse works fine and my code then goes on to access elements and
> attributes in the resulting document.  If I use this code outside  
> of the
> Ruby on Rails environment, I never have any segfaults and everything
> works as expected.  For some reason when I call this code from  
> within a
> rails controller however, I get a segfault accessing an attribute.  If
> in my controller I disable garbage collection prior to executing this
> code and re-enable it afterwards, the segfault goes away.  I am using
> libxml version 0.5.1.0, ruby 1.8.6, and rails 1.2.3 on a Fedora Core 4
> machine.  I'm pretty new to Ruby so I don't know how to dig much  
> further
> into this, but if anyone has any suggestions based on the code and
> backtrace below, I'd be happy to experiment more to get to the  
> bottom of
> it.  I'm also not sure if this is a known issue or not... I found an
> archive post from Tue Sep 11 19:32:54 EDT 2007 that contains a very
> similar looking backtrace from some unit tests.
>
> Thanks in advance,
> Calvin
>
> require 'rubygems'
> require 'xml/libxml'
>
> module TAP
>   class Config
>
>     def initialize(data)
>       parser = XML::Parser.new
>       parser.string = data
>       @doc = parser.parse
>     end
>
>     def get_attribute(elem, attribute)
>       elem.property(attribute)
>     end
>
>     def each_tap(&block)
>       @doc.find('//rfx-list/rfx').each do |elem|
>         yield(elem)
>       end
>     end
>
>     def each_reader(&block)
>       @doc.find('//reader-table/reader-instance').each do |elem|
>         yield(elem)
>       end
>     end
>
>     def each_antenna(reader, &block)
>       xpath = '//reader-table/[EMAIL PROTECTED]"' + reader +
> '"]/read-point'
>       @doc.find(xpath).each do |elem|
>         yield(elem)
>       end
>     end
>
>     def facility_info(attribute)
>       elem = @doc.find('//facility-info').first
>       return elem.property(attribute)
>     end
>
>     def version_info(attribute)
>       elem = @doc.find('//global-config/version').first
>       return elem.property(attribute)
>     end
>
>     def port1_service_info(attribute)
>       elem = @doc.find('//port1-service').first
>       return elem.property(attribute)
>     end
>
>     def stats_service_info(attribute)
>       elem = @doc.find('//stats-service').first
>       return elem.property(attribute)
>     end
>
>     def tap_info_from_attrib(attrib, value, attrib2)
>       xpath = '//rfx-list/rfx[@' + attrib + '="' + value.to_s + '"]'
>       elem = @doc.find(xpath).first
>       return elem.property(attrib2) # This line is where the segfault
> always occurs
>     end
>
>   end
> end
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1208695104 (LWP 12060)]
> 0x00aaa327 in st_lookup (table=0x0, key=75257, value=0xbfb2af98) at  
> st.c:250
> 250         hash_val = do_hash(key, table);
> (gdb) where
> #0  0x00aaa327 in st_lookup (table=0x0, key=75257,  
> value=0xbfb2af98) at
> st.c:250
> #1  0x00a46009 in search_method (klass=3066535480, id=75257,
> origin=0xbfb2afc8) at eval.c:475
> #2  0x00a46066 in rb_get_method_body (klassp=0xbfb2afe8,  
> idp=0xbfb2aff4,
> noexp=0xbfb2aff8) at eval.c:496
> #3  0x00a520d0 in rb_call (klass=3066535480, recv=3066535500,  
> mid=75257,
> argc=1, argv=0xbfb2b020, scope=0, self=3066724260) at eval.c:6037
> #4  0x00a4e129 in rb_eval (self=3066724260, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #5  0x00a4f3ed in rb_eval (self=3066724260, n=Variable "n" is not  
> available.
> ) at eval.c:3391
> #6  0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #7  0x00a52106 in rb_call (klass=3064843440, recv=3066724260,
> mid=105513, argc=3, argv=0xbfb2b920, scope=0, self=3066881040) at
> eval.c:6062
> #8  0x00a4e129 in rb_eval (self=3066881040, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #9  0x00a4f216 in rb_eval (self=3066881040, n=Variable "n" is not  
> available.
> ) at eval.c:3638
> #10 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #11 0x00a4f80b in rb_eval (self=3066724260, n=Variable "n" is not  
> available.
> ) at eval.c:3252
> #12 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #13 0x00a557a2 in rb_yield (val=3067281580) at eval.c:5073
> #14 0x002d038d in ruby_xml_node_set_each (self=3066278320) at
> ruby_xml_node_set.c:70
> #15 0x00a470c7 in call_cfunc (func=0x2d0334 <ruby_xml_node_set_each>,
> recv=3066278320, len=Variable "len" is not available.
> ) at eval.c:5662
> #16 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #17 0x00a52106 in rb_call (klass=3064869880, recv=3066278320,  
> mid=3841,
> argc=0, argv=0x0, scope=0, self=3066724260) at eval.c:6062
> #18 0x00a4e129 in rb_eval (self=3066724260, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #19 0x00a50e99 in rb_eval (self=3066724260, n=Variable "n" is not  
> available.
> ) at eval.c:3177
> #20 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #21 0x00a52106 in rb_call (klass=3064843440, recv=3066724260,
> mid=105457, argc=0, argv=0x0, scope=0, self=3066881040) at eval.c:6062
> #22 0x00a4e129 in rb_eval (self=3066881040, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #23 0x00a50e99 in rb_eval (self=3066881040, n=Variable "n" is not  
> available.
> ) at eval.c:3177
> #24 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #25 0x00a52106 in rb_call (klass=3066957560, recv=3066881040,
> mid=109993, argc=0, argv=0x0, scope=0, self=3067187700) at eval.c:6062
> #26 0x00a4e129 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #27 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #28 0x00a4f80b in rb_eval (self=3064541760, n=Variable "n" is not  
> available.
> ) at eval.c:3252
> #29 0x00a50674 in rb_eval (self=3064541760, n=Variable "n" is not  
> available.
> ) at eval.c:3263
> #30 0x00a50a62 in rb_eval (self=3064541760, n=Variable "n" is not  
> available.
> ) at eval.c:3311
> #31 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #32 0x00a52106 in rb_call (klass=3084666240, recv=3064541760,  
> mid=55513,
> argc=1, argv=0xbfb2ec80, scope=0, self=3066957560) at eval.c:6062
> #33 0x00a4e129 in rb_eval (self=3066957560, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #34 0x00a5951d in block_pass (self=3066957560, node=0xb7d2c848) at
> eval.c:8871
> #35 0x00a4ec5a in rb_eval (self=3066957560, n=Variable "n" is not  
> available.
> ) at eval.c:3163
> #36 0x00a4ecb7 in rb_eval (self=3066957560, n=Variable "n" is not  
> available.
> ) at eval.c:3628
> #37 0x00a50674 in rb_eval (self=3066957560, n=Variable "n" is not  
> available.
> ) at eval.c:3263
> #38 0x00a50a62 in rb_eval (self=3066957560, n=Variable "n" is not  
> available.
> ) at eval.c:3311
> #39 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #40 0x00a52106 in rb_call (klass=3082903880, recv=3066957560,  
> mid=55513,
> argc=0, argv=0x0, scope=0, self=3067187700) at eval.c:6062
> #41 0x00a4e129 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #42 0x00a50e99 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3177
> #43 0x00a50674 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3263
> #44 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #45 0x00a52106 in rb_call (klass=3067292140, recv=3067187700,  
> mid=12585,
> argc=0, argv=0xbfb30fd4, scope=1, self=6) at eval.c:6062
> #46 0x00a52789 in rb_f_send (argc=0, argv=0xbfb30fd4, recv=3067187700)
> at eval.c:6110
> #47 0x00a470d6 in call_cfunc (func=0xa526e4 <rb_f_send>,
> recv=3067187700, len=Variable "len" is not available.
> ) at eval.c:5659
> #48 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #49 0x00a52106 in rb_call (klass=3086269600, recv=3067187700,  
> mid=4049,
> argc=1, argv=0xbfb30fd0, scope=1, self=3067187700) at eval.c:6062
> #50 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #51 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #52 0x00a52106 in rb_call (klass=3069491860, recv=3067187700,  
> mid=69129,
> argc=0, argv=0x0, scope=2, self=3067187700) at eval.c:6062
> #53 0x00a4f69e in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3468
> #54 0x00a4f3ed in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3391
> ---Type <return> to continue, or q <return> to quit---
> #55 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #56 0x00a52106 in rb_call (klass=3069373080, recv=3067187700,  
> mid=69097,
> argc=2, argv=0xbfb31e70, scope=1, self=3067187700) at eval.c:6062
> #57 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #58 0x00a4ecb7 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3628
> #59 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #60 0x00a4f80b in rb_eval (self=3067201880, n=Variable "n" is not  
> available.
> ) at eval.c:3252
> #61 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #62 0x00a52106 in rb_call (klass=3069246260, recv=3067201880,  
> mid=5265,
> argc=1, argv=0xbfb32ca0, scope=0, self=3067187700) at eval.c:6062
> #63 0x00a4e129 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #64 0x00a50e99 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3177
> #65 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #66 0x00a52106 in rb_call (klass=3069373080, recv=3067187700,  
> mid=69097,
> argc=2, argv=0xbfb335a0, scope=1, self=3067187700) at eval.c:6062
> #67 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #68 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #69 0x00a52106 in rb_call (klass=3069373080, recv=3067187700,  
> mid=68481,
> argc=0, argv=0x0, scope=2, self=3067187700) at eval.c:6062
> #70 0x00a4f69e in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3468
> #71 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #72 0x00a4f80b in rb_eval (self=3082623920, n=Variable "n" is not  
> available.
> ) at eval.c:3252
> #73 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #74 0x00a52106 in rb_call (klass=3082623820, recv=3082623920,  
> mid=57129,
> argc=0, argv=0x0, scope=0, self=3067187700) at eval.c:6062
> #75 0x00a4e129 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3447
> #76 0x00a50e99 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3177
> #77 0x00a4e04d in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3441
> #78 0x00a4f5d1 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3796
> #79 0x00a4e04d in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3441
> #80 0x00a4ecb7 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3628
> #81 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #82 0x00a52106 in rb_call (klass=3069373060, recv=3067187700,  
> mid=68377,
> argc=0, argv=0x0, scope=2, self=3067187700) at eval.c:6062
> #83 0x00a4f69e in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3468
> #84 0x00a50674 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3263
> #85 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #86 0x00a52106 in rb_call (klass=3069373020, recv=3067187700,  
> mid=63513,
> argc=0, argv=0xbfb36764, scope=1, self=6) at eval.c:6062
> #87 0x00a52789 in rb_f_send (argc=0, argv=0xbfb36764, recv=3067187700)
> at eval.c:6110
> #88 0x00a470d6 in call_cfunc (func=0xa526e4 <rb_f_send>,
> recv=3067187700, len=Variable "len" is not available.
> ) at eval.c:5659
> #89 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #90 0x00a52106 in rb_call (klass=3086269600, recv=3067187700,  
> mid=4049,
> argc=1, argv=0xbfb36760, scope=1, self=3067187700) at eval.c:6062
> #91 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #92 0x00a50a62 in rb_eval (self=3067187700, n=Variable "n" is not  
> available.
> ) at eval.c:3311
> #93 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #94 0x00a52106 in rb_call (klass=3069491860, recv=3067187700,  
> mid=69121,
> argc=3, argv=0xbfb370a0, scope=1, self=3067187700) at eval.c:6062
> #95 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #96 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #97 0x00a52106 in rb_call (klass=3069373080, recv=3067187700,  
> mid=71297,
> argc=3, argv=0xbfb37690, scope=1, self=3067187700) at eval.c:6062
> #98 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #99 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #100 0x00a52106 in rb_call (klass=3069365640, recv=3067187700,
> mid=30209, argc=2, argv=0xbfb37ca0, scope=0, self=3067292140) at  
> eval.c:6062
> #101 0x00a4e129 in rb_eval (self=3067292140, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #102 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #103 0x00a52106 in rb_call (klass=3069491740, recv=3067292140,
> mid=30209, argc=2, argv=0xbfb38290, scope=0, self=3066460360) at  
> eval.c:6062
> #104 0x00a4e129 in rb_eval (self=3066460360, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #105 0x00a4e04d in rb_eval (self=3066460360, n=Variable "n" is not
> available.
> ) at eval.c:3441
> #106 0x00a50674 in rb_eval (self=3066460360, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #107 0x00a50a62 in rb_eval (self=3066460360, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #108 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #109 0x00a52106 in rb_call (klass=3066460340, recv=3066460360,
> mid=49913, argc=3, argv=0xbfb391c0, scope=0, self=3066433580) at  
> eval.c:6062
> ---Type <return> to continue, or q <return> to quit---
> #110 0x00a4e129 in rb_eval (self=3066433580, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #111 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #112 0x00a557a2 in rb_yield (val=6) at eval.c:5073
> #113 0x00a4c071 in rb_ensure (b_proc=0xa5578c <rb_yield>, data1=6,
> e_proc=0x27e4c8 <rb_mutex_unlock>, data2=3066433460) at eval.c:5456
> #114 0x0027e5f2 in rb_mutex_synchronize (self=3066433460) at
> fastthread.c:526
> #115 0x00a470c7 in call_cfunc (func=0x27e5c0 <rb_mutex_synchronize>,
> recv=3066433460, len=Variable "len" is not available.
> ) at eval.c:5662
> #116 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #117 0x00a52106 in rb_call (klass=3082897400, recv=3066433460,
> mid=11689, argc=0, argv=0x0, scope=0, self=3066433580) at eval.c:6062
> #118 0x00a4e129 in rb_eval (self=3066433580, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #119 0x00a50e99 in rb_eval (self=3066433580, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #120 0x00a50674 in rb_eval (self=3066433580, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #121 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #122 0x00a52106 in rb_call (klass=3084096460, recv=3066433580,
> mid=30209, argc=2, argv=0xbfb3a820, scope=0, self=3083412160) at  
> eval.c:6062
> #123 0x00a4e129 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #124 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #125 0x00a557a2 in rb_yield (val=3066433580) at eval.c:5073
> #126 0x00a3614a in rb_ary_each (ary=3066433300) at array.c:1138
> #127 0x00a470c7 in call_cfunc (func=0xa3610c <rb_ary_each>,
> recv=3066433300, len=Variable "len" is not available.
> ) at eval.c:5662
> #128 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #129 0x00a52106 in rb_call (klass=3086238940, recv=3066433300,  
> mid=3841,
> argc=0, argv=0x0, scope=0, self=3083412160) at eval.c:6062
> #130 0x00a4e129 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #131 0x00a50e99 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #132 0x00a4df66 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:2919
> #133 0x00a4e3a7 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3101
> #134 0x00a50674 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #135 0x00a50a62 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #136 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #137 0x00a52106 in rb_call (klass=3081864000, recv=3083412160,
> mid=45561, argc=1, argv=0xbfb3c620, scope=1, self=3083412160) at  
> eval.c:6062
> #138 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #139 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #140 0x00a5d10a in rb_thread_start_0 (fn=0xa54a28 <rb_thread_yield>,
> arg=0xb6b314b8, th=0xaac5ce8) at eval.c:11878
> #141 0x00a46fc8 in call_cfunc (func=0xa5d190 <rb_thread_initialize>,
> recv=3065189580, len=Variable "len" is not available.
> ) at eval.c:5656
> #142 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #143 0x00a52106 in rb_call (klass=3086253940, recv=3065189580,  
> mid=2961,
> argc=1, argv=0xbfb3d3b0, scope=1, self=6) at eval.c:6062
> #144 0x00a52a0d in rb_obj_call_init (obj=3065189580, argc=1,
> argv=0xbfb3d3b0) at eval.c:7594
> #145 0x00a52a53 in rb_thread_s_new (argc=1, argv=0xbfb3d3b0,
> klass=3086253940) at eval.c:11991
> #146 0x00a470d6 in call_cfunc (func=0xa52a20 <rb_thread_s_new>,
> recv=3086253940, len=Variable "len" is not available.
> ) at eval.c:5659
> #147 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #148 0x00a52106 in rb_call (klass=3086253920, recv=3086253940,  
> mid=3353,
> argc=1, argv=0xbfb3d3b0, scope=0, self=3083412160) at eval.c:6062
> #149 0x00a4e129 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #150 0x00a50e99 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #151 0x00a4f216 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3638
> #152 0x00a50674 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #153 0x00a4e3a7 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3101
> #154 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #155 0x00a5d10a in rb_thread_start_0 (fn=0xa54a28 <rb_thread_yield>,
> arg=0xb6c104ec, th=0xa234868) at eval.c:11878
> #156 0x00a46fc8 in call_cfunc (func=0xa5d190 <rb_thread_initialize>,
> recv=3066103040, len=Variable "len" is not available.
> ) at eval.c:5656
> #157 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #158 0x00a52106 in rb_call (klass=3086253940, recv=3066103040,  
> mid=2961,
> argc=0, argv=0x0, scope=1, self=6) at eval.c:6062
> #159 0x00a52a0d in rb_obj_call_init (obj=3066103040, argc=0, argv=0x0)
> at eval.c:7594
> #160 0x00a52a53 in rb_thread_s_new (argc=0, argv=0x0,  
> klass=3086253940)
> at eval.c:11991
> #161 0x00a470d6 in call_cfunc (func=0xa52a20 <rb_thread_s_new>,
> recv=3086253940, len=Variable "len" is not available.
> ) at eval.c:5659
> #162 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #163 0x00a52106 in rb_call (klass=3086253920, recv=3086253940,  
> mid=3353,
> argc=0, argv=0x0, scope=0, self=3083412160) at eval.c:6062
> #164 0x00a4e129 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3447
> ---Type <return> to continue, or q <return> to quit---
> #165 0x00a50e99 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #166 0x00a4ef97 in rb_eval (self=3083412160, n=Variable "n" is not
> available.
> ) at eval.c:3648
> #167 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #168 0x00a52106 in rb_call (klass=3081864000, recv=3083412160,  
> mid=5137,
> argc=0, argv=0x0, scope=0, self=3083413260) at eval.c:6062
> #169 0x00a4e129 in rb_eval (self=3083413260, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #170 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #171 0x00a557a2 in rb_yield (val=3066103220) at eval.c:5073
> #172 0x00a658e9 in each_i (key=3083412000, value=3083412160) at  
> hash.c:1119
> #173 0x00a64c74 in hash_foreach_iter (key=3083412000,  
> value=3083412160,
> arg=0xbfb40118) at hash.c:170
> #174 0x00aaa9cf in st_foreach (table=0xa2e1100, func=0xa64c44
> <hash_foreach_iter>, arg=3216245016) at st.c:487
> #175 0x00a64d88 in hash_foreach_call (arg=0xbfb40118) at hash.c:205
> #176 0x00a4c071 in rb_ensure (b_proc=0xa64d60 <hash_foreach_call>,
> data1=3216245016, e_proc=0xa64cfc <hash_foreach_ensure>,  
> data2=3083412920)
>     at eval.c:5456
> #177 0x00a64df0 in rb_hash_foreach (hash=3083412920, func=0xa658bc
> <each_i>, farg=0) at hash.c:223
> #178 0x00a65918 in rb_hash_each (hash=3083412920) at hash.c:1147
> #179 0x00a470c7 in call_cfunc (func=0xa658f4 <rb_hash_each>,
> recv=3083412920, len=Variable "len" is not available.
> ) at eval.c:5662
> #180 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #181 0x00a52106 in rb_call (klass=3086235920, recv=3083412920,  
> mid=3841,
> argc=0, argv=0x0, scope=0, self=3083413260) at eval.c:6062
> #182 0x00a4e129 in rb_eval (self=3083413260, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #183 0x00a50e99 in rb_eval (self=3083413260, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #184 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #185 0x00a52106 in rb_call (klass=3081915660, recv=3083413260,  
> mid=5137,
> argc=0, argv=0x0, scope=0, self=3083476520) at eval.c:6062
> #186 0x00a4e129 in rb_eval (self=3083476520, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #187 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #188 0x00a52106 in rb_call (klass=3085655540, recv=3083476520,  
> mid=5137,
> argc=0, argv=0x0, scope=0, self=3083476960) at eval.c:6062
> #189 0x00a4e129 in rb_eval (self=3083476960, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #190 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #191 0x00a52106 in rb_call (klass=3082016240, recv=3083476960,  
> mid=5137,
> argc=1, argv=0xbfb41870, scope=0, self=3086264740) at eval.c:6062
> #192 0x00a4e129 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #193 0x00a5004f in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3008
> #194 0x00a5c29e in rb_load (fname=3084514580, wrap=0) at eval.c:6857
> #195 0x00a5c3a1 in rb_f_load (argc=1, argv=0xbfb424c0) at eval.c:6925
> #196 0x00a470d6 in call_cfunc (func=0xa5c35c <rb_f_load>,
> recv=3086264740, len=Variable "len" is not available.
> ) at eval.c:5659
> #197 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #198 0x00a52106 in rb_call (klass=3086269600, recv=3086264740,  
> mid=9737,
> argc=1, argv=0xbfb424c0, scope=3, self=6) at eval.c:6062
> #199 0x00a571d5 in rb_call_super (argc=1, argv=0xbfb424c0) at  
> eval.c:6230
> #200 0x00a4f57d in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3509
> #201 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #202 0x00a4f80b in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3252
> #203 0x00a50a62 in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #204 0x00a50a62 in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #205 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #206 0x00a52106 in rb_call (klass=3083950380, recv=3083950520,
> mid=41161, argc=1, argv=0xbfb43640, scope=0, self=3086264740) at  
> eval.c:6062
> #207 0x00a4e129 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #208 0x00a50e99 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #209 0x00a50674 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #210 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #211 0x00a52106 in rb_call (klass=3086269740, recv=3086264740,  
> mid=9737,
> argc=1, argv=0xbfb44250, scope=1, self=3086264740) at eval.c:6062
> #212 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #213 0x00a50a62 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #214 0x00a5c29e in rb_load (fname=3081847160, wrap=0) at eval.c:6857
> #215 0x00a5c729 in rb_require_safe (fname=3081851960, safe=0) at  
> eval.c:7213
> #216 0x00a5c9c3 in rb_f_require (obj=3086264740, fname=3081854840) at
> eval.c:7106
> #217 0x00a470b8 in call_cfunc (func=0xa5c9a0 <rb_f_require>,
> recv=3086264740, len=Variable "len" is not available.
> ) at eval.c:5665
> #218 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> ---Type <return> to continue, or q <return> to quit---
> #219 0x00a52106 in rb_call (klass=3086269620, recv=3086264740,
> mid=30129, argc=1, argv=0xbfb450c0, scope=1, self=3086264740) at  
> eval.c:6062
> #220 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #221 0x00a50674 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #222 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #223 0x00a52106 in rb_call (klass=3086269600, recv=3086264740,  
> mid=9745,
> argc=1, argv=0xbfb45a00, scope=3, self=6) at eval.c:6062
> #224 0x00a571d5 in rb_call_super (argc=1, argv=0xbfb45a00) at  
> eval.c:6230
> #225 0x00a4f57d in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3509
> #226 0x00a54501 in rb_yield_0 (val=Variable "val" is not available.
> ) at eval.c:4991
> #227 0x00a4f80b in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3252
> #228 0x00a50a62 in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #229 0x00a50a62 in rb_eval (self=3083950520, n=Variable "n" is not
> available.
> ) at eval.c:3311
> #230 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #231 0x00a52106 in rb_call (klass=3083950380, recv=3083950520,
> mid=41161, argc=1, argv=0xbfb46b80, scope=0, self=3086264740) at  
> eval.c:6062
> #232 0x00a4e129 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3447
> #233 0x00a50e99 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3177
> #234 0x00a50674 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #235 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #236 0x00a52106 in rb_call (klass=3086269740, recv=3086264740,  
> mid=9745,
> argc=1, argv=0xbfb47790, scope=1, self=3086264740) at eval.c:6062
> #237 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #238 0x00a5c29e in rb_load (fname=3084464920, wrap=0) at eval.c:6857
> #239 0x00a5c729 in rb_require_safe (fname=3086200040, safe=0) at  
> eval.c:7213
> #240 0x00a5c9c3 in rb_f_require (obj=3086264740, fname=3084651160) at
> eval.c:7106
> #241 0x00a470b8 in call_cfunc (func=0xa5c9a0 <rb_f_require>,
> recv=3086264740, len=Variable "len" is not available.
> ) at eval.c:5665
> #242 0x00a514dd in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5815
> #243 0x00a52106 in rb_call (klass=3086269620, recv=3086264740,
> mid=30129, argc=1, argv=0xbfb48210, scope=1, self=3086264740) at  
> eval.c:6062
> #244 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #245 0x00a50674 in rb_eval (self=3086264740, n=Variable "n" is not
> available.
> ) at eval.c:3263
> #246 0x00a51dbf in rb_call0 (klass=Variable "klass" is not available.
> ) at eval.c:5966
> #247 0x00a52106 in rb_call (klass=3086269600, recv=3086264740,  
> mid=9745,
> argc=1, argv=0xbfb48b10, scope=1, self=3086264740) at eval.c:6062
> #248 0x00a4e23f in rb_eval (self=Variable "self" is not available.
> ) at eval.c:3462
> #249 0x00a5b345 in ruby_exec_internal () at eval.c:1608
> #250 0x00a5b381 in ruby_exec () at eval.c:1628
> #251 0x00a5d29c in ruby_run () at eval.c:1638
> #252 0x08048669 in main (argc=Could not find the frame base for  
> "main".
> ) at main.c:48
>
> _______________________________________________
> libxml-devel mailing list
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel

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

Reply via email to