Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th October 2007, 10:16 PM
kevwil Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
latest Ruby update broken?

This morning, I updated my Fedora 6 64-bit VPS. This update upgraded
my Ruby install to 1.8.5 patch114. The Rails version is the latest
release - 1.2.4.

Following this update, I recompiled (gem install xxx) all my gems
which use C extensions (mongrel, postgres, etc.).

I now have the following error log entries all the time, and my blog won't render any content. Any ideas would be greatly appreciated.



Code:
Processing ArticlesController#index (for 216.148.96.254 at 2007-10-09 16:59:23) [GET]
  Parameters: {"action"=>"index", "controller"=>"articles"}
Filter chain halted as [#<Proc:0x00002b8aae3edbe0@/var/rails/almostserio.us/current/config/../vendor/rails/actionpack/lib/action_controller/filters.rb:597>] did not yield.


NoMemoryError (negative allocation size (or too big)):
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:86:in `sprintf'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:86:in `active_record_runtime'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
    /vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
    /vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
    /vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in `process'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `synchronize'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `process'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in `process_client'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `process_client'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `initialize'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `new'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `initialize'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in `run'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `each'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `run'
    /usr/lib64/ruby/gems/1.8/gems/swiftiply-0.6.1/bin/mongrel_rails:136:in `run'
    /usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'
    /usr/lib64/ruby/gems/1.8/gems/swiftiply-0.6.1/bin/mongrel_rails:252
    /usr/bin/mongrel_rails:16:in `load'
    /usr/bin/mongrel_rails:16
Reply With Quote
  #2  
Old 15th October 2007, 04:25 PM
moschel Offline
Registered User
 
Join Date: Oct 2007
Posts: 1
re: latest Ruby update broken?

has any resolution been found for this problem? I am noticing the exact same issue.

- Brian
Reply With Quote
  #3  
Old 15th October 2007, 04:30 PM
kevwil Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
I thought it had somehow been magically fixed, because my site started working a while later, but it has been broken again since yesterday.
Reply With Quote
  #4  
Old 16th October 2007, 04:29 AM
briany Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
I am also seeing this error a box that received the updates last week with a new application that I am trying to deploy.

Interestingly enough, we are not getting this on 32bit boxes. It seems to be limited to our 64bit machines, and then only shows up after the application has been running for a few minutes. What about the update would have caused this?

EDIT: Confirmed that it was the update to ruby-1.8.5.113 that broke the code. Downgrading to 1.8.5.52-1.fc6, code runs just fine.

Last edited by briany; 16th October 2007 at 05:09 AM.
Reply With Quote
  #5  
Old 16th October 2007, 11:05 AM
Andrew Bruce Offline
Registered User
 
Join Date: Oct 2007
Posts: 1
How to downgrade

I get the same error here on a 64 bit dedicated server running FC6.

How do I go about downgrading? (I'm normally a Debian / Ubuntu user)
Reply With Quote
  #6  
Old 16th October 2007, 05:31 PM
briany Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
Quote:
Originally Posted by Andrew Bruce
How do I go about downgrading? (I'm normally a Debian / Ubuntu user)
Grab the 1.8.5.52 rpms from a fedora mirror (like this one: http://limestone.uoregon.edu/ftp/fed...ates/6/x86_64/), then do "rpm -Uvh --oldpackage <filename1.rpm> <filename2.rpm> ..." . If it complains about conflicting files between versions, you can use the --replacefiles flag.

I had ruby, ruby-libs, ruby-docs, ruby-rdoc, and ruby-irb on my systems. Use "rpm -qa|grep ruby" to see which ruby packages you need to downgrade.
Reply With Quote
Reply

Tags
broken, latest, ruby, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rails Failure after latest Ruby update to 1.8.6.230-1 tonypmartin Installation and Live Media 1 25th June 2008 04:07 PM
Latest FC2 smp kernel update broken? tfmacz EOL (End Of Life) Versions 0 21st January 2005 07:07 AM


Current GMT-time: 19:11 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat