From: "T. Onoma" Date: 2004-09-09T13:54:58+09:00 Subject: Re: fastcgi & continuations (Re: Idea: Webshare) Hmm...you may want to take this up on ruby-core. T. On Wednesday 08 September 2004 11:18 pm, Patrick May wrote: > > This seems to be a powerpc bug. Here is a more simple example: > > continuation = [] > at_exit{ > puts 'at_exit' > continuation[0].call unless continuation[0].nil? > } > callcc{ |c| > continuation[0] = c > } > puts 'running' > > This code runs in the expected continuous loop on linux. On my mac > (10.2) I get the error: > > [~/programming/narf] patsplat% ruby bug.rb > running > at_exit > running > bug.rb:9: compile error (SyntaxError) > bug.rb:9: [BUG] Bus Error > ruby 1.8.1 (2003-12-25) [powerpc-darwin] > > Abort > [~/programming/narf] patsplat% > > Does this happen on any other platform? Is this an OS X limitation? > > Cheers, > > Patrick -- T.