Ruby Forum Ruby > Ruby 1.8.7-preview3 has been released

Posted by Akinori MUSHA (Guest)
on 19.05.2008 00:18
(Received via mailing list)
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/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

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,
Posted by Radosław Bułat (radarek)
on 19.05.2008 13:19
(Received via mailing list)
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 - mój blog
Posted by Suraj Kurapati (snk)
on 21.05.2008 01:29
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.
Posted by Yazmin Cardenas (Guest)
on 21.05.2008 01:46
(Received via mailing list)
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

e-mail. yazmin.cardenas@pounceconsulting.com
Posted by Akinori MUSHA (Guest)
on 22.05.2008 18:30
(Received via mailing list)
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)