From: KOSAKI Motohiro Date: 2011-07-23T08:57:37+09:00 Subject: [ruby-core:38412] Re: [Ruby 1.9 - Bug #5003] Enumerator#next segfaults in OS X Lion (10.7) > I tired applying the diff from r32201 to 1.9.2p290, and while it mostly works, and seems to fix this problem, it also causes another. �In our rails app, which used to work just fine on 1.9.2p290 on OS X Snow Leopard, I get the following error running a rails console: > > > /Users/mconway/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:21:in `': uninitialized fiber (FiberError) > � � � �from script/rails:10:in `require' > � � � �from script/rails:10:in `
' > > I built on OS X Lion, using rvm 1.6.25, and XCode 4.1 (4B110) (/usr/bin/gcc) > Not sure if the patch is just not compatible with 1.9.2 branch, or if something else is going on. �A vanilla rails app loads just fine, so could be something in our stack - just weird that it used to work before this patch. I think your issue is the same with [Bug #5082]. we now tracking by another ticket. If you want to know our Lion activity, please track aggregated ticket [Bug #5076]. In fact, XCode4.1 gcc is NOT truth gcc. it's gcc-llvm. and llvm optimization seems have a lot of over optimization issue. I recommend to use gcc-4.2 (i.e. true gcc) instead until we finish our llvm adoption. Thanks.