Project

General

Profile

Actions

Bug #16760

closed

backport #67305 / e39f7e64 to 2.6?

Added by zenspider (Ryan Davis) over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:97729]

Description

https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/e39f7e64b73f0506def7adc88226d6821608da54

aka

https://github.com/ruby/ruby/commit/e39f7e64b73f0506def7adc88226d6821608da54

still crashes in the latest 2.6. Any chance it can be backported?

Repro:
require "ripper/sexp" rip = Ripper::SexpBuilderPP.new "_, _, _ = 1, *2, *3" rip.yydebug = true rip.parse

(seems to work on 2.5 just fine)

Updated by nagachika (Tomoyuki Chikanaga) over 2 years ago

  • Status changed from Open to Closed
  • Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: DONTNEED, 2.6: REQUIRED, 2.7: REQUIRED

Thank you for pointing this out. I have confirmed the snippet reproduces SEGV with 2.6.6 on my laptop.
I will fill the Backport field and close this ticket to notice stable branch maintainers.

Updated by nagachika (Tomoyuki Chikanaga) over 2 years ago

  • Backport changed from 2.5: DONTNEED, 2.6: REQUIRED, 2.7: REQUIRED to 2.5: DONTNEED, 2.6: REQUIRED, 2.7: DONTNEED

I just find that e39f7e64b73f0506def7adc88226d6821608da54 (r67305) is included in ruby_2_7.

Updated by usa (Usaku NAKAMURA) almost 2 years ago

  • Backport changed from 2.5: DONTNEED, 2.6: REQUIRED, 2.7: DONTNEED to 2.5: DONTNEED, 2.6: DONE, 2.7: DONTNEED

ruby_2_6 r67912 merged revision(s) e39f7e64.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0