ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:68430] [Ruby trunk - Bug #10941] [Open] SIGSEGV caused by Rake on Windows
       [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
@ 2015-03-05 16:01 ` djberg96
  2015-03-05 16:22 ` [ruby-core:68431] [Ruby trunk - Bug #10941] " usa
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: djberg96 @ 2015-03-05 16:01 UTC (permalink / raw
  To: ruby-core

Issue #10941 has been reported by Daniel Berger.

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

* Author: Daniel Berger
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mswin32_120]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:68431] [Ruby trunk - Bug #10941] SIGSEGV caused by Rake on Windows
       [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
  2015-03-05 16:01 ` [ruby-core:68430] [Ruby trunk - Bug #10941] [Open] SIGSEGV caused by Rake on Windows djberg96
@ 2015-03-05 16:22 ` usa
  2015-03-05 16:30 ` [ruby-core:68432] " usa
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: usa @ 2015-03-05 16:22 UTC (permalink / raw
  To: ruby-core

Issue #10941 has been updated by Usaku NAKAMURA.

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

I succeeded to reproduce this with 2.1.5 and trunk (but not with 2.0.0).

Minimum case is simple:

~~~
C:\foo> mkdir test

C:\foo> copy con Rakefile
task :default => :test
^Z

C:\foo> rake
~~~


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

* Author: Daniel Berger
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mswin32_120]
* Backport: 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:68432] [Ruby trunk - Bug #10941] SIGSEGV caused by Rake on Windows
       [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
  2015-03-05 16:01 ` [ruby-core:68430] [Ruby trunk - Bug #10941] [Open] SIGSEGV caused by Rake on Windows djberg96
  2015-03-05 16:22 ` [ruby-core:68431] [Ruby trunk - Bug #10941] " usa
@ 2015-03-05 16:30 ` usa
  2015-03-05 16:44 ` [ruby-core:68433] " usa
  2015-05-19 17:24 ` [ruby-core:69237] " nagachika00
  4 siblings, 0 replies; 5+ messages in thread
From: usa @ 2015-03-05 16:30 UTC (permalink / raw
  To: ruby-core

Issue #10941 has been updated by Usaku NAKAMURA.


Oops, sorry, some lines are missed.
Correct minimum case is:

~~~
require 'rake/clean'
require 'rake/testtask'

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

task :default => :test
~~~


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

* Author: Daniel Berger
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mswin32_120]
* Backport: 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:68433] [Ruby trunk - Bug #10941] SIGSEGV caused by Rake on Windows
       [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-03-05 16:30 ` [ruby-core:68432] " usa
@ 2015-03-05 16:44 ` usa
  2015-05-19 17:24 ` [ruby-core:69237] " nagachika00
  4 siblings, 0 replies; 5+ messages in thread
From: usa @ 2015-03-05 16:44 UTC (permalink / raw
  To: ruby-core

Issue #10941 has been updated by Usaku NAKAMURA.

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

My rake batchfile of 2.1.5 ran trunk ruby...
There is no problem in 2.1.5.

I succeeded to reproduce this more simple case:

~~~
C:\> ruby -e "" test\test_*.rb
~~~

So, rake is not needed.
This is a problem of commandline grobbing processing.

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

* Author: Daniel Berger
* Status: Open
* 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: REQUIRED
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:69237] [Ruby trunk - Bug #10941] SIGSEGV caused by Rake on Windows
       [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2015-03-05 16:44 ` [ruby-core:68433] " usa
@ 2015-05-19 17:24 ` nagachika00
  4 siblings, 0 replies; 5+ messages in thread
From: nagachika00 @ 2015-05-19 17:24 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-19 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-10941.20150305160139@ruby-lang.org>
2015-03-05 16:01 ` [ruby-core:68430] [Ruby trunk - Bug #10941] [Open] SIGSEGV caused by Rake on Windows djberg96
2015-03-05 16:22 ` [ruby-core:68431] [Ruby trunk - Bug #10941] " usa
2015-03-05 16:30 ` [ruby-core:68432] " usa
2015-03-05 16:44 ` [ruby-core:68433] " usa
2015-05-19 17:24 ` [ruby-core:69237] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).