From: Tilman Giese Date: 2008-12-16T04:25:25+09:00 Subject: [ruby-core:20583] [Bug #890] Segmentation fault when block is passed to yield Bug #890: Segmentation fault when block is passed to yield http://redmine.ruby-lang.org/issues/show/890 Author: Tilman Giese Status: Open, Priority: Normal Category: core Source ------ def m yield 5 do puts 'yield with block' end end Output ------ ./ruby: [BUG] Segmentation fault ruby 1.9.1 (2008-12-16 revision 20768) [x86_64-linux] -- control frame ---------- c:0002 p:1906655416 s:0004 b:0004 l:000003 d:000003 TOP c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP --------------------------- -- backtrace of native function call (Use addr2line) -- 0xb1472995580 0xb14729caba4 0xb14729caca6 0xb147293eaee 0x2d60d7763fe0 0xb14728ef3a5 0xb14728fbaa6 0xb14729064ab 0xb147299c66d 0xb14728ef6d3 0xb14728efb2c 0xb147293c494 0xb14728b54fb 0xb147293cacb 0xb147293d60e 0xb147299194c 0xb147293d9bd 0xb14728b5f4a 0xb14728b3d37 0x2d60d8258b76 0xb14728b3c39 ------------------------------------------------------- Aborted ---------------------------------------- http://redmine.ruby-lang.org