[MacRuby] #1288: MacRuby displays "reference count underflow" message with rubyspec.
MacRuby
ruby-noreply at macosforge.org
Tue May 24 07:34:11 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:
----------------------------------+-----------------------------------------
Comment(by kouji@…):
I checked it with 2099c43a78f24f5108ba7205a4a1933c17202661 (Sun Apr 24
21:43:50 2011 +0900). Then I got same warning messages.
I report my reduction script below.
{{{
threads = []
35.times do
threads << Thread.new {
GC.start
raise NotImplementedError.new("Just kidding")
}
end
threads.each do |t|
begin
t.join
rescue NotImplementedError
end
end
}}}
And I report my command to run below.
{{{
$ i=0; while true; do ./miniruby issues/1288/reduction.rb; i=`expr $i +
1`; echo $i; done
1
2
3
4
5
6
7
8
miniruby(51414,0x10401c000) malloc: reference count underflow for
0x2000392a0, break on auto_refcount_underflow_error to debug.
9
}}}
Thanks.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1288#comment:9>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list