ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
@ 2021-04-07 18:20 john
  2021-04-07 18:21 ` [ruby-core:103273] " peter
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: john @ 2021-04-07 18:20 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been reported by dewyze (John DeWyze).

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```



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

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

* [ruby-core:103273] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
@ 2021-04-07 18:21 ` peter
  2021-04-07 18:29 ` [ruby-core:103274] " peter
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peter @ 2021-04-07 18:21 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by peterzhu2118 (Peter Zhu).

Assignee set to peterzhu2118 (Peter Zhu)

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-91357

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```



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

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

* [ruby-core:103274] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
  2021-04-07 18:21 ` [ruby-core:103273] " peter
@ 2021-04-07 18:29 ` peter
  2021-04-07 18:33 ` [ruby-core:103275] " peter
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peter @ 2021-04-07 18:29 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by peterzhu2118 (Peter Zhu).


Note that this bug is reproducible on 2.6.7, 2.7.3, 3.0.1, master.

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-91358

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```



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

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

* [ruby-core:103275] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
  2021-04-07 18:21 ` [ruby-core:103273] " peter
  2021-04-07 18:29 ` [ruby-core:103274] " peter
@ 2021-04-07 18:33 ` peter
  2021-04-07 18:35 ` [ruby-core:103276] " peter
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peter @ 2021-04-07 18:33 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by peterzhu2118 (Peter Zhu).

File crash.log added

Crash log is attached below.

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-91359

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```

---Files--------------------------------
crash.log (20.1 KB)


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

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

* [ruby-core:103276] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
                   ` (2 preceding siblings ...)
  2021-04-07 18:33 ` [ruby-core:103275] " peter
@ 2021-04-07 18:35 ` peter
  2021-04-07 18:42 ` [ruby-core:103277] " merch-redmine
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peter @ 2021-04-07 18:35 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by peterzhu2118 (Peter Zhu).


GitHub PR: https://github.com/ruby/ruby/pull/4364

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-91360

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```

---Files--------------------------------
crash.log (20.1 KB)


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

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

* [ruby-core:103277] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
                   ` (3 preceding siblings ...)
  2021-04-07 18:35 ` [ruby-core:103276] " peter
@ 2021-04-07 18:42 ` merch-redmine
  2021-05-23  6:01 ` [ruby-core:103992] " nagachika00
  2021-07-03 16:53 ` [ruby-core:104487] " usa
  6 siblings, 0 replies; 8+ messages in thread
From: merch-redmine @ 2021-04-07 18:42 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by jeremyevans0 (Jeremy Evans).


Pull request submitted to fix this: https://github.com/ruby/ruby/pull/4365

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-91361

* Author: dewyze (John DeWyze)
* Status: Open
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```

---Files--------------------------------
crash.log (20.1 KB)


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

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

* [ruby-core:103992] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
                   ` (4 preceding siblings ...)
  2021-04-07 18:42 ` [ruby-core:103277] " merch-redmine
@ 2021-05-23  6:01 ` nagachika00
  2021-07-03 16:53 ` [ruby-core:104487] " usa
  6 siblings, 0 replies; 8+ messages in thread
From: nagachika00 @ 2021-05-23  6:01 UTC (permalink / raw)
  To: ruby-core

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

Backport changed from 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE

ruby_3_0 410216c9db033a72f4dd119c366bc58dd54383ec merged revision(s) d8a13e504992a45d52063f7c925408d7aad3595a.

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-92129

* Author: dewyze (John DeWyze)
* Status: Closed
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```

---Files--------------------------------
crash.log (20.1 KB)


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

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

* [ruby-core:104487] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
  2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
                   ` (5 preceding siblings ...)
  2021-05-23  6:01 ` [ruby-core:103992] " nagachika00
@ 2021-07-03 16:53 ` usa
  6 siblings, 0 replies; 8+ messages in thread
From: usa @ 2021-07-03 16:53 UTC (permalink / raw)
  To: ruby-core

Issue #17780 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.6: REQUIRED, 2.7: DONE, 3.0: DONE to 2.6: DONE, 2.7: DONE, 3.0: DONE

ruby_2_6 r67945 merged revision(s) d8a13e50.

----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-92749

* Author: dewyze (John DeWyze)
* Status: Closed
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.6: DONE, 2.7: DONE, 3.0: DONE
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.

Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:

Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417

Minimum example:

```
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```

---Files--------------------------------
crash.log (20.1 KB)


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

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

end of thread, other threads:[~2021-07-03 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 18:20 [ruby-core:103272] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault john
2021-04-07 18:21 ` [ruby-core:103273] " peter
2021-04-07 18:29 ` [ruby-core:103274] " peter
2021-04-07 18:33 ` [ruby-core:103275] " peter
2021-04-07 18:35 ` [ruby-core:103276] " peter
2021-04-07 18:42 ` [ruby-core:103277] " merch-redmine
2021-05-23  6:01 ` [ruby-core:103992] " nagachika00
2021-07-03 16:53 ` [ruby-core:104487] " usa

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