https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2015-01-10T01:46:57Z
Ruby Issue Tracking System
Ruby master - Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727?journal_id=50893
2015-01-10T01:46:57Z
hsbt (Hiroshi SHIBATA)
hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>usa (Usaku NAKAMURA)</i></li></ul><p>I can reproduce this.</p>
<pre><code class="shell syntaxhl" data-language="shell">% ruby <span class="nt">-v</span> issue10727.rb
issue10727.rb:7:in <span class="sb">`</span><main><span class="s1">': にほんご (E)
issue10727.rb: [BUG] Segmentation fault at 0x00000000000008
ruby 2.3.0dev (2015-01-09 trunk 49195) [x86_64-darwin13]
</span></code></pre>
Ruby master - Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727?journal_id=50896
2015-01-10T03:35:26Z
usa (Usaku NAKAMURA)
usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r49201.</p>
<hr>
<ul>
<li>eval_error.c (error_print): pos and len parameters of rb_str_substr()<br>
are counted by characters, not bytes. use rb_str_subseq() instead.<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Segfault with newlines + multibyte characters in exception message (Closed)" href="https://bugs.ruby-lang.org/issues/10727">#10727</a>] <a href="/issues/10727">[ruby-core:67473]</a></li>
</ul>
Ruby master - Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727?journal_id=50897
2015-01-10T03:42:10Z
usa (Usaku NAKAMURA)
usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN</i> to <i>2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED</i></li></ul>
Ruby master - Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727?journal_id=50906
2015-01-10T04:33:54Z
eagletmt (Kohei Suzuki)
rubygems@wanko.cc
<ul></ul><p>Thanks!</p>
Ruby master - Bug #10727: Segfault with newlines + multibyte characters in exception message
https://bugs.ruby-lang.org/issues/10727?journal_id=51069
2015-01-17T07:47:36Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Backport</strong> changed from <i>2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED</i> to <i>2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE</i></li></ul><p>ruby_2_2 r49298 merged revision(s) 49201,49203.</p>