Bug 326021 - Rails crashes with ruby
Summary: Rails crashes with ruby
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: 6
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
Whiteboard: bzcl34nup
Depends On:
TreeView+ depends on / blocked
Reported: 2007-10-10 09:16 UTC by Andreas Zuber
Modified: 2008-08-02 23:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-04-07 11:15:05 UTC
Type: ---

Attachments (Terms of Use)

Description Andreas Zuber 2007-10-10 09:16:04 UTC
Description of problem:

After updating ruby to the version, rails crashes:

Rendering /home/puzzletime/www/puzzletime_20070503/public/500.html (500 Error)
Sent mail:
 Date: Wed, 10 Oct 2007 10:01:56 +0200
From: PuzzleTime <---snip--->
To: ---snip---
Subject: [ERROR] projecttime#list (NoMemoryError)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8

A NoMemoryError occured in
  negative allocation size (or too big)

Request Information:
 * URL: https://puzzletime.ww2.ch/puzzletime/
 * Parameters: {"action"=>"list", "controller"=>"projecttime"}
 * Rails root: /home/puzzletime/www/puzzletime_20070503

Full execution backtrace:
  /usr/lib64/ruby/gems/1.8/gems/rails-1.2.2/lib/dispatcher.rb:41:in `dispatch'
  /usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
  /usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in `session'
  /usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in `each_request'
  /usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in `each'
  /usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'

There are other people on the net that have similar Problems:

A downgrade to version of the ruby packages solved the problem for

Version-Release number of selected component (if applicable):

 ruby                    x86_64
 ruby-devel              x86_64
 ruby-devel              i386
 ruby-irb                x86_64
 ruby-libs               i386
 ruby-libs               x86_64
 ruby-rdoc               x86_64

How reproducible:

Don't know exactly what action in the code triggers the problem. I dont see 
the relation between the trace output and the error from the projecttime#list 

Comment 1 Andrew Bruce 2007-10-16 10:12:08 UTC
This has broken ruby and many Rails installations! 

How can it be medium / low?

Comment 2 Akira TAGOH 2007-10-16 10:56:33 UTC
Can someone confirm if this happens on ruby 1.8.6.x or not?

Comment 3 Andrew Bruce 2007-10-16 12:01:10 UTC
I don't have an FC7 installation, but can confirm that compiling ruby 1.8.6
fixes the problem.

Comment 4 Bug Zapper 2008-04-04 07:38:03 UTC
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.

If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.

If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
the change.

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we are following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers

Comment 5 Akira TAGOH 2008-04-07 11:15:05 UTC
According to comment #3 and all ruby packages we are supporting on the release
of Fedora are based on 1.8.6, closing this bug due to EOL of FC6.

Note You need to log in before you can comment on or make changes to this bug.