Bug #11254
closed
[BUG] no corresponding cfp
Added by nobu (Nobuyoshi Nakada) over 9 years ago.
Updated over 9 years ago.
Description
2.1以降、以下のコードが[BUG] rb_vm_search_cf_from_ep: no corresponding cfpになります。
empty = Object.new
class << empty
attr_reader :block
def each(&block)
@block = block
self
end
end
empty.first
empty.block.call
- Status changed from Assigned to Closed
Applied in changeset r50850.
vm.c: break from orphan block
- vm.c (rb_vm_search_cf_from_ep): break from orphan block is
possible condition, but not [BUG].
[ruby-core:69548] [Bug #11254]
- Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
Backported into ruby_2_2
at r51129.
- Related to Bug #18475: Yielding an element for Enumerator in another thread dumps core added
Also available in: Atom
PDF
Like0
Like0Like0Like0