[rspec-users] rcov seg fault
dchelimsky at gmail.com
Tue Jan 9 09:36:33 EST 2007
On 1/9/07, Jonathan Tron <jonathan.tron.mailings at gmail.com> wrote:
> Le 9 janv. 07 à 11:37, Dylan Egan a écrit :
> > Hi
> > Trying to get rcov going (has been working), but with the following
> > context and specs it fails.
> > All I get is /usr/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/mocks/
> > error_generator.rb:53: [BUG] Segmentation fault
> I get the same error but only on my MacbookPro and only when using
> mock_model (cf: http://www.dzone.com/rsslinks/
> The same code running on a debian server (ruby 1.8.5-4, rspec 0.7.5,
> rcov 0.7.0.1, Rails 1.2RC) don't produce the error... But I get
> failed specs I did not get on my MacbookPro (I'm using Cerberus for CI)
> Really weird...
I was having similar problems on an MBP when I was using sqlite and
rails. Since I started always using mysql, no problem.
What was really weird was that I could get rid of the error by simply
adding a few blank lines to any file that was involved in the spec
run. VERY weird.
> Tron Jonathan
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users