Project

General

Profile

Actions

Backport #3868

closed

Segfault in 1.9.2 when using instance_eval with a Method object

Added by banister (john mair) about 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
[ruby-core:32522]

Description

=begin
Code below results in segfault:

Object.new.instance_eval(&(method(:instance_variable_get)))
=end


Related issues 3 (0 open3 closed)

Is duplicate of Ruby master - Bug #3786: instance_execにメソッドをわたした場合の挙動Closedko1 (Koichi Sasada)09/05/2010Actions
Is duplicate of Ruby master - Bug #3860: VM aborts when calling instance_eval on a Method converted to a procClosed09/23/2010Actions
Has duplicate Backport192 - Backport #3957: instance_exec and instance_eval crash ruby when passed '&variable' which stores a 'method(:whatever).to_param'Closed10/17/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0