Issue #5122 has been reported by Filipp Lepalaan.

----------------------------------------
Bug #5122: make test fails on OS X 10.7 (11A511)
http://redmine.ruby-lang.org/issues/5122

Author: Filipp Lepalaan
Status: Open
Priority: Normal
Assignee: 
Category: build
Target version: 1.9.2
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]


Trying to install ruby from source (ruby 1.9.2p290), I get the following output when running "make test":

flips:ruby-1.9.2-p290 filipp$ make test

sample/test.rb:assignment ....................................................................................................................................................................................................................................................................................................................................................................................
sample/test.rb:condition ..
sample/test.rb:if/unless ...
sample/test.rb:case .....
sample/test.rb:while/until ........
sample/test.rb:exception ..........
sample/test.rb:array .......................................
sample/test.rb:hash ...........................
sample/test.rb:iterator ...............................................................................................................
sample/test.rb:float ................................................................................
sample/test.rb:bignum ...............................
sample/test.rb:string & char ..............................................................
sample/test.rb:assignment ..........
sample/test.rb:call ......
sample/test.rb:proc .........
sample/test.rb:signal ..
sample/test.rb:eval .............................
sample/test.rb:system .........
sample/test.rb:const .....
sample/test.rb:clone .....
sample/test.rb:marshal ....
sample/test.rb:pack ....
sample/test.rb:math ..
sample/test.rb:struct ......
sample/test.rb:variable ...........
sample/test.rb:trace ...
sample/test.rb:defined? ............
sample/test.rb:alias ......
sample/test.rb:path .......................
sample/test.rb:gc ....
test succeeded

test_attr.rb ..
test_autoload.rb ...........
test_block.rb .......................................................
test_class.rb .............................................
test_eval.rb ....................................
test_exception.rb .................................
test_finalizer.rb .
test_flip.rb .
test_flow.rb ................................................
test_fork.rb ....
test_gc.rb ..
test_io.rb .................
test_jump.rb .............................
test_literal.rb ......................................................................................................................................................
test_load.rb ..
test_marshal.rb .
test_massign.rb ................................(eval):2: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]

-- control frame ----------
c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC  :resume
c:0006 p:0039 s:0017 b:0017 l:002458 d:002448 EVAL   (eval):2
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 FINISH
c:0004 p:---- s:0013 b:0013 l:000012 d:000012 CFUNC  :eval
c:0003 p:0053 s:0009 b:0008 l:002458 d:002098 EVAL   bootstraptest.tmp.rb:9
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002458 d:002458 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
bootstraptest.tmp.rb:9:in `<main>'
bootstraptest.tmp.rb:9:in `eval'
(eval):2:in `<main>'
(eval):2:in `resume'

-- C level backtrace information -------------------------------------------

