Bug #3796: make check fails on powerpc64 linux
http://redmine.ruby-lang.org/issues/show/3796

Author: Jim Meyering
Status: Open, Priority: Normal
Category: test
ruby -v: ruby 1.9.3dev (2010-09-06 trunk 29191) [powerpc64-linux]

I cloned from git://github.com/ruby/ruby.git, then ran this as root:

    autoreconf; ./configure && make && make check

Here's the tail of "make check" output:

Loaded suite ./test/runner
Started
...................................................................................................................................................F..../root/Meyering/ruby/.ext/common/dl/func.rb:59: [BUG] Segmentation fault
ruby 1.9.3dev (2010-09-06 trunk 29191) [powerpc64-linux]

-- control frame ----------
c:0016 p:---- s:0071 b:0071 l:000070 d:000070 CFUNC  :call
c:0015 p:0117 s:0067 b:0067 l:000066 d:000066 METHOD /root/Meyering/ruby/.ext/common/dl/func.rb:59
c:0014 p:0075 s:0059 b:0059 l:000058 d:000058 METHOD /root/Meyering/ruby/test/dl/test_func.rb:64
c:0013 p:0063 s:0052 b:0052 l:000051 d:000051 METHOD /root/Meyering/ruby/lib/minitest/unit.rb:711
c:0012 p:0091 s:0046 b:0046 l:000027 d:000045 BLOCK  /root/Meyering/ruby/lib/minitest/unit.rb:672
c:0011 p:---- s:0041 b:0041 l:000040 d:000040 FINISH
c:0010 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC  :each
c:0009 p:0026 s:0036 b:0036 l:000027 d:000035 BLOCK  /root/Meyering/ruby/lib/minitest/unit.rb:666
c:0008 p:---- s:0033 b:0033 l:000032 d:000032 FINISH
c:0007 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC  :each
c:0006 p:0082 s:0028 b:0028 l:000027 d:000027 METHOD /root/Meyering/ruby/lib/minitest/unit.rb:665
c:0005 p:0286 s:0023 b:0023 l:000022 d:000022 METHOD /root/Meyering/ruby/lib/minitest/unit.rb:629
c:0004 p:0022 s:0014 b:0014 l:000013 d:000013 METHOD /root/Meyering/ruby/lib/test/unit.rb:21
c:0003 p:0136 s:0010 b:0009 l:001628 d:002540 EVAL   ./test/runner.rb:26
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001628 d:001628 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
./test/runner.rb:26:in `<main>'
/root/Meyering/ruby/lib/test/unit.rb:21:in `run'
/root/Meyering/ruby/lib/minitest/unit.rb:629:in `run'
/root/Meyering/ruby/lib/minitest/unit.rb:665:in `run_test_suites'
/root/Meyering/ruby/lib/minitest/unit.rb:665:in `each'
/root/Meyering/ruby/lib/minitest/unit.rb:666:in `block in run_test_suites'
/root/Meyering/ruby/lib/minitest/unit.rb:666:in `each'
/root/Meyering/ruby/lib/minitest/unit.rb:672:in `block (2 levels) in run_test_suites'
/root/Meyering/ruby/lib/minitest/unit.rb:711:in `run'
/root/Meyering/ruby/test/dl/test_func.rb:64:in `test_isdigit'
/root/Meyering/ruby/.ext/common/dl/func.rb:59:in `call'
/root/Meyering/ruby/.ext/common/dl/func.rb:59:in `call'

-- C level backtrace information -------------------------------------------
./ruby() [0x101536b8]
./ruby() [0x101a4e74]
./ruby(rb_bug-0x8995c) [0x101a4fac]
./ruby() [0x100d0ce8]
[0xfff81800418]
/root/Meyering/ruby/.ext/powerpc64-linux/dl.so(+0x66bc) [0xfff814266bc]
./ruby() [0x1013a990]
./ruby() [0x10141e5c]
./ruby() [0x101444d0]
./ruby() [0x10147e64]
./ruby(rb_yield-0xd9a58) [0x10151500]
./ruby(rb_ary_each-0xc4b64) [0x101679b4]
./ruby() [0x1013a9ec]
./ruby() [0x10141e5c]
./ruby() [0x101444d0]
./ruby() [0x10147e64]
./ruby(rb_yield-0xd9a58) [0x10151500]
./ruby(rb_ary_each-0xc4b64) [0x101679b4]
./ruby() [0x1013a9ec]
./ruby() [0x10141e5c]
./ruby() [0x101444d0]
./ruby() [0x10147e64]
./ruby(rb_iseq_eval_main-0xe2870) [0x10148288]
./ruby() [0x100155d8]
./ruby(ruby_run_node-0x209c70) [0x100178d8]
./ruby() [0x1001438c]
/lib64/libc.so.6() [0x80afefbc78]
/lib64/libc.so.6(__libc_start_main-0x184e60) [0x80afefbe70]

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [yes-test-all] Aborted


----------------------------------------
http://redmine.ruby-lang.org