ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:88890] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
@ 2018-09-07 14:58 ` jacobevelyn
  2018-09-07 15:07 ` [ruby-core:88891] " mame
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jacobevelyn @ 2018-09-07 14:58 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been reported by jacobevelyn (Jacob Evelyn).

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087

* Author: jacobevelyn (Jacob Evelyn)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:88891] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
  2018-09-07 14:58 ` [ruby-core:88890] [Ruby trunk Bug#15087] Segmentation fault with splat and block jacobevelyn
@ 2018-09-07 15:07 ` mame
  2018-09-20  1:23 ` [ruby-core:89087] " mame
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: mame @ 2018-09-07 15:07 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by mame (Yusuke Endoh).


Good catch.  My patch for #15052 will fix this issue.

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-73934

* Author: jacobevelyn (Jacob Evelyn)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:89087] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
  2018-09-07 14:58 ` [ruby-core:88890] [Ruby trunk Bug#15087] Segmentation fault with splat and block jacobevelyn
  2018-09-07 15:07 ` [ruby-core:88891] " mame
@ 2018-09-20  1:23 ` mame
  2018-11-02 19:31 ` [ruby-core:89681] " msiegel
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: mame @ 2018-09-20  1:23 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by mame (Yusuke Endoh).


mame (Yusuke Endoh) wrote:
> Good catch.  My patch for #15052 will fix this issue.

We have never agreed with how to fix #15052 yet.  Nobu is working on this issue without behavior change.

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-74104

* Author: jacobevelyn (Jacob Evelyn)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:89681] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2018-09-20  1:23 ` [ruby-core:89087] " mame
@ 2018-11-02 19:31 ` msiegel
  2018-11-03  5:35 ` [ruby-core:89691] " nobu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: msiegel @ 2018-11-02 19:31 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by RubyBugs (A Nonymous).


This is **still crashing** in Ruby 2.5.3. Is this going to ever be fixed in Ruby 2.5 series? 

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-74721

* Author: jacobevelyn (Jacob Evelyn)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:89691] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2018-11-02 19:31 ` [ruby-core:89681] " msiegel
@ 2018-11-03  5:35 ` nobu
  2018-11-06 14:50 ` [ruby-core:89725] " nagachika00
  2019-03-15 18:37 ` [ruby-core:91850] " msiegel
  6 siblings, 0 replies; 7+ messages in thread
From: nobu @ 2018-11-03  5:35 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by nobu (Nobuyoshi Nakada).

Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED

Sorry, I've missed filling the Backport.

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-74730

* Author: jacobevelyn (Jacob Evelyn)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:89725] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2018-11-03  5:35 ` [ruby-core:89691] " nobu
@ 2018-11-06 14:50 ` nagachika00
  2019-03-15 18:37 ` [ruby-core:91850] " msiegel
  6 siblings, 0 replies; 7+ messages in thread
From: nagachika00 @ 2018-11-06 14:50 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE

ruby_2_5 r65579 merged revision(s) 64786.

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-74768

* Author: jacobevelyn (Jacob Evelyn)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

* [ruby-core:91850] [Ruby trunk Bug#15087] Segmentation fault with splat and block
       [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2018-11-06 14:50 ` [ruby-core:89725] " nagachika00
@ 2019-03-15 18:37 ` msiegel
  6 siblings, 0 replies; 7+ messages in thread
From: msiegel @ 2019-03-15 18:37 UTC (permalink / raw)
  To: ruby-core

Issue #15087 has been updated by RubyBugs (A Nonymous).


**Hurray**! Confirmed that this no longer crashes and works as expected on _2.5.4_ and _2.6.2_

----------------------------------------
Bug #15087: Segmentation fault with splat and block
https://bugs.ruby-lang.org/issues/15087#change-77121

* Author: jacobevelyn (Jacob Evelyn)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
* Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE
----------------------------------------
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.

~~~ ruby
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
  yield
end
foo(**{}, &test_proc)
~~~

I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.

---Files--------------------------------
ruby_2.6.0dev-2018-09-07-105158_Jacobs-MacBook-Pro.crash (36.4 KB)
ruby_2.5.1-2018-09-07-105813_Jacobs-MacBook-Pro.crash (36.4 KB)


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

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

end of thread, other threads:[~2019-03-15 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-15087.20180907145831@ruby-lang.org>
2018-09-07 14:58 ` [ruby-core:88890] [Ruby trunk Bug#15087] Segmentation fault with splat and block jacobevelyn
2018-09-07 15:07 ` [ruby-core:88891] " mame
2018-09-20  1:23 ` [ruby-core:89087] " mame
2018-11-02 19:31 ` [ruby-core:89681] " msiegel
2018-11-03  5:35 ` [ruby-core:89691] " nobu
2018-11-06 14:50 ` [ruby-core:89725] " nagachika00
2019-03-15 18:37 ` [ruby-core:91850] " msiegel

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).