[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67649] [ruby-trunk - Bug #10727] Segfault with newlines + multibyte characters in exception message

From: naruse@...
Date: 2015-01-17 07:47:37 UTC
List: ruby-core #67649
Issue #10727 has been updated by Yui NARUSE.

Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

ruby_2_2 r49298 merged revision(s) 49201,49203.

----------------------------------------
Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727#change-51069

* Author: Kohei Suzuki
* Status: Closed
* Priority: Normal
* Assignee: Usaku NAKAMURA
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
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/

In This Thread

Prev Next