Bugs item #26672, was opened at 2009-07-20 07:06 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=26672&group_id=494
Category: None Group: None Status: Open >Resolution: Accepted Priority: 3 Submitted By: Thomas Preymesser (thopre) >Assigned to: Charlie Savage (cfis) Summary: Segmentation fault Initial Comment: /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:6: [BUG] Segmentation fault ruby 1.9.2dev (2009-07-20 trunk 24213) [i686-linux] -- control frame ---------- c:0032 p:0014 s:0137 b:0135 l:000120 d:000134 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:6 c:0031 p:---- s:0131 b:0131 l:000130 d:000130 FINISH c:0030 p:---- s:0129 b:0129 l:000124 d:000128 IFUNC :hash c:0029 p:---- s:0127 b:0127 l:000126 d:000126 CFUNC :each c:0028 p:---- s:0125 b:0125 l:000124 d:000124 CFUNC :inject c:0027 p:0013 s:0121 b:0121 l:000120 d:000120 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:5 c:0026 p:0461 s:0118 b:0117 l:000082 d:000116 BLOCK /home/tp/ruby-test/roo/lib/roo/excelx.rb:448 c:0025 p:0028 s:0106 b:0106 l:000097 d:000105 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:112 c:0024 p:---- s:0103 b:0103 l:000102 d:000102 FINISH c:0023 p:---- s:0101 b:0101 l:000100 d:000100 CFUNC :each c:0022 p:0011 s:0098 b:0098 l:000097 d:000097 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:111 c:0021 p:0148 s:0095 b:0095 l:000082 d:000094 BLOCK /home/tp/ruby-test/roo/lib/roo/excelx.rb:407 c:0020 p:---- s:0088 b:0088 l:000087 d:000087 FINISH c:0019 p:---- s:0086 b:0086 l:000085 d:000085 CFUNC :each c:0018 p:0144 s:0083 b:0083 l:000082 d:000082 METHOD /home/tp/ruby-test/roo/lib/roo/excelx.rb:395 c:0017 p:0035 s:0077 b:0077 l:000076 d:000076 METHOD /home/tp/ruby-test/roo/lib/roo/excelx.rb:153 c:0016 p:0018 s:0063 b:0061 l:000053 d:000060 BLOCK /home/tp/ruby-test/roo/test/test_roo.rb:1004 c:0015 p:0217 s:0058 b:0058 l:000057 d:000057 METHOD /home/tp/ruby-test/roo/test/test_roo.rb:157 c:0014 p:0021 s:0054 b:0054 l:000053 d:000053 METHOD /home/tp/ruby-test/roo/test/test_roo.rb:1003 c:0013 p:0062 s:0051 b:0051 l:000050 d:000050 METHOD /usr/local/lib/ruby/1.9.1/minitest/unit.rb:458 c:0012 p:0109 s:0045 b:0045 l:000044 d:000044 METHOD /home/tp/ruby-test/roo/test/test_roo.rb:99 c:0011 p:0090 s:0037 b:0037 l:000018 d:000036 BLOCK /usr/local/lib/ruby/1.9.1/minitest/unit.rb:426 c:0010 p:---- s:0032 b:0032 l:000031 d:000031 FINISH c:0009 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :each c:0008 p:0026 s:0027 b:0027 l:000018 d:000026 BLOCK /usr/local/lib/ruby/1.9.1/minitest/unit.rb:420 c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each c:0005 p:0080 s:0019 b:0019 l:000018 d:000018 METHOD /usr/local/lib/ruby/1.9.1/minitest/unit.rb:419 c:0004 p:0153 s:0014 b:0014 l:000013 d:000013 METHOD /usr/local/lib/ruby/1.9.1/minitest/unit.rb:393 c:0003 p:0041 s:0007 b:0007 l:0014f4 d:000006 BLOCK /usr/local/lib/ruby/1.9.1/minitest/unit.rb:334 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000654 d:000654 TOP --------------------------- /usr/local/lib/ruby/1.9.1/minitest/unit.rb:334:in `block in autorun' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:393:in `run' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:419:in `run_test_suites' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:419:in `each' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:420:in `block in run_test_suites' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:420:in `each' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:426:in `block (2 levels) in run_test_suites' /home/tp/ruby-test/roo/test/test_roo.rb:99:in `run' /usr/local/lib/ruby/1.9.1/minitest/unit.rb:458:in `run' /home/tp/ruby-test/roo/test/test_roo.rb:1003:in `test_seiten_als_date' /home/tp/ruby-test/roo/test/test_roo.rb:157:in `with_each_spreadsheet' /home/tp/ruby-test/roo/test/test_roo.rb:1004:in `block in test_seiten_als_date' /home/tp/ruby-test/roo/lib/roo/excelx.rb:153:in `cell' /home/tp/ruby-test/roo/lib/roo/excelx.rb:395:in `read_cells' /home/tp/ruby-test/roo/lib/roo/excelx.rb:395:in `each' /home/tp/ruby-test/roo/lib/roo/excelx.rb:407:in `block in read_cells' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:111:in `each_element' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:111:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:112:in `block in each_element' /home/tp/ruby-test/roo/lib/roo/excelx.rb:448:in `block (2 levels) in read_cells' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:5:in `to_h' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:5:in `inject' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:5:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml/attributes.rb:6:in `block in to_h' -- C level backtrace information ------------------------------------------- /usr/local/bin/ruby(rb_vm_bugreport+0xb5) [0x81652f5] /usr/local/bin/ruby [0x81a0d7b] /usr/local/bin/ruby(rb_bug+0x28) [0x81a0e08] /usr/local/bin/ruby [0x80fa015] [0xb7f71410] /usr/local/bin/ruby(rb_method_entry+0x56) [0x8152576] /usr/local/bin/ruby [0x815be1f] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby [0x8163d88] /usr/local/bin/ruby(rb_yield_values+0x7a) [0x816444a] /usr/local/bin/ruby [0x819ca15] /usr/local/bin/ruby [0x8163f51] /usr/local/bin/ruby(rb_yield+0x4f) [0x81640ff] /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml_ruby.so [0xb7c60d5b] /usr/local/bin/ruby [0x815db6a] /usr/local/bin/ruby [0x815dfc9] /usr/local/bin/ruby [0x81616dd] /usr/local/bin/ruby(rb_iterate+0x128) [0x8151708] /usr/local/bin/ruby(rb_block_call+0x3f) [0x81517af] /usr/local/bin/ruby [0x819b912] /usr/local/bin/ruby [0x815132d] /usr/local/bin/ruby [0x8151467] /usr/local/bin/ruby [0x8161a75] /usr/local/bin/ruby [0x8155ce5] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby [0x8163d88] /usr/local/bin/ruby(rb_yield+0x4f) [0x81640ff] /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml_ruby.so [0xb7c625c3] /usr/local/bin/ruby [0x8151467] /usr/local/bin/ruby [0x8161a75] /usr/local/bin/ruby [0x8155ce5] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby [0x8163d88] /usr/local/bin/ruby(rb_yield+0x4f) [0x81640ff] /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml_ruby.so [0xb7c5f5c0] /usr/local/bin/ruby [0x8151467] /usr/local/bin/ruby [0x8161a75] /usr/local/bin/ruby [0x8155ce5] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby [0x8163d88] /usr/local/bin/ruby(rb_yield+0x4f) [0x81640ff] /usr/local/bin/ruby(rb_ary_each+0x41) [0x8173b81] /usr/local/bin/ruby [0x8151467] /usr/local/bin/ruby [0x8161a75] /usr/local/bin/ruby [0x8155ce5] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby [0x8163d88] /usr/local/bin/ruby(rb_yield+0x4f) [0x81640ff] /usr/local/bin/ruby(rb_ary_each+0x41) [0x8173b81] /usr/local/bin/ruby [0x8151467] /usr/local/bin/ruby [0x8161a75] /usr/local/bin/ruby [0x8155ce5] /usr/local/bin/ruby [0x815c5f2] /usr/local/bin/ruby(rb_vm_invoke_proc+0x246) [0x815d826] /usr/local/bin/ruby(rb_proc_call+0x47) [0x8060a17] /usr/local/bin/ruby(rb_call_end_proc+0x1a) [0x805d77a] /usr/local/bin/ruby(rb_exec_end_proc+0x19c) [0x805eaec] /usr/local/bin/ruby [0x805eb87] /usr/local/bin/ruby(ruby_cleanup+0x87) [0x805ec47] /usr/local/bin/ruby(ruby_run_node+0x4e) [0x805ef1e] /usr/local/bin/ruby(main+0x60) [0x805ca50] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7d8e775] /usr/local/bin/ruby [0x805c951] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Aborted ---------------------------------------------------------------------- >Comment By: Charlie Savage (cfis) Date: 2011-04-22 22:57 Message: Can you try this in the latest release - I believe it is fixed. Thanks - Charlie ---------------------------------------------------------------------- Comment By: Thomas Preymesser (thopre) Date: 2009-07-22 07:02 Message: the error can be reproduced if you install my gem 'roo' (v. 1.3.8), replace the test_roo.rb file with the test_roo.rb file in the attachment and then run 'ruby test/test_roo.rb' from the root directory of the gem. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=26672&group_id=494 _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel