Project

General

Profile

Actions

Bug #10727

closed

Segfault with newlines + multibyte characters in exception message

Added by eagletmt (Kohei Suzuki) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
[ruby-core:67473]

Description

In Ruby 2.2.0, this simple Ruby script results in segfault.

class E < StandardError
  def initialize
    super("にほんご\n改行")
  end
end

raise E

It's caused by r48637.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0