Crashes with recently released ruby (1.8.6p230)

Hi folks,

Has anyone had problems with 1.8.6p230 and Radiant? We have four sites,
two on 0.6.6 and two on 0.6.3. They all crashed when they were first
accessed after upgrading from an earlier 1.8.6 patch level. Each crash
generated one message in the mongrel log, one of:

*** glibc detected *** free(): invalid next size (normal):
0x000000000142dc30 ***

*** glibc detected *** free(): invalid pointer: 0x00000000014dd550 ***

*** glibc detected *** double free or corruption (!prev):
0x0000000001978770 ***

The last error was common to the 0.6.6 sites, whereas the other two came
from different 0.6.3 sites. Memory addresses varied during different
attempts.

This is an up-to-date CentOS 4 box, x86_64, with glibc 2.3.4-2.39. The
problem disappeared after rolling back to the older patch level.

–James

James Blanding wrote:

This is an up-to-date CentOS 4 box, x86_64, with glibc 2.3.4-2.39. The
problem disappeared after rolling back to the older patch level.

–James

James,

I read on the Ruby mailing list that the new version breaks Rails.

Cheers,
Mohit.
6/23/2008 | 1:30 PM.

Mohit S. wrote:

[…]

James,

I read on the Ruby mailing list that the new version breaks Rails.

Cheers,
Mohit.
6/23/2008 | 1:30 PM.

Ah, I see you’re right. I had thought it was Radiant-specific because
my two sites that don’t run Radiant seemed to load fine. I did not test
any further than the front pages, however. Perhaps if I had clicked
around, those apps would have also gone down.

Oh well, hopefully things will be fixed soon.

Thanks,

–James

Apparently the Phusion guys have backported the security fixes to
1.8.6-p111 in their Ruby Enterprise edition. Might be worth checking
out if you’re stuck between security issues and a broken ruby.

john muhl wrote:

Apparently the Phusion guys have backported the security fixes to
1.8.6-p111 in their Ruby Enterprise edition. Might be worth checking
out if you’re stuck between security issues and a broken ruby.

Ruby 1.8.6-p230/1.8.7 broke your app? Ruby Enterprise Edition to the rescue! - Phusion Blog

Looks like they are trying to take these fixes and make an unofficial
1.8.6 patch:
http://www.ruby-forum.com/topic/157034

  • Dave