Issue #10978 has been updated by Tomoyuki Chikanaga.

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

fixes are backported into `ruby_2_2` branch at r50545 for #10941.

----------------------------------------
Bug #10978: [mswin32, mswin64] SignalException: SIGSEGV
https://bugs.ruby-lang.org/issues/10978#change-52493

* Author: Sergue Cambour
* Status: Closed
* Priority: Normal
* Assignee: Usaku NAKAMURA
* ruby -v: 2.2.1
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
I have an error when running rake command on a simple minitest demo project:

C:\Users\XXXX\Documents\projects\tests_projects\minitest-project>rake --trace
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
rake aborted!
SignalException: SIGSEGV
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:106:in `block (3 levels) in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:57:in `call'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:57:in `sh'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:37:in `sh'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:96:in `ruby'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:37:in `ruby'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:104:in `block (2 levels) in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:58:in `verbose'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:100:in `block in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `call'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:199:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:75:in `run'
C:/Ruby22-x64/bin/rake:33:in `<main>'
Tasks: TOP => default => test

OS: Windows 7 Enterprise, SP1, 64 bits
Ruby version:ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Rake version: rake (10.4.2)


---Files--------------------------------
minitest-project.zip (1.84 KB)


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