From: "H.Yamamoto" Date: 2005-12-21T14:40:03+09:00 Subject: [ruby-dev:28083] Re: ruby_1_8 Segmentation fault on Cygwin 山本です。 >ruby_1_8 の CVS 先頭を cygwin でビルドしてみたところ、 >make test-all で Segmentation fault になりました。 > >% ./configure --enable-shared --prefix=/var/tmp/ruby CFLAGS=-g && make && make install > >% make test >test succeeded > >% make test-all >./miniruby.exe ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console >Loaded suite . >Started >.............................................................................................................................................................................................................................FF...............F.....FF...................................................F...F...E...............................................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.............................................................................................................................. ! > ............................................................/var/tmp/ruby-src/lib/pp.rb:454: [BUG] Segmentation fault >ruby 1.8.4 (2005-12-20) [i386-cygwin] > >*** starting debugger for pid 3088, tid 1788 >*** continuing pid 3088 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". >5ab60000:C:/WINDOWS/system32/comctl32.dll (symbols previously loaded) >#0 0x7c94eb94 in ntdll!LdrAccessResource () >(gdb) bt >#0 0x7c94eb94 in ntdll!LdrAccessResource () >#1 0x7c94e9c0 in ntdll!ZwWaitForSingleObject () >#2 0x7c8025db in WaitForSingleObjectEx () from /var/tmp/ruby-src/kernel32.dll >#3 0x00000604 in ?? () >(gdb) 嫌な予感が・・・どのテストで落ちているかとかわかりますか? testrb なら -v をつけると verbose モードになるんですが。