# Ruby 1.8.7-preview3 has been released

**URL:** <https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964>\
**Category:** Ruby\
**Created:** [May 19, 2008, 12:18am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964 "2008-05-19T00:18:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akinori\_MUSHA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Post date:** [May 19, 2008, 12:18am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964/1 "2008-05-19T00:18:50Z")

</div>

Folks,

Here is an announcement that the third preview of Ruby 1.8.7 has just  
been released. Changes from the previous preview release include  
fixes for a couple of security problems, some incompatibility issues  
and many bugs that have been addressed since the last preview, and a  
few backports including Symbol#to\_proc that was temporarily backed  
out after preview1.

The new version of Ruby includes many bug fixes, lots of feature  
enhancements and some performance improvements since 1.8.6 while  
maintaining stability and backward compatibility with the previous  
release to a high degree, although there are ongoing efforts that need  
to be done toward adopting RubySpec.

The source code package is available in three formats at the following  
locations:

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-preview3.tar.bz2  
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-preview3.tar.gz  
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-preview3.tar.zip

Checksums:

MD5 (ruby-1.8.7-preview3.tar.bz2) = c3b09422860cf8defd972ade49c8a3d5  
SHA256 (ruby-1.8.7-preview3.tar.bz2) =  
a73649f8c595cae34dc74e0d6c8b74998cc708d26d7d7300b16254d876dc7fe0  
SIZE (ruby-1.8.7-preview3.tar.bz2) = 4055052

MD5 (ruby-1.8.7-preview3.tar.gz) = a10233448872538f5dbb04a1104fe0c9  
SHA256 (ruby-1.8.7-preview3.tar.gz) =  
dfe15287d379956761e5059be624d00fe3626674be197ead63526d9bb78fdab4  
SIZE (ruby-1.8.7-preview3.tar.gz) = 4747478

MD5 (ruby-1.8.7-preview3.zip) = 21ca74601ce1a7250a2f22712e392b7e  
SHA256 (ruby-1.8.7-preview3.zip) =  
1659a25e30119e207580b5f05540bf58244e8cef64de8c6a18e1813b1efbfa3f  
SIZE (ruby-1.8.7-preview3.zip) = 5833388

For a brief list of user visible changes and a full list of all  
changes, see the bundled files named NEWS and ChangeLog, which are  
also available at the following locations:

[http://svn.ruby-lang.org/repos/ruby/tags/v1\_8\_7\_preview3/NEWS](http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_preview3/NEWS)  
[http://svn.ruby-lang.org/repos/ruby/tags/v1\_8\_7\_preview3/ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_preview3/ChangeLog)

Please test it out and drop us a report in the following tracker if  
you find any problem:

[http://rubyforge.org/tracker/?atid=22040&group\_id=426&func=browse](http://rubyforge.org/tracker/?atid=22040&group_id=426&func=browse)

Some known problems are on the list and when you find one it may be  
fixed already, so please look through all items querying with “State”  
set to “Any” before submitting a new one.

The next and probably the last preview is planned on next Monday, and  
the final release will be released by the end of this month.

This may be your last chance to report problems! Please help us debug  
this preview using your libraries and applications and make the final  
release production ready.

Regards,

---

<div class="post-metadata">

**Author:** ![Akinori\_MUSHA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Post date:** [May 19, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964/2 "2008-05-19T13:19:08Z")

</div>

I’ve tried latest version from 1.8 branch (revision r16479) and  
running rails in production mode ends with “Segmentation fault” after  
1-5 requests.  
Below it’s full message:

\*\*\* glibc detected \*\*\* ruby1.8: free(): invalid pointer:  
0x00000000019d76e0 \*\*\*  
======= Backtrace: =========  
/lib/libc.so.6[0x7f3c3661d08a]  
/lib/libc.so.6(cfree+0x8c)[0x7f3c36620c1c]  
ruby1.8[0x43a0cb]  
ruby1.8(ruby\_xmalloc+0x6e)[0x43a98e]  
ruby1.8(ruby\_xcalloc+0x1d)[0x43ac4d]  
ruby1.8(st\_init\_table+0x3e)[0x49779e]  
ruby1.8(rb\_hash\_new+0x56)[0x43cd96]  
ruby1.8[0x41a3da]  
ruby1.8[0x41e2bb]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x41a17d]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x41bc19]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x41db72]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41a8c1]  
ruby1.8[0x41d4a3]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x426d31]  
ruby1.8[0x41c950]  
ruby1.8[0x41a17d]  
ruby1.8[0x41fdf3]  
ruby1.8[0x41a4a5]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41a8c1]  
ruby1.8[0x41e5ab]  
ruby1.8[0x41a7bb]  
ruby1.8[0x41b042]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x426d31]  
ruby1.8[0x41c950]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41a1e2]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x42c967]  
ruby1.8[0x421f73]  
ruby1.8[0x42241f]  
ruby1.8[0x41aa0d]  
ruby1.8[0x421e8b]  
ruby1.8[0x42241f]  
ruby1.8[0x41a1e2]  
ruby1.8[0x421e8b]  
======= Memory map: ========  
00400000-0050e000 r-xp 00000000 08:06 8601608  
/home/radarek/language-shootout/build/bin/ruby1.8  
0070d000-0070f000 rw-p 0010d000 08:06 8601608  
/home/radarek/language-shootout/build/bin/ruby1.8  
0070f000-01e04000 rw-p 0070f000 00:00 0  
[heap]  
7f3c2c000000-7f3c2c021000 rw-p 7f3c2c000000 00:00 0  
7f3c2c021000-7f3c30000000 —p 7f3c2c021000 00:00 0  
7f3c30ebd000-7f3c30eca000 r-xp 00000000 08:06 6045828  
/lib/libgcc\_s.so.1  
7f3c30eca000-7f3c310ca000 —p 0000d000 08:06 6045828  
/lib/libgcc\_s.so.1  
7f3c310ca000-7f3c310cb000 rw-p 0000d000 08:06 6045828  
/lib/libgcc\_s.so.1  
7f3c310cb000-7f3c310d5000 r-xp 00000000 08:06 6045995  
/lib/libnss\_files-2.7.so  
7f3c310d5000-7f3c312d5000 —p 0000a000 08:06 6045995  
/lib/libnss\_files-2.7.so  
7f3c312d5000-7f3c312d7000 rw-p 0000a000 08:06 6045995  
/lib/libnss\_files-2.7.so  
7f3c312d7000-7f3c312ed000 r-xp 00000000 08:06 6045992  
/lib/libnsl-2.7.so  
7f3c312ed000-7f3c314ec000 —p 00016000 08:06 6045992  
/lib/libnsl-2.7.so  
7f3c314ec000-7f3c314ee000 rw-p 00015000 08:06 6045992  
/lib/libnsl-2.7.so  
7f3c314ee000-7f3c314f0000 rw-p 7f3c314ee000 00:00 0  
7f3c314f0000-7f3c31506000 r-xp 00000000 08:06 6046121  
/lib/libpthread-2.7.so  
7f3c31506000-7f3c31706000 —p 00016000 08:06 6046121  
/lib/libpthread-2.7.so  
7f3c31706000-7f3c31708000 rw-p 00016000 08:06 6046121  
/lib/libpthread-2.7.so  
7f3c31708000-7f3c3170c000 rw-p 7f3c31708000 00:00 0  
7f3c3170c000-7f3c318c5000 r-xp 00000000 08:06 10455292  
/usr/lib/libmysqlclient.so.15.0.0  
7f3c318c5000-7f3c31ac5000 —p 001b9000 08:06 10455292  
/usr/lib/libmysqlclient.so.15.0.0  
7f3c31ac5000-7f3c31b0e000 rw-p 001b9000 08:06 10455292  
/usr/lib/libmysqlclient.so.15.0.0  
7f3c31b0e000-7f3c31b0f000 rw-p 7f3c31b0e000 00:00 0  
7f3c31b0f000-7f3c31b22000 r-xp 00000000 08:06 11207037  
/home/radarek/language-shootout/build/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.so  
7f3c31b22000-7f3c31d22000 —p 00013000 08:06 11207037  
/home/radarek/language-shootout/build/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.so  
7f3c31d22000-7f3c31d23000 rw-p 00013000 08:06 11207037  
/home/radarek/language-shootout/build/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.so  
7f3c31d23000-7f3c31d24000 r-xp 00000000 08:06 426051  
/home/radarek/language-shootout/build/lib/ruby/1.8/x86\_64-linux/digest/sha1.so  
7f3c31d24000-7f3c31f23000 —p 00001000 08:06 426051  
/home/radarek/language-shootout/build/lib/ruby/1.8/x86\_64-linux/digest/sha1.so  
7f3c31f23000-7f3c31f24000 rw-p 00000000 08:06 426051  
/home/radarek/language-shootout/build/lib/ruby/1.8/x86\_64-linux/digest/sha1.so  
7f3c31f24000-7f3c32c1e000 rw-p 7f3c31Aborted

