Dan, Finally I got around to trying my unit tests with gdb and libxml-ruby-0.5.1.0
Here is the gdb output: (gdb) run tests/generate.rb Starting program: /usr/bin/ruby tests/generate.rb (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1210980160 (LWP 5975)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Loaded suite tests/generate Started Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210980160 (LWP 5975)] 0xb7f67d03 in st_lookup () from /usr/lib/libruby1.8.so.1.8 (gdb) where #0 0xb7f67d03 in st_lookup () from /usr/lib/libruby1.8.so.1.8 #1 0xb7efd71c in rb_thread_local_aref () from /usr/lib/libruby1.8.so.1.8 #2 0xb7efd77d in rb_thread_local_aref () from /usr/lib/libruby1.8.so.1.8 #3 0xb7f058c3 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #4 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #5 0xb7f0be22 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #6 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #7 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #8 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #9 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #10 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #11 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #12 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #13 0xb7f0d39e in rb_apply () from /usr/lib/libruby1.8.so.1.8 #14 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #15 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #16 0xb7c89fdf in ruby_xml_node_set_each () from /usr/lib/ruby/1.8/xml/libxml_so.so #17 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #18 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #19 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #20 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #21 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #22 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #23 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #24 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 #25 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #26 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #27 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #28 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #29 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #30 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #31 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #32 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #33 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #34 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #35 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #36 0xb7f05c07 in rb_obj_call_init () from /usr/lib/libruby1.8.so.1.8 #37 0xb7f3357a in rb_class_new_instance () from /usr/lib/libruby1.8.so.1.8 #38 0xb7efd168 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #39 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #40 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #41 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #42 0xb7f0be22 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #43 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #44 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #45 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #46 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #47 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #48 0xb7f0cbc2 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #49 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #50 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 ---Type <return> to continue, or q <return> to quit--- #51 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #52 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #53 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #54 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #55 0xb7f0d39e in rb_apply () from /usr/lib/libruby1.8.so.1.8 #56 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #57 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #58 0xb7c89fdf in ruby_xml_node_set_each () from /usr/lib/ruby/1.8/xml/libxml_so.so #59 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #60 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #61 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #62 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #63 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #64 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #65 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #66 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 #67 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #68 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #69 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #70 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #71 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #72 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #73 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #74 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #75 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #76 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #77 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #78 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #79 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #80 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #81 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #82 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #83 0xb7f0d34f in rb_apply () from /usr/lib/libruby1.8.so.1.8 #84 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #85 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #86 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #87 0xb7f0be22 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #88 0xb7f0da01 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #89 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #90 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #91 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #92 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #93 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #94 0xb7f0cbc2 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #95 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #96 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #97 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #98 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #99 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #100 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #101 0xb7f0d39e in rb_apply () from /usr/lib/libruby1.8.so.1.8 ---Type <return> to continue, or q <return> to quit--- #102 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #103 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #104 0xb7c89fdf in ruby_xml_node_set_each () from /usr/lib/ruby/1.8/xml/libxml_so.so #105 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #106 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #107 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #108 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #109 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #110 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #111 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #112 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 #113 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #114 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #115 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #116 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #117 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #118 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #119 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #120 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #121 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #122 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #123 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #124 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #125 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #126 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #127 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #128 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #129 0xb7f0d57d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #130 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #131 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #132 0xb7f0d336 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #133 0xb7f0cbc2 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #134 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #135 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #136 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #137 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #138 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #139 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #140 0xb7f0d39e in rb_apply () from /usr/lib/libruby1.8.so.1.8 #141 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #142 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #143 0xb7c89fdf in ruby_xml_node_set_each () from /usr/lib/ruby/1.8/xml/libxml_so.so #144 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #145 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #146 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #147 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #148 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #149 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #150 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #151 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 ---Type <return> to continue, or q <return> to quit--- #152 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #153 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #154 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #155 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #156 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #157 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #158 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #159 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #160 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #161 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #162 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #163 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #164 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #165 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #166 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #167 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #168 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #169 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #170 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #171 0xb7f0cbc2 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #172 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #173 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #174 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #175 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #176 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #177 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #178 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #179 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #180 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #181 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #182 0xb7f0be22 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #183 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #184 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #185 0xb7f0b22b in Init_Thread () from /usr/lib/libruby1.8.so.1.8 #186 0xb7efd168 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #187 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #188 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #189 0xb7f0d725 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #190 0xb7f0e0de in rb_apply () from /usr/lib/libruby1.8.so.1.8 #191 0xb7f0e443 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #192 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #193 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #194 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #195 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #196 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #197 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #198 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #199 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 #200 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #201 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #202 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #203 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 ---Type <return> to continue, or q <return> to quit--- #204 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #205 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #206 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #207 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #208 0xb7f0f18d in rb_apply () from /usr/lib/libruby1.8.so.1.8 #209 0xb7f0c9f4 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #210 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #211 0xb7f116e1 in rb_yield () from /usr/lib/libruby1.8.so.1.8 #212 0xb7eea171 in rb_ary_each () from /usr/lib/libruby1.8.so.1.8 #213 0xb7efd155 in rb_provide () from /usr/lib/libruby1.8.so.1.8 #214 0xb7f04c44 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #215 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #216 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #217 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #218 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #219 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #220 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #221 0xb7f0ea3a in rb_apply () from /usr/lib/libruby1.8.so.1.8 #222 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #223 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #224 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #225 0xb7f0d34f in rb_apply () from /usr/lib/libruby1.8.so.1.8 #226 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #227 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #228 0xb7f0d336 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #229 0xb7f0d34f in rb_apply () from /usr/lib/libruby1.8.so.1.8 #230 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #231 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #232 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #233 0xb7f0d34f in rb_apply () from /usr/lib/libruby1.8.so.1.8 #234 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #235 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #236 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #237 0xb7f0d510 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #238 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #239 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #240 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #241 0xb7f054c7 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #242 0xb7f05908 in rb_iter_break () from /usr/lib/libruby1.8.so.1.8 #243 0xb7f0d5ff in rb_apply () from /usr/lib/libruby1.8.so.1.8 #244 0xb7f0d6a3 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #245 0xb7f102a6 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #246 0xb7f10e8f in rb_apply () from /usr/lib/libruby1.8.so.1.8 #247 0xb7f11036 in rb_apply () from /usr/lib/libruby1.8.so.1.8 #248 0xb7f07c3f in rb_exec_end_proc () from /usr/lib/libruby1.8.so.1.8 #249 0xb7f07da7 in rb_exec_end_proc () from /usr/lib/libruby1.8.so.1.8 #250 0xb7f081ce in ruby_cleanup () from /usr/lib/libruby1.8.so.1.8 #251 0xb7f0839d in ruby_stop () from /usr/lib/libruby1.8.so.1.8 #252 0xb7f13181 in ruby_run () from /usr/lib/libruby1.8.so.1.8 #253 0x080486bd in main () (gdb) I get very similar stack traces from 3 out of 4 of my unit test runs. The other appears to work. They all appear to run fine on the standard version of the library. I will try to build a small reproducible test case but it may take a while. __ Marc On Thu, 2007-30-08 at 20:13 -0400, Dan Janowski wrote: > Marc, > > No surprise here! Hopefully your app is using features outside of > what I have touched. Hope is easy to have without facts, however. > Since SEGV usually leaves core stacks in ruins, try running this from > gdb and report back where it is broken. It will be good if you edit > the ext/xml/Makefile and add '-g -ggdb' to CFLAGS (which should be > about line 40) and recompile before gdb. Please include the stack > trace (gdb: where). If it is somewhere in the GC, then maybe you can > isolate what feature use is causing it on the ruby side and reproduce > it in a smallish script. > > Thanks for trying! > > Dan
signature.asc
Description: This is a digitally signed message part
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel