Issue #10941 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into `ruby_2_2` branch at r50545.

----------------------------------------
Bug #10941: SIGSEGV caused by Rake on Windows
https://bugs.ruby-lang.org/issues/10941#change-52492

* Author: Daniel Berger
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mswin32_120]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
Ruby 2.2.1
Windows 7
Compiled with VS 2013

I'm getting a segfault when trying to run the default (test) task for a project called file-find:

https://github.com/djberg96/file-find

It's a fairly simple project, and the relevant tasks in the Rakefile look like this:

    CLEAN.include("**/*.gem", "**/*.rbc", "**/link*")

    Rake::TestTask.new do |t|
      task :test => 'clean'
      t.warning = true
      t.verbose = true
    end

    task :default => :test

When I step through the rake code, it seems to choke here

    C:/Ruby22VC/lib/ruby/2.2.0/rake/task.rb:172:      @lock.synchronize do

I'm not sure how to narrow it down any further. Please let me know if there's any more information I can provide.



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