[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>

I would like to request developers meeting around April 17 or 18 in this mo=

14 messages 2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014 — Urabe Shyouhei <shyouhei@...> 2014/04/03

It's good if we have a meeting then.

[#61826] Re: Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...> 2014/04/03

Regarding openssl issues, I=E2=80=99ve discussed possible meeting time with=

[#61833] Re: Plan Developers Meeting Japan April 2014 — Martin Bo煬et <martin.bosslet@...> 2014/04/03

Hi,

[ruby-core:62102] [ruby-trunk - Bug #9757] Segfault in 2.1.1 from RSpec expect_any_instance_of

From: nobu@...
Date: 2014-04-20 00:34:12 UTC
List: ruby-core #62102
Issue #9757 has been updated by Nobuyoshi Nakada.

Category changed from doc to core

Set the category to "doc" by mistake.

----------------------------------------
Bug #9757: Segfault in 2.1.1 from RSpec expect_any_instance_of
https://bugs.ruby-lang.org/issues/9757#change-46261

* Author: David Faber
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: core
* Target version: 
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following spec causes a segfault for me in ruby 2.1.1 on OS X 10.9.2:

~~~
class A
  def a
    'a'
  end
end

class B
  def b
    'b'
  end
end

describe 'segfault' do
  it 'should make unused recorders' do
    expect_any_instance_of(A).to receive(:a)
    expect_any_instance_of(B).to receive(:b)
  end
  
  it 'should crash ruby' do
    A.new.a
    B.new.b
  end
end
~~~

Some more info:

~~~
$ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
$ bundle exec gem list

*** LOCAL GEMS ***

bundler (1.6.0.rc)
diff-lcs (1.2.5)
rspec (3.0.0.beta2)
rspec-core (3.0.0.beta2)
rspec-expectations (3.0.0.beta2)
rspec-mocks (3.0.0.beta2)
rspec-support (3.0.0.beta2)

~~~

I've also attached the crash report generated by OS X.  Let me know if you need some more info.  Sorry if this is a duplicate, I found some similar looking reports (#9309, #9461, #9315), but I don't really know enough to recognize if they are exactly the same issue.

---Files--------------------------------
ruby-crash.log (58 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next