[MacRuby] #1287: specs are broken after 68ac3fcaf1041ef9b25fb3bc940a47f41505b7e5

MacRuby ruby-noreply at macosforge.org
Wed May 18 16:55:08 PDT 2011


#1287: specs are broken after 68ac3fcaf1041ef9b25fb3bc940a47f41505b7e5
-----------------------------------+----------------------------------------
 Reporter:  lsansonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  blocker                |   Milestone:                       
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------

Comment(by watson1978@…):

 in my environment (MacBookPro, Core i5, 4GB memory, LLVM 2.9(released)),
 "reference count underflow" message is displayed.

 {{{
 $./mspec/bin/mspec ci -B ./spec/macruby.mspec  :rubyspec
 MacRuby 0.11 (ruby 1.9.2) [universal-darwin10.4, x86_64]
 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................................................................................................................
 .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................macruby(92843,0x7fff70904ca0)
 malloc: reference count underflow for 0x20126f7a0, break on
 auto_refcount_underflow_error to debug.
 .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.......................
 ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

 1)
 Kernel.caller returns one entry per call, even for recursive methods
 FAILED
 Expected 0 to equal 1
 /Users/watson/src/macruby-
 trunk/spec/frozen/core/kernel/caller_spec.rb:157:in `block'
 /Users/watson/src/macruby-
 trunk/spec/frozen/core/kernel/caller_spec.rb:152:in `<main>'

 2)
 Queue#num_waiting reports the number of threads waiting on the Queue
 FAILED
 Expected 3 to equal 4
 /Users/watson/src/macruby-
 trunk/spec/frozen/library/queue/num_waiting_spec.rb:10:in `block'
 /Users/watson/src/macruby-
 trunk/spec/frozen/library/queue/num_waiting_spec.rb:9:in `block'
 /Users/watson/src/macruby-
 trunk/spec/frozen/library/queue/num_waiting_spec.rb:4:in `<main>'

 Finished in 147.078465 seconds

 3270 files, 14109 examples, 55429 expectations, 2 failures, 0 errors

 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1287#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list