From: shibata.hiroshi@... Date: 2015-01-10T01:46:57+00:00 Subject: [ruby-core:67474] [ruby-trunk - Bug #10727] [Assigned] Segfault with newlines + multibyte characters in exception message Issue #10727 has been updated by Hiroshi SHIBATA. Status changed from Open to Assigned Assignee set to Usaku NAKAMURA I can reproduce this. ```shell % ruby -v issue10727.rb issue10727.rb:7:in `
': ������������ (E) issue10727.rb: [BUG] Segmentation fault at 0x00000000000008 ruby 2.3.0dev (2015-01-09 trunk 49195) [x86_64-darwin13] ``` ---------------------------------------- Bug #10727: Segfault with newlines + multibyte characters in exception message https://bugs.ruby-lang.org/issues/10727#change-50893 * Author: Kohei Suzuki * Status: Assigned * Priority: Normal * Assignee: Usaku NAKAMURA * Category: * Target version: * ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- In Ruby 2.2.0, this simple Ruby script results in segfault. ```ruby class E < StandardError def initialize super("������������\n������") end end raise E ``` It's caused by r48637. -- https://bugs.ruby-lang.org/