–  
Rados³aw Bu³at

[http://radarek.jogger.pl](http://radarek.jogger.pl) - mój blog

---

<div class="post-metadata">

**Author:** ![Akinori\_MUSHA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Post date:** [May 21, 2008, 1:29am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964/3 "2008-05-21T01:29:29Z")

</div>

Akinori MUSHA wrote:

> The new version of Ruby includes many bug fixes, lots of feature  
> enhancements and some performance improvements since 1.8.6 while  
> maintaining stability and backward compatibility with the previous  
> release to a high degree

Is the BasicObject class (from Ruby 1.9) included in Ruby 1.8.7?

Also, does OpenStruct derive from BasicObject in Ruby 1.8.7? So that we  
no longer have to undef type and id to use those properties in our  
OpenStructs?

require ‘ostruct’

class OpenStruct  
undef id # deprecated in Ruby 1.8; removed in 1.9  
undef type # same thing  
end

Thanks for your consideration.

---

<div class="post-metadata">

**Author:** ![Akinori\_MUSHA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Post date:** [May 21, 2008, 1:46am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964/4 "2008-05-21T01:46:43Z")

</div>

HIII EVERYBODYYY

I´m Seeking for a Ruby on Rails developer who wants to work in San  
Francisco for a year.

This would be a little of the experience that is required:

3+ years web programming  
1+ year Ruby  
2+ years scripting (Perl, Python, bash, …)  
2+ years UNIX (Linux or Mac OSX)  
2+ years database (MySQL)  
HTML, JavaScript/AJAX, CSS skills  
Experience developing APIs and platforms  
Experience with scaling and performance  
Interests in data visualization, data analysis, user experience design,  
and business intelligence.  
If anyone is interested in, please let me Know!!

LAET. Yazmín M. Cárdenas Rubalcaba

Technical Recruiter

Phone 01 800 087 47 87 Ext 257

Local phone 1368 1745 Ext 257

Av. Mariano Otero 3225 Col. Verde Valle

C.P. 44540 Guadalajara, Jal. México

[www.pounceconsulting.com](http://www.pounceconsulting.com)

e-mail. removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Akinori\_MUSHA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Post date:** [May 22, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview3-has-been-released/137964/5 "2008-05-22T18:30:05Z")

</div>

At Mon, 19 May 2008 20:18:28 +0900,  
RadosÅ‚aw BuÅ‚at wrote:

> I’ve tried latest version from 1.8 branch (revision r16479) and  
> running rails in production mode ends with “Segmentation fault” after  
> 1-5 requests.  
> Below it’s full message:

Thanks for the report, but unfortunately I cannot tell what’s causing  
the segfault from what’s below. Could you rebuild ruby with -g given  
in CFLAGS and give me a more precise stacktrace?

We’ve fixed some bugs since the preview3 release, so please try  
checking out the latest revision from the ruby\_1\_8\_7 branch.

Regards,

> \*\*\* glibc detected \*\*\* ruby1.8: free(): invalid pointer: 0x00000000019d76e0 \*\*\*  
> ======= Backtrace: =========  
> /lib/libc.so.6[0x7f3c3661d08a]  
> /lib/libc.so.6(cfree+0x8c)[0x7f3c36620c1c]  
> ruby1.8[0x43a0cb]  
> ruby1.8(ruby\_xmalloc+0x6e)[0x43a98e]  
> ruby1.8(ruby\_xcalloc+0x1d)[0x43ac4d]  
> ruby1.8(st\_init\_table+0x3e)[0x49779e]  
> ruby1.8(rb\_hash\_new+0x56)[0x43cd96]  
> (snip)
