≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1864

Bug #1864: "Update" to Ruby Enterprise Edition, or a later 1.8.7 patch level

Kind bug
Product wincent.dev
When Created 2011-09-02T07:11:05Z, updated 2011-09-05T02:44:48Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

I've never seen any crashing bugs like this in Ruby 1.8.7, but according to the release notes for Rails 3.1:

Note that Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02 though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults, so if you want to use 1.9.x jump on 1.9.2 for smooth sailing.

The full spec suite ran no problems after updating to Rails 3.1, but upon doing a subsequent bundle update I'm now seeing crashes like this at random points during the spec run:

[BUG] gc_sweep(): unknown data type 0x0(0x10b89bac8)
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]

So, I am going to hold off deploying until I get a chance to update the version of Ruby on the server to something without the bug.

Still not ready to move to 1.9.x, as last time I tried I had problems with gems. Ticket for that is issue #1681.

Comments

  1. Greg Hurrell 2011-09-04T23:19:50Z

    Ok, trying locally the latest patch level of Ruby 1.8.7 (via RVM) and there are no segfaults.

    Going to also revisit ticket #1681 and try out 1.9.2, just for kicks.

    Will then spin up a staging instance and try updating Ruby there and see how the app runs.

  2. Greg Hurrell 2011-09-05T02:44:40Z

    Looks like things are much more stable under 1.9.2 now. I think it's time to make the leap. Going to close this ticket.

  3. Greg Hurrell 2011-09-05T02:44:48Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets