Actions
Bug #21694
closedCrash when looking up super method from BasicObject
Bug #21694:
Crash when looking up super method from BasicObject
Description
Initially reported on Reddit by easydwh https://old.reddit.com/r/ruby/comments/1ozhupr/is_a_ruby_segmentation_fault_a_bug_if_you_are/
Repro:
class BasicObject
def basic_call_no_super
super
end
end
"test".basic_call_no_super
Pull Request: https://github.com/ruby/ruby/pull/15221
Updated by byroot (Jean Boussier) 22 days ago
- Description updated (diff)
Updated by byroot (Jean Boussier) 15 days ago
- Status changed from Open to Closed
Applied in changeset git|a36ebb18a6d4c4726915b6d7c16cfdbf4e5d417b.
vm_cc_new: don't assume cme is present.
[Bug #21694]
vm_search_super_method explictly calls vm_cc_new with cme=NULL
when there is no super class.
Updated by k0kubun (Takashi Kokubun) 1 day ago
Backporting this causes multiple conflicts. Could you file a backport PR to ruby_3_4 please?
Updated by byroot (Jean Boussier) about 24 hours ago
- Backport changed from 3.2: DONTNEED, 3.3: DONTNEED, 3.4: REQUIRED to 3.2: DONTNEED, 3.3: DONTNEED, 3.4: DONE
@k0kubun (Takashi Kokubun) it was backported in https://github.com/ruby/ruby/pull/15322
Actions