passenger - bignum too big to convert into `long'

3 views
Skip to first unread message

Dietrich Speer

unread,
Aug 17, 2009, 5:00:25 PM8/17/09
to rubyonra...@googlegroups.com
I have a very strange problem and can't seem to figure it out.

I have passenger 2.2.4 and apache 2.2 running a rails application.

It ran fine for weeks when I decided to update Apache. I might also have
messed with the users on this machine (OS X 10.5)

Now when I start it, Apache starts up fine, loads passenger, and
everything looks good.

Then, after a while ( and I don't know how long), when I just refresh
any page, I get:

bignum too big to convert into `long'

No entry in either log.

Research this a little, I found that a bug in ruby doesn't handle
switching users well - a negative UID is read as a big number, which
then throws this error.

Looking into my user list, I can find only one negative UID -
'unprivileged user'. I might be able to switch this to a different UID,
but would that not open a security hole? Also - why is this user even
used?

Has anybody else seen this before, and how did you fix it?

Greatful for any help.

Dietrich
--
Posted via http://www.ruby-forum.com/.

Conrad Taylor

unread,
Aug 17, 2009, 10:24:38 PM8/17/09
to rubyonra...@googlegroups.com
Dietrich, is it possible for you to generate a minimal test case
that reproduces this issue?

-Conrad

Dietrich Speer

unread,
Aug 18, 2009, 11:09:52 AM8/18/09
to rubyonra...@googlegroups.com

>
> Dietrich, is it possible for you to generate a minimal test case
> that reproduces this issue?
>
> -Conrad

That's a great idea - I need to try that

Reply all
Reply to author
Forward
0 new messages