On Sep 13, 9:10=A0pm, scott <scot... / gmail.com> wrote:
> i have a rails app that tests fine with "rake spec" but gets a
> segmentation fault when "rake spec:rcov" is run.
> i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
>
> my app is athttp://github.com/scottnj/test_blog/tree/master
> so maybe someone can try to replicate my error so i know if the
> problem is with my code or something installed on my pc.
>
> here is a copy of my shell output
>
> >> rake spec:rcov --trace
>
> (in C:/Documents and Settings/Scott/My Documents/NetBeansProjects/
> blog)
> ** Invoke spec:rcov (first_time)
> ** Invoke spec:clobber_rcov (first_time)
> ** Execute spec:clobber_rcov
> ** Execute spec:rcov
> .........................................................................=
.............................................generated
> code (c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/
> action_controller/routing/route.rb:86):1: [BUG] Segmentation fault
> ruby 1.8.6 (2007-09-24) [i386-mswin32]
>
> This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application's support team for more information.
> rake aborted!

You could try changing your spec/spec.opts to offer more details
(instead of default progress maybe spec format).

That will be more simple than for us replicate your exact environment
(ruby version, gem and such).

Regards,
--
Luis Lavena