Project

General

Profile

This project is closed and read-only.

Actions

Backport #3868

closed

Segfault in 1.9.2 when using instance_eval with a Method object

Backport #3868: Segfault in 1.9.2 when using instance_eval with a Method object

Added by banister (john mair) almost 16 years ago. Updated over 15 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 - Bug #3786: instance_execにメソッドをわたした場合の挙動Closedko1 (Koichi Sasada)Actions
Is duplicate of Ruby - Bug #3860: VM aborts when calling instance_eval on a Method converted to a procClosedActions
Has duplicate Backport192 - Backport #3957: instance_exec and instance_eval crash ruby when passed '&variable' which stores a 'method(:whatever).to_param'ClosedActions
Actions

Also available in: PDF Atom