I''m getting occasional errors that look like: Some method called for -517611318:Fixnum The method is constantly changing, and this error happens on ~5% of the page loads on my Mac Tiger development box. It''s happening on Ruby 1.8.2, and 1.8.4 compiled from source. I haven''t seen it on my Linux production boxes. I was wondering if anyone had seen this before? -- Kyle Maxwell Chief Technologist E Factor Media // FN Interactive kyle@efactormedia.com 1-866-263-3261
Yes, I''ve seen that when doing many many operations per second on a "development" instance. When I change it to "production" it goes away. I haven''t really had time to track this down, so when I am loading the data for my dev instance, I usually change the ENV to "production", dump and reload the data from the DB and then start over in "development" ... Not very smart but works for me :-) /B On 19/01/06, Kyle Maxwell <kyle@kylemaxwell.com> wrote:> I''m getting occasional errors that look like: > > Some method called for -517611318:Fixnum > > The method is constantly changing, and this error happens on ~5% of > the page loads on my Mac Tiger development box. It''s happening on > Ruby 1.8.2, and 1.8.4 compiled from source. I haven''t seen it on my > Linux production boxes. I was wondering if anyone had seen this > before? > > -- > Kyle Maxwell > Chief Technologist > E Factor Media // FN Interactive > kyle@efactormedia.com > 1-866-263-3261 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Bruno Mattarollo <bruno.mattarollo@gmail.com> Currently in: Sydney, Australia
Apparently this can happen if you''ve compiled ruby using GCC 4.0. Run ''gcc_select 3.3'' and recompile/reinstall, it should remove the problem. Don''t forget to run ''gcc_select 4.0'' afterwards though! Cheers, -DF On 1/19/06, Kyle Maxwell <kyle@kylemaxwell.com> wrote:> I''m getting occasional errors that look like: > > Some method called for -517611318:Fixnum > > The method is constantly changing, and this error happens on ~5% of > the page loads on my Mac Tiger development box. It''s happening on > Ruby 1.8.2, and 1.8.4 compiled from source. I haven''t seen it on my > Linux production boxes. I was wondering if anyone had seen this > before? > > -- > Kyle Maxwell > Chief Technologist > E Factor Media // FN Interactive > kyle@efactormedia.com > 1-866-263-3261 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
On Jan 18, 2006, at 5:07 PM, David Felstead wrote:> Apparently this can happen if you''ve compiled ruby using GCC 4.0. Run > ''gcc_select 3.3'' and recompile/reinstall, it should remove the > problem. Don''t forget to run ''gcc_select 4.0'' afterwards though!This is not a guaranteed fix, GCC 4 just makes the problem more easy to encounter. See the ruby-core archives. Also note you may have linking problems with libraries built using a different version of GCC. -- Eric Hodel - drbrain@segment7.net - http://segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com