[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

F.
test_method.rb .............................................................................................................................................................................................................................
test_objectspace.rb ...
test_proc.rb ..................................
test_struct.rb .
test_syntax.rb ..........................................................................................................................................................
test_thread.rb .............................FFFFFFF..............
#470 test_massign.rb:165:in `<top (required)>': 
     a,s=[],"aaa"
     300.times { a<<s; s=s.succ }
     eval <<-END__
     GC.stress=true
     Fiber.new do
       #{ a.join(",") },*zzz=1
     end.resume
     END__
     :ok
  #=> "" (expected "ok")  [ruby-dev:32581]
#914 test_thread.rb:287:in `<top (required)>': 
     at_exit { Fiber.new{}.resume }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:2: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :resume
| c:0003 p:0021 s:0006 b:0006 l:001508 d:001e28 BLOCK  bootstraptest.tmp.rb:2
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:001508 d:001508 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:2:in `block in <main>'
| bootstraptest.tmp.rb:2:in `resume'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  
#915 test_thread.rb:292:in `<top (required)>': 
     g = enum_for(:local_variables)
     loop { g.next }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:3: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0007 p:---- s:0018 b:0018 l:001df0 d:001df0 CFUNC  :next
| c:0006 p:0011 s:0015 b:0015 l:0026b8 d:000014 BLOCK  bootstraptest.tmp.rb:3
| c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :loop
| c:0003 p:0026 s:0008 b:0007 l:0026b8 d:001270 EVAL   bootstraptest.tmp.rb:3
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:0026b8 d:0026b8 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:3:in `<main>'
| bootstraptest.tmp.rb:3:in `loop'
| bootstraptest.tmp.rb:3:in `block in <main>'
| bootstraptest.tmp.rb:3:in `next'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  [ruby-dev:34128]
#916 test_thread.rb:297:in `<top (required)>': 
     g = enum_for(:block_given?)
     loop { g.next }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:3: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0007 p:---- s:0018 b:0018 l:002170 d:002170 CFUNC  :next
| c:0006 p:0011 s:0015 b:0015 l:001778 d:000014 BLOCK  bootstraptest.tmp.rb:3
| c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :loop
| c:0003 p:0026 s:0008 b:0007 l:001778 d:001610 EVAL   bootstraptest.tmp.rb:3
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:001778 d:001778 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:3:in `<main>'
| bootstraptest.tmp.rb:3:in `loop'
| bootstraptest.tmp.rb:3:in `block in <main>'
| bootstraptest.tmp.rb:3:in `next'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  [ruby-dev:34128]
#917 test_thread.rb:302:in `<top (required)>': 
     g = enum_for(:binding)
     loop { g.next }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:3: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0007 p:---- s:0018 b:0018 l:002410 d:002410 CFUNC  :next
| c:0006 p:0011 s:0015 b:0015 l:000138 d:000014 BLOCK  bootstraptest.tmp.rb:3
| c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :loop
| c:0003 p:0026 s:0008 b:0007 l:000138 d:001890 EVAL   bootstraptest.tmp.rb:3
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:000138 d:000138 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:3:in `<main>'
| bootstraptest.tmp.rb:3:in `loop'
| bootstraptest.tmp.rb:3:in `block in <main>'
| bootstraptest.tmp.rb:3:in `next'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  [ruby-dev:34128]
#918 test_thread.rb:307:in `<top (required)>': 
     g = "abc".enum_for(:scan, /./)
     loop { g.next }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:3: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0007 p:---- s:0018 b:0018 l:0013e0 d:0013e0 CFUNC  :next
| c:0006 p:0011 s:0015 b:0015 l:000c78 d:000014 BLOCK  bootstraptest.tmp.rb:3
| c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :loop
| c:0003 p:0029 s:0008 b:0007 l:000c78 d:000850 EVAL   bootstraptest.tmp.rb:3
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:000c78 d:000c78 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:3:in `<main>'
| bootstraptest.tmp.rb:3:in `loop'
| bootstraptest.tmp.rb:3:in `block in <main>'
| bootstraptest.tmp.rb:3:in `next'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  [ruby-dev:34128]
#919 test_thread.rb:312:in `<top (required)>': 
     g = Module.enum_for(:new)
     loop { g.next }
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:3: [BUG] Bus Error
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0007 p:---- s:0018 b:0018 l:0010a0 d:0010a0 CFUNC  :next
| c:0006 p:0011 s:0015 b:0015 l:001408 d:000014 BLOCK  bootstraptest.tmp.rb:3
| c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :loop
| c:0003 p:0032 s:0008 b:0007 l:001408 d:000ff0 EVAL   bootstraptest.tmp.rb:3
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:001408 d:001408 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:3:in `<main>'
| bootstraptest.tmp.rb:3:in `loop'
| bootstraptest.tmp.rb:3:in `block in <main>'
| bootstraptest.tmp.rb:3:in `next'
| 
| -- C level backtrace information -------------------------------------------
| 0   ruby                                0x00000001079d162e rb_vm_bugreport + 110
| 1   ruby                                0x00000001078c6283 report_bug + 259
| 2   ruby                                0x00000001078c63f1 rb_bug + 161
| 3   ruby                                0x0000000107968542 sigbus + 18
| 4   libsystem_c.dylib                   0x00007fff88488cfa _sigtramp + 26
| 5   ???                                 0x0000000000000048 0x0 + 72
| 
| [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
| 
  [ruby-dev:34128]
#920 test_thread.rb:316:in `<top (required)>': 
     Fiber.new(&Object.method(:class_eval)).resume("foo")
  #=> killed by SIGABRT (signal 6)
| bootstraptest.tmp.rb:2: [BUG] Segmentation fault
| ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
| 
| -- control frame ----------
| c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :resume
| c:0003 p:0041 s:0007 b:0006 l:002598 d:0006b8 EVAL   bootstraptest.tmp.rb:2
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
| c:0001 p:0000 s:0002 b:0002 l:002598 d:002598 TOP   
| ---------------------------
| -- Ruby level backtrace information ----------------------------------------
| bootstraptest.tmp.rb:2:in `<main>'
| bootstraptest.tmp.rb:2:in `resume'
| 
| -- C level backtrace information -------------------------------------------
| 
| [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
| 
  [ruby-dev:34128]
FAIL 8/934 tests failed
make: *** [yes-btest-ruby] Error 1

"make install|" is successful and I'm able to run the installed IRB, but I guess I'll run into some trouble at some point... :)

Please find attached the relevant crash logs.



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