Project

General

Profile

Actions

Bug #2403

closed

Segment fault when converting method to block

Added by mrbrdo (Jan Berdajs) almost 15 years ago. Updated over 13 years ago.

Status:
Closed
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
[ruby-core:26909]

Description

=begin
When trying to convert a method to a block with the ampersand operator, I get a segfault. I'm on Ubuntu, ruby from packages (see version).
Test code: http://www.pastie.org/714918
Temp. fix: change &:metoda to &method(:metoda)

Error output:
test.rb:10: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

Aborted
=end

Actions #1

Updated by ujihisa (Tatsuhiro Ujihisa) almost 15 years ago

  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Status changed from Assigned to Closed

=begin
Already fixed in 1.8.7 (2009-02-19 patchlevel 128).
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0