[MacRuby] #1288: MacRuby displays "reference count underflow" message with rubyspec.
MacRuby
ruby-noreply at macosforge.org
Wed May 18 18:16:29 PDT 2011
#1288: MacRuby displays "reference count underflow" message with rubyspec.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
{{{
$ ./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
}}}
{{{
$ ./mspec/bin/mspec ci -B ./spec/macruby.mspec :rubyspec --verbose
MacRuby 0.11 (ruby 1.9.2) [universal-darwin10.4, x86_64]
---- snip ----
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/initialize_spec.rb
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/inspect_spec.rb
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/join_spec.rb
macruby(95513,0x7fff70904ca0) malloc: reference count underflow for
0x2012e2d80, break on auto_refcount_underflow_error to debug.
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/key_spec.rb
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/keys_spec.rb
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/kill_spec.rb
.
/Users/watson/src/macruby-trunk/spec/frozen/core/thread/list_spec.rb
.
---- snip ----
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1288>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list