#253: Fibers are unsupported --------------------------------+------------------------------------------- Reporter: jvoor...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: fiber segfault --------------------------------+------------------------------------------- An example of macruby 0.4 segfaulting on Fibers follows. Matt Aimonetti reports similar findings at http://lists.macosforge.org/pipermail/macruby- devel/2009-May/001717.html, including a failure to require 'fiber' in the 0.5 branch.
~ % macruby -v MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64] ~ % macruby -e 'Fiber.new{puts"hey"}.resume' hey -e:1: [BUG] Segmentation fault MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64] -- stack frame ------------ 0000 (0xc08000060): 00000004 0001 (0xc08000068): 00000000 0002 (0xc08000070): 00000004 0003 (0xc08000078): 00000000 0004 (0xc08000080): 00000004 0005 (0xc08000088): 8000867c0 0006 (0xc08000090): 800030800 0007 (0xc08000098): 00000004 0008 (0xc080000a0): 00000000 <- lfp <- dfp -- control frame ---------- c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :resume c:0003 p:0019 s:0006 b:0006 l:002348 d:002348 TOP -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited: c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP --------------------------- DBG> : "-e:1:in `resume'" DBG> : "-e:1:in `<main>'" -- backtrace of native function call (Use addr2line) -- 0x10010f301 0x100029544 0x100029628 0x1000c245d 0x7fff82bf13aa 0x7fff5fc328d8 ------------------------------------------------------- zsh: abort macruby -e 'Fiber.new{puts"hey"}.resume' -- Ticket URL: <http://www.macruby.org/trac/ticket/253> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel