Ruby 1.8.6 preview3 has been released

 Ruby 1.8.6 preview3 をリリースしました。

 本版は、1.8.6正式版のリリース候補という位置づけであり、1.8.5
リリース以降に見つかった数多くのバグの修正とライブラリの更新、
パフォーマンスの改善が含まれています。

 ソースファイルは以下のURLで取得できます。

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-preview3.tar.gz

チェックサム:
MD5 (ruby-1.8.6-preview3.tar.gz) = 9ff2f92773e9f3ccfe1b8fec22c38848
SHA1 (ruby-1.8.6-preview3.tar.gz) =
86822acfe5a38c76719ea420c7a00c0ef7c5fd4f
SHA256 (ruby-1.8.6-preview3.tar.gz) =
e7c7208d027d866a37f358d2074e0eefaec76ad28bff368ba0e2c3633f082777
SHA384 (ruby-1.8.6-preview3.tar.gz) =
a8a27ed5557c75fcd1ba59e905d263b1ceafd72e4a62a4c6ac8dfe5a166f84b5c0b3b457e094f30eb488ff8df8951d52
SHA512 (ruby-1.8.6-preview3.tar.gz) =
ed8a6f24af701df87c31232f248b328e44e9fa97a3a702661a98db8e58589e9d54a9654ede639138fd20f4b9199b6a35a77cbdcca41b11bfa1f4cbd6e541ec21
RMD160 (ruby-1.8.6-preview3.tar.gz) =
03871964c878c51a8561fccd26fb7c96d9071d2c
Tiger (ruby-1.8.6-preview3.tar.gz) =
b926cafe1aa4d006df3659bfff8f41591819279fbdf7415d
Whirlpool (ruby-1.8.6-preview3.tar.gz) =
97405ef8390d185e58ddf311daf2f2dfb31314e3299a15450734ad8039085c77b7b5a6778af69deb2521c03ea7240eafd4f1acc86b4691a963e75fef9057f9fa
SIZE (ruby-1.8.6-preview3.tar.gz) = 4590346

 1.8.5ã¨ã®äº’æ›æ€§æƒ…å ±ã‚’å«ã‚€å¤‰æ›´ç‚¹ã®ãƒªã‚¹ãƒˆã¯ã€åŒæ¢±ã® NEWS および
ChangeLog を参照してください。以下のURLでも閲覧できます。

http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_preview3/NEWS
http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_preview3/ChangeLog

ã€€ãƒ†ã‚¹ãƒˆã—ã¦ã¿ã¦å•é¡Œã‚’ç™ºè¦‹ã•ã‚Œã¾ã—ãŸã‚‰ã€ã™ãã«ã”å ±å‘Šãã ã•ã„ã€‚

 数日間の最終テスト期間を経て、来週末にも1.8.6正式版をリリース
ã—ã¾ã™ã€‚æ—¥æœ¬èªžã§ã®ãƒã‚°å ±å‘Šã¯ ruby-dev ML 宛にお願いします。

メーリングリスト

 よろしくお願いします。


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”

 これまでのPreview期間中に話題に上った問題はほとんど対応できた
はずですが、予期した通りに直っていなかったり、別の問題が生じて
いる可能性もあります。奮ってテストをお願いします。

 みなさんの周りのRuby関連コミュニティにもぜひ告知してください。

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/30482

 よろしくお願いします。


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”

