-517611318:Fixnum ... WTF?

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 M.
Chief Technologist
E Factor Media // FN Interactive
[email protected]
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 :slight_smile:

/B

On 19/01/06, Kyle M. [email protected] wrote:


Bruno M. [email protected]
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 Jan 18, 2006, at 5:07 PM, David F. 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 H. - [email protected] - http://segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com