From: Cezary Baginski Date: 2010-08-21T03:35:53+09:00 Subject: [ruby-core:31804] [Bug #3722] segfault in rb_iterate (1.9.3, r29057) Issue #3722 has been updated by Cezary Baginski. I started tearing everything apart and came up with this minimal case: % ruby --version ruby 1.9.3dev (2010-08-19 trunk 29056) [x86_64-linux] % cat fail.rb require 'profile' class A include Enumerable def each yield 1 end end A.new.any? { true } % ruby fail.rb fail.rb: [BUG] cfp consistency error - send ruby 1.9.3dev (2010-08-19 trunk 29056) [x86_64-linux] -- control frame ---------- c:0001 p:0000 s:0002 b:0002 l:002598 d:002598 TOP --------------------------- -- C level backtrace information ------------------------------------------- ruby() [0x52af54] ruby() [0x565192] ruby(rb_bug+0xcf) [0x565298] ruby() [0x514c98] ruby() [0x5152f1] ruby() [0x51a9b3] ruby() [0x527a23] ruby() [0x52844d] ruby() [0x41786f] ruby(ruby_exec_node+0x24) [0x417982] ruby(ruby_run_node+0x3e) [0x417955] ruby() [0x416111] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f84bb51ac4d] ruby() [0x415fe9] [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 [1] 15653 abort ruby fail.rb ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3722 ---------------------------------------- http://redmine.ruby-lang.org