[#27919] 1.8.4 Preview2 検証 — "URABE Shyouhei aka. mput" <root@...>

卜部です。

33 messages 2005/12/01

[#27997] 1.8.4 documents? — "URABE Shyouhei aka. mput" <root@...>

卜部です。

22 messages 2005/12/12
[#28017] Re: 1.8.4 documents? — Koji Arai <jca02266@...> 2005/12/13

新井です。

[#28082] ruby_1_8 Segmentation fault on Cygwin — yanagi@...

柳田です。

13 messages 2005/12/21
[#28083] Re: ruby_1_8 Segmentation fault on Cygwin — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/21

山本です。

[#28140] ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org>

HP-UX で HP aC++/ANSI C を使って作った ruby で、openssl や drb のテストをすると、

34 messages 2005/12/27
[#28141] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — WATANABE Tetsuya <Tetsuya.WATANABE@...> 2005/12/28

渡辺哲也です。

[#28142] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org> 2005/12/28

In article <200512280307.jBS37nnj005909@pbsg500.nifty.com>,

[#28147] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/28

山本です。

[#28149] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org> 2005/12/28

In article <20051228210640.13C71A10.ocean@m2.ccsnet.ne.jp>,

[#28151] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — WATANABE Tetsuya <Tetsuya.WATANABE@...> 2005/12/29

渡辺哲也です。

[#28152] Re: ia64-hpux11.23/socket.sl: this executable file can't load extensionlibraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/29

山本です。

[#28153] Re: ia64-hpux11.23/socket.sl: this executable file can't load extensionlibraries (LoadError) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/12/29

山本です。

[#28154] thread based generator.rb — Tanaka Akira <akr@...17n.org> 2005/12/29

In article <20051229114438.44D19F00.ocean@m2.ccsnet.ne.jp>,

[ruby-dev:28100] Re: Cygwin での ruby 1.8.4 preview 3 のテスト結果

From: info@...
Date: 2005-12-22 15:14:32 UTC
List: ruby-dev #28100
椎野といいます。

Windows XP SP2 上の Cygwin で、1.8.4 preview 3 をテストした結果です。

同じく make test-all をすると SEGV で落ちます。
ですので、テストを1つずつ実行した結果も挙げます。

$ ./configure --enable-shared --prefix=/var/tmp/ruby-1.8.4-preview3 &&
make && make install
$ export CYGWIN="$CYGWIN error_start=dumper"
$ make test
test succeeded
$ make test-all
./miniruby.exe ./runruby.rb --extout=.ext -- -C "./test" runner.rb
--runner=console
Loaded suite .
Started
..............................................F.................................
................................................................................
................................................................................
..........................................................F.......E.............
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
........../usr/local/src/ruby-1.8.4/lib/pp.rb:454: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-22) [i386-cygwin]

make: *** [test-all] Aborted (core dumped)

$ gdb -c test/ruby.exe.core
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
---Type <return> to continue, or q <return> to quit---
#0  0x7c94eb94 in ntdll!LdrAccessResource
    ()

$ make TESTS=-v test-all
./miniruby.exe ./runruby.rb --extout=.ext -- -C "./test" runner.rb
--runner=console -v
Loaded suite .
Started
-- snip --
test_assert_block(Test::Unit::TC_Assertions): .
test_assert_equal(Test::Unit::TC_Assertions): .
test_assert_in_delta(Test::Unit::TC_Assertions):
/usr/local/src/ruby-1.8.4/lib/pp.rb:454: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-22) [i386-cygwin]

*** starting debugger for pid 2340, tid 1932
*** continuing pid 2340 from debugger call (1)
make: *** [test-all] Aborted (core dumped)

$ gdb -c test/ruby.exe.core
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
---Type <return> to continue, or q <return> to quit---
#0  0x7c94eb94 in ntdll!LdrAccessResource
    ()

$ for d in test/*/
> do
> ./miniruby.exe ./runruby.rb --extout=.ext -- -C "./test" runner.rb
--runner=console `basename $d`
> done

Loaded suite dbm
Started
.F................................
Finished in 7.756 seconds.

  1) Failure:
test_aset(TestDBM)
    [./dbm/test_dbm.rb:140:in `test_aset'
     ./dbm/test_dbm.rb:122:in `test_aset']:
<""> expected but was
<nil>.

34 tests, 872 assertions, 1 failures, 0 errors

Loaded suite gdbm
Started
.....................F.......E.............
Finished in 20.489 seconds.

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

  2) 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, 1 failures, 1 errors

Loaded suite openssl
Started
.....................................F............................
Finished in 26.315 seconds.

  1) Failure:
test_client_auth(OpenSSL::TestSSL)
    [./openssl/test_ssl.rb:157:in `test_client_auth'
     ./openssl/test_ssl.rb:73:in `start_server'
     ./openssl/test_ssl.rb:156:in `test_client_auth']:
<OpenSSL::SSL::SSLError> exception expected but was
Class: <Errno::ECONNRESET>
Message: <"Connection reset by peer">
---Backtrace---
./openssl/test_ssl.rb:160:in `connect'
./openssl/test_ssl.rb:160:in `test_client_auth'
./openssl/test_ssl.rb:157:in `test_client_auth'
./openssl/test_ssl.rb:73:in `start_server'
./openssl/test_ssl.rb:156:in `test_client_auth'
---------------

66 tests, 909 assertions, 1 failures, 0 errors

Loaded suite webrick
Started
F..................................
Finished in 16.655 seconds.

  1) Failure:
test_cgi(TestWEBrickCGI)
    [./webrick/test_cgi.rb:27:in `test_cgi'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:1049:in `request'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:2104:in `reading_body'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:1048:in `request'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:1033:in `request'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:545:in `start'
     /usr/local/src/ruby-1.8.4/lib/net/http.rb:1031:in `request'
     ./webrick/test_cgi.rb:27:in `test_cgi'
     ./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:
/usr/local/src/ruby-1.8.4/test/webrick/we
brick.cgi\n    <HR>\n    <ADDRESS>\n     WEBrick/1.3.1
(Ruby/1.8.4/2005-12-22) O
penSSL/0.9.8a at\n     127.0.0.1:4511\n    </ADDRESS>\n
</BODY>\n</HTML>\n">.

35 tests, 331 assertions, 1 failures, 0 errors

以上です。

> 柳田です。
> 
> Windows 2000 SP4 上の Cygwin で、1.8.4 preview 3 をテストした結果です。
> 
> make test-all すると Segmentation fault になりますので [ruby-dev:28082]
> テストを1つずつ実行した結果です。
> 失敗したもののみ挙げます。
> 
> % ./configure --enable-shared --prefix=/var/tmp/ruby CFLAGS=-g && make && make install
> % for d in test/*(/)
> do
> ./miniruby.exe ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console `basename $d`
> done
> 
> 
> Loaded suite fileutils
> Started
> ..FF...............F.....FF..............................
> Finished in 23.797 seconds.
> 
>   1) Failure:
> test_chmod(TestFileUtils) [./fileutils/test_fileutils.rb:848]:
> <448> expected but was
> <420>.
> 
>   2) Failure:
> test_chmod_R(TestFileUtils) [./fileutils/test_fileutils.rb:859]:
> <448> expected but was
> <493>.
> 
>   3) Failure:
> test_install(TestFileUtils) [./fileutils/test_fileutils.rb:790]:
> <384> expected but was
> <420>.
> 
>   4) Failure:
> test_mkdir(TestFileUtils) [./fileutils/test_fileutils.rb:695]:
> <448> expected but was
> <493>.
> 
>   5) Failure:
> test_mkdir_p(TestFileUtils) [./fileutils/test_fileutils.rb:757]:
> <448> expected but was
> <493>.
> 
> 57 tests, 884 assertions, 5 failures, 0 errors
> 
> これは、Cygwin を nontsec で動かしているためなので、Ruby に問題はないはずです。
> 
> 
> 
> Loaded suite gdbm
> Started
> .....................F...F...E.............
> Finished in 7.201 seconds.
> 
>   1) Failure:
> test_reorganize(TestGDBM) [./gdbm/test_gdbm.rb:591]:
> <true> expected but was
> <false>.
> 
>   2) Failure:
> test_s_open_create_new(TestGDBM) [./gdbm/test_gdbm.rb:84]:
> <420> expected but was
> <438>.
> 
>   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, 950 assertions, 2 failures, 1 errors
> 
> (1)のところには、
>  # this test is failed on Cygwin98. `GDBM version 1.8.0, as of May 19, 1999'
> と書いてあります。
> (2)も、nontsec が原因だと思います。
> 
> 
> 
> Loaded suite sdbm
> Started
> ......................F...........
> Finished in 0.341 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
> 
> これも nontsec がらみでしょうか。
> 
> 
> 
> Loaded suite webrick
> Started
> F..................................
> Finished in 13.314 seconds.
> 
>   1) Failure:
> test_cgi(TestWEBrickCGI)
>     [./webrick/test_cgi.rb:27:in `test_cgi'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:1049:in `request'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:2104:in `reading_body'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:1048:in `request'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:1033:in `request'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:545:in `start'
>      /var/tmp/ruby-1.8.4/lib/net/http.rb:1031:in `request'
>      ./webrick/test_cgi.rb:27:in `test_cgi'
>      ./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>Internal Server Error</TITLE></HEAD>\n  <BODY>\n    <H1>Internal Server Error</H1>\n    Premature end of script headers: /var/tmp/ruby-1.8.4/test/webrick/webrick.cgi\n    <HR>\n    <ADDRESS>\n     WEBrick/1.3.1 (Ruby/1.8.4/2005-12-22) OpenSSL/0.9.8a at\n     127.0.0.1:3120\n    </ADDRESS>\n  </BODY>\n</HTML>\n">.
> 
> 35 tests, 331 assertions, 1 failures, 0 errors
> 
> これはよく分かりません。
> 

In This Thread

Prev Next