Project

General

Profile

Bug #16760

backport #67305 / e39f7e64 to 2.6?

Added by zenspider (Ryan Davis) 7 months ago. Updated 3 months 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) 7 months ago

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

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

Also available in: Atom PDF