e$B$M$3$^$[$G$9e(B.

cygwin e$B$Oe(B preview1 e$B$H%(%i!<>u67$OJQ$o$j$^$;$se(B.
preview1 e$B$N$H$-5$$E$$$F$$$^$;$s$G$7$?$,!"e(Bsoap e$B$N%F%9%H$Ge(B
core e$BEG$$$F$^$7$?e(B.

e$B0J>e$G$9e(B.

$ uname -a
CYGWIN_NT-5.1 MIYAKO 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
$ for i in test/*/; do ./miniruby.exe ./runruby.rb --extout=.ext – -C
“./test” runner.rb --runner=console basename $i; done

Loaded suite gdbm
Started
…F…F…E…
Finished in 12.005 seconds.

  1. Failure:
    test_reorganize(TestGDBM) [./gdbm/test_gdbm.rb:591]:
    expected but was
    .

  2. Failure:
    test_s_open_error(TestGDBM) [./gdbm/test_gdbm.rb:200]:
    Errno::EACCES exception expected but was
    Class: Errno::EAGAIN
    Message: <“Resource temporarily unavailable - tmptest_gdbm”>
    —Backtrace—
    ./gdbm/test_gdbm.rb:201:in open' ./gdbm/test_gdbm.rb:201:intest_s_open_error’
    ./gdbm/test_gdbm.rb:200:in `test_s_open_error’


  1. Error:
    test_s_open_nolock(TestGDBM):
    GDBMError: File read error
    ./gdbm/test_gdbm.rb:188:in open' ./gdbm/test_gdbm.rb:188:intest_s_open_nolock’
    ./gdbm/test_gdbm.rb:186:in `test_s_open_nolock’

43 tests, 952 assertions, 2 failures, 1 errors
Loaded suite rdoc
Started
.EE.EE.EE.EE
Finished in 0.016 seconds.

  1. Error:
    test_do_classes_class(TestRdocC_Parser):
    Errno::EACCES: Permission denied -
    /cygdrive/c/DOCUME~1/c-yan/LOCALS~1/Temp/Test
    RdocC_Parser.3316.0
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:inopen’
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' ./rdoc/parsers/test_parse_c.rb:15:innew’
    ./rdoc/parsers/test_parse_c.rb:15:in `setup’

  2. Error:
    test_do_classes_class(TestRdocC_Parser):
    NoMethodError: undefined method unlink' for nil:NilClass ./rdoc/parsers/test_parse_c.rb:27:inteardown’

  3. Error:
    test_do_classes_module(TestRdocC_Parser):
    Errno::EACCES: Permission denied -
    /cygdrive/c/DOCUME~1/c-yan/LOCALS~1/Temp/Test
    RdocC_Parser.3316.1
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:inopen’
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' ./rdoc/parsers/test_parse_c.rb:15:innew’
    ./rdoc/parsers/test_parse_c.rb:15:in `setup’

  4. Error:
    test_do_classes_module(TestRdocC_Parser):
    NoMethodError: undefined method unlink' for nil:NilClass ./rdoc/parsers/test_parse_c.rb:27:inteardown’

  5. Error:
    test_do_constants(TestRdocC_Parser):
    Errno::EACCES: Permission denied -
    /cygdrive/c/DOCUME~1/c-yan/LOCALS~1/Temp/Test
    RdocC_Parser.3316.2
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:inopen’
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' ./rdoc/parsers/test_parse_c.rb:15:innew’
    ./rdoc/parsers/test_parse_c.rb:15:in `setup’

  6. Error:
    test_do_constants(TestRdocC_Parser):
    NoMethodError: undefined method unlink' for nil:NilClass ./rdoc/parsers/test_parse_c.rb:27:inteardown’

  7. Error:
    test_find_class_comment_init(TestRdocC_Parser):
    Errno::EACCES: Permission denied -
    /cygdrive/c/DOCUME~1/c-yan/LOCALS~1/Temp/Test
    RdocC_Parser.3316.3
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:inopen’
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in initialize' ./rdoc/parsers/test_parse_c.rb:15:innew’
    ./rdoc/parsers/test_parse_c.rb:15:in `setup’

  8. Error:
    test_find_class_comment_init(TestRdocC_Parser):
    NoMethodError: undefined method unlink' for nil:NilClass ./rdoc/parsers/test_parse_c.rb:27:inteardown’

8 tests, 4 assertions, 0 failures, 8 errors
Loaded suite ruby
Started


…F…

Finished in 3.09 seconds.

  1. Failure:
    test_rlimit_nofile(TestProcess) [./ruby/test_process.rb:39]:
    <0> expected but was
    <256>.

255 tests, 2293 assertions, 1 failures, 0 errors
Loaded suite sdbm
Started
…F…
Finished in 0.633 seconds.

  1. Failure:
    test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:123]:
    Errno::EACCES exception expected but none was thrown.

34 tests, 835 assertions, 1 failures, 0 errors
Loaded suite soap
Started


/home/c-yan/ruby-1.8.6-preview3/lib/test/unit/ui/console/testrunner.rb:83:
[BUG]
Segmentation fault
ruby 1.8.6 (2007-03-05) [i386-cygwin]

Aborted (core dumped)
Loaded suite webrick
Started
F…
Finished in 12.302 seconds.

  1. Failure:
    test_cgi(TestWEBrickCGI)
    [./webrick/test_cgi.rb:27:in test_cgi' /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:1050:inrequest’
    /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:2133:in
    reading_body' /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:1049:inrequest’
    /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:1034:in request' /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:543:instart’
    /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:1032:in request' ./webrick/test_cgi.rb:27:intest_cgi’
    ./webrick/utils.rb:26:in call' ./webrick/utils.rb:26:instart_server’
    ./webrick/utils.rb:34:in start_httpserver' ./webrick/test_cgi.rb:24:intest_cgi’]:
    <"/webrick.cgi"> expected but was
    <"\n\n
In ternal Server Error\n \n

Internal Server Error

\n Premature end of script headers: /home/c-yan/ruby-1.8.6-preview3/test/webr ick/webrick.cgi\n
\n \n WEBrick/1.3.1 (Ruby/1.8.6/2007-03 -05) at\n 127.0.0.1:3222\n \n \n\n">.

37 tests, 364 assertions, 1 failures, 0 errors

e$BCfLn$H$b$&$7$^$9!#e(B

cygwin e$B$Oe(B preview1 e$B$H%(%i!<>u67$OJQ$o$j$^$;$se(B.
preview1 e$B$N$H$-5$$E$$$F$$$^$;$s$G$7$?$,!"e(Bsoap e$B$N%F%9%H$Ge(B core e$BEG$$$F$^$7$?e(B.

e$B$3$l$O!";d$N4D6-$G$bF1$8>u67$G$9!#e(BWindowsXPe$B$Ge(BCygwine$B$G$9!#e(B
e$B860x$O!"e(Beval.c e$B$Ne(B TMP_ALLOC
e$B$G%9%?%C%/$r;H$$@Z$C$F$k$s$8$c$J$$$+$H;W$$$^e(B
e$B$9!#3N>Z$O$J$$$G$9$,!#e(B
–stack e$B$NCM$rA}$d$7$F%3%s%Q%$%k$9$k$H@5>o$K<B9T$G$-$^$7$?!#e(B

e$B4{CN$NLdBj$J$s$G$7$g$&$+e(B?

e$B%P%s%5%s$G$9!#e(B

cygwin e$B$Oe(B preview1 e$B$H%(%i!<>u67$OJQ$o$j$^$;$se(B.
preview1 e$B$N$H$-5$$E$$$F$$$^$;$s$G$7$?$,!"e(Bsoap e$B$N%F%9%H$Ge(B core e$BEG$$$F$^$7$?e(B.

MacOS
Xe$B$K$O%(%i!<$O0l$D$@$1!'e(Bcygwine$B$HF1$8e(BWebricke$B$NLdBje(B:

% make check
test succeeded
./miniruby ./runruby.rb --extout=.ext – “./test/runner.rb”
–basedir="./test" --runner=console
Loaded suite .
Started
…at
depth 0 - 20: unable to get local issuer certificate
…F…
Finished in 86.648206 seconds.

  1. Failure:
    test_cgi(TestWEBrickCGI)
    [./test/webrick/test_cgi.rb:27:in test_cgi' /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:1050:inrequest’
    /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:2133:in
    reading_body' /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:1049:inrequest’
    /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:1034:in
    request' /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:543:instart’
    /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:1032:in
    request' ./test/webrick/test_cgi.rb:27:intest_cgi’
    ./test/webrick/utils.rb:26:in call' ./test/webrick/utils.rb:26:instart_server’
    ./test/webrick/utils.rb:34:in start_httpserver' ./test/webrick/test_cgi.rb:24:intest_cgi’]:
    <"/webrick.cgi"> expected but was
    <"\n\n
Internal Server Error\n \n

Internal Server Error

\n Premature end of script headers "/usr/local/bin/ruby" "/Users/vincent/Desktop/ruby-1.8.6-preview3/lib/webrick/httpservlet/cgi_runner.rb" /Users/vincent/Desktop/ruby-1.8.6-preview3/ruby: /Users/vincent/Desktop/ruby-1.8.6-preview3/test/webrick/webrick.cgi\n
\n \n WEBrick/1.3.1 (Ruby/1.8.6/2007-03-05) OpenSSL/0.9.7i at\n 127.0.0.1:57781\n \n \n\n">.

1584 tests, 15684 assertions, 1 failures, 0 errors
make: *** [test-all] Error 1

At Mon, 5 Mar 2007 19:54:17 +0900,
nekomaho wrote:

“./test” runner.rb --runner=console basename $i; done
 手動で実行しているのはテストの過程でしょうか。

 それはそうと、 make install したバイナリから単体で test_gdbm.rb,
test_sdbm.rb, test_cgi.rb 等を実行すると通りますね。

 runruby.rb や test/runner.rb に問題があるのでしょうか。


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”

At Mon, 5 Mar 2007 21:08:57 +0900,
Vincent I. wrote:

cygwin は preview1 とエラー状況は変わりません.
preview1 のとき気づいていませんでしたが、soap のテストで core 吐いてました.

MacOS Xにはエラーは一つだけ:cygwinと同じWebrickの問題:

 test/webrick/test_cgi.rb を単体で実行しても再現するでしょうか?

`request’

Internal Server Error\n \n make: *** [test-all] Error 1


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”

e$B$M$3$^$[$G$9e(B.

cygwin e$B$G$Oe(B make test-all e$B$r$9$k$HESCf$Ge(B SEGV
e$B$9$k$N$,CN$i$l$F$$$^$9e(B.
e$BF1MM$Ke(B for e$B$GC1BN$r2s$9$He(B SEGV
e$B$7$J$$$H$$$&$N$bCN$i$l$F$$$^$7$?e(B.
e$B$=$l0JMhe(B cygwin e$B$N%F%9%H$Oe(B for
e$B$GC1BN$4$H$K2s$9$*:nK!$,3NN)$7$F$$$^$9e(B.

[ruby-dev:28082]e$B$G4{Js$NLdBj$G$9e(B.

e$B!!$=$l$O$=$&$H!"e(B make install e$B$7$?%P%$%J%j$+$iC1BN$Ge(B test_gdbm.rb,
test_sdbm.rb, test_cgi.rb e$BEy$r<B9T$9$k$HDL$j$^$9$M!#e(B

e$B$&$A$G$O$d$C$Q$jDL$j$^$;$se(B(^^;;;
e$B2?$,0c$&$N$@$m$&$+e(B…

e$B0J>e$G$9e(B.

At Sun, 11 Mar 2007 18:07:28 +0900,
I wrote:

At Mon, 5 Mar 2007 21:08:57 +0900,
Vincent I. wrote:

cygwin は preview1 とエラー状況は変わりません.
preview1 のとき気づいていませんでしたが、soap のテストで core 吐いてました.

MacOS Xにはエラーは一つだけ:cygwinと同じWebrickの問題:

 test/webrick/test_cgi.rb を単体で実行しても再現するでしょうか?

 手元の MacBook (Intel, Tiger)で MacPorts, Fink 等を入れずに
ç´ ã®çŠ¶æ…‹ã§ãƒ“ãƒ«ãƒ‰ã—ãŸã¨ã“ã‚ã€ make test-all が通りました。

 確かにたまにこける気はするのですが…。


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”

e$BCfLn$H$b$&$7$^$9!#e(B

–stack e$B$NCM$rA}$d$7$F%3%s%Q%$%k$9$k$H@5>o$K<B9T$G$-$^$7$?!#e(B

e$B$9$$$^$;$s!#8mJs$G$7$?!#e(B
e$B3N$+$K2?EY$b$G$-$?$O$:$J$s$G$9$,!":F8=$G$-$J$/$J$j$^$7$?!#e(B