Forum: Ruby-dev Ruby 1.8.6 preview3 has been released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Akinori MUSHA (Guest)
on 2007-03-04 20:27
(Received via mailing list)
 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_pr...
  http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_pr...


 テストしてみて問題を発見されましたら、すぐにご報告ください。

 数日間の最終テスト期間を経て、来週末にも1.8.6正式版をリリース
します。日本語でのバグ報告は ruby-dev ML 
宛にお願いします。

  http://www.ruby-lang.org/ja/community/mailing-lists/

 よろしくお願いします。

--
                     /
                    /__  __            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"
Akinori MUSHA (Guest)
on 2007-03-04 20:40
(Received via mailing list)
 これまでのPreview期間中に話題に上った問題はほとんど対応できた
はずですが、予期した通りに直っていなかったり、別の問題が生じて
いる可能性もあります。奮ってテストをお願いします。

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

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


 よろしくお願いします。

--
                     /
                    /__  __            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"
nekomaho (Guest)
on 2007-03-05 12:55
(Received via mailing list)
$B$M$3$^$[$G$9(B.

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

$B0J>e$G$9(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]:
<true> expected but was
<false>.

  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:in `test_s_open_error'
./gdbm/test_gdbm.rb:200:in `test_s_open_error'
---------------

  3) Error:
test_s_open_nolock(TestGDBM):
GDBMError: File read error
    ./gdbm/test_gdbm.rb:188:in `open'
    ./gdbm/test_gdbm.rb:188:in `test_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:in `open'
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in `initialize'
    ./rdoc/parsers/test_parse_c.rb:15:in `new'
    ./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:in `teardown'

  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:in `open'
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in `initialize'
    ./rdoc/parsers/test_parse_c.rb:15:in `new'
    ./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:in `teardown'

  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:in `open'
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in `initialize'
    ./rdoc/parsers/test_parse_c.rb:15:in `new'
    ./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:in `teardown'

  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:in `open'
    /home/c-yan/ruby-1.8.6-preview3/lib/tempfile.rb:55:in `initialize'
    ./rdoc/parsers/test_parse_c.rb:15:in `new'
    ./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:in `teardown'

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:in `request'
     /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:in `request'
     /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:in `start'
     /home/c-yan/ruby-1.8.6-preview3/lib/net/http.rb:1032:in `request'
     ./webrick/test_cgi.rb:27:in `test_cgi'
     ./webrick/utils.rb:26:in `call'
     ./webrick/utils.rb:26:in `start_server'
     ./webrick/utils.rb:34:in `start_httpserver'
     ./webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>In
ternal Server Error</TITLE></HEAD>\n  <BODY>\n    <H1>Internal Server
Error</H1>
\n    Premature end of script headers:
/home/c-yan/ruby-1.8.6-preview3/test/webr
ick/webrick.cgi\n    <HR>\n    <ADDRESS>\n     WEBrick/1.3.1
(Ruby/1.8.6/2007-03
-05) at\n     127.0.0.1:3222\n    </ADDRESS>\n  </BODY>\n</HTML>\n">.

37 tests, 364 assertions, 1 failures, 0 errors
Vincent I. (Guest)
on 2007-03-05 14:09
(Received via mailing list)
$B%P%s%5%s$G$9!#(B

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

MacOS
X$B$K$O%(%i!<$O0l$D$@$1!'(Bcygwin$B$HF1$8(BWebrick$B$NLdBj(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:in
`request'
     /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:in
`request'
     /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:in
`start'
     /Users/vincent/Desktop/ruby-1.8.6-preview3/lib/net/http.rb:1032:in
`request'
     ./test/webrick/test_cgi.rb:27:in `test_cgi'
     ./test/webrick/utils.rb:26:in `call'
     ./test/webrick/utils.rb:26:in `start_server'
     ./test/webrick/utils.rb:34:in `start_httpserver'
     ./test/webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n  <BODY>\n
<H1>Internal Server Error</H1>\n    Premature end of script headers
&quot;/usr/local/bin/ruby&quot;
&quot;/Users/vincent/Desktop/ruby-1.8.6-preview3/lib/webrick/httpservlet/cgi_runner.rb&quot;
/Users/vincent/Desktop/ruby-1.8.6-preview3/ruby:
/Users/vincent/Desktop/ruby-1.8.6-preview3/test/webrick/webrick.cgi\n
  <HR>\n    <ADDRESS>\n     WEBrick/1.3.1 (Ruby/1.8.6/2007-03-05)
OpenSSL/0.9.7i at\n     127.0.0.1:57781\n    </ADDRESS>\n
</BODY>\n</HTML>\n">.

1584 tests, 15684 assertions, 1 failures, 0 errors
make: *** [test-all] Error 1
NAKANO Kouichi (Guest)
on 2007-03-09 18:01
(Received via mailing list)
$BCfLn$H$b$&$7$^$9!#(B

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

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

$B4{CN$NLdBj$J$s$G$7$g$&$+(B?
Akinori MUSHA (Guest)
on 2007-03-10 21:34
(Received via mailing list)
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"
nekomaho (Guest)
on 2007-03-11 04:04
(Received via mailing list)
$B$M$3$^$[$G$9(B.

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

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

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

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

$B0J>e$G$9(B.
Akinori MUSHA (Guest)
on 2007-03-11 11:08
(Received via mailing list)
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'
> <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n  <BODY>\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"
NAKANO Kouichi (Guest)
on 2007-03-11 13:51
(Received via mailing list)
$BCfLn$H$b$&$7$^$9!#(B

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

$B$9$$$^$;$s!#8mJs$G$7$?!#(B
$B3N$+$K2?EY$b$G$-$?$O$:$J$s$G$9$,!":F8=$G$-$J$/$J$j$^$7$?!#(B
Akinori MUSHA (Guest)
on 2007-03-11 16:00
(Received via mailing list)
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"
This topic is locked and can not be replied to.