https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112014-07-10T23:36:50ZRuby Issue Tracking SystemRuby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=476922014-07-10T23:36:50Zmaletor (Ellis Berner)eberner@gmail.com
<ul></ul><p>Here is the Other runtime information</p>
<p><a href="https://gist.github.com/maletor/df43091aca5e9b7ee534" class="external">https://gist.github.com/maletor/df43091aca5e9b7ee534</a></p> Ruby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=476942014-07-10T23:52:43Znormalperson (Eric Wong)normalperson@yhbt.net
<ul></ul><p><a href="mailto:eberner@gmail.com" class="email">eberner@gmail.com</a> wrote:</p>
<blockquote>
<p>Here is the Other runtime information</p>
<p><a href="https://gist.github.com/maletor/df43091aca5e9b7ee534" class="external">https://gist.github.com/maletor/df43091aca5e9b7ee534</a></p>
</blockquote>
<p>URL seems invalid.</p>
<blockquote>
<p>-- C level backtrace information -------------------------------------------<br>
/home/ubuntu/.rvm/rubies/ruby-2.1.2/bin/../lib/libruby.so.2.1(+0x1b1495) [0x7ff465c8b495] vm_dump.c:685<br>
/home/ubuntu/.rvm/rubies/ruby-2.1.2/bin/../lib/libruby.so.2.1(+0x707dc) [0x7ff465b4a7dc] error.c:307<br>
/home/ubuntu/.rvm/rubies/ruby-2.1.2/bin/../lib/libruby.so.2.1(rb_bug+0xb7) [0x7ff465b4bc57] error.c:334<br>
/home/ubuntu/.rvm/rubies/ruby-2.1.2/bin/../lib/libruby.so.2.1(+0x138a36) [0x7ff465c12a36] signal.c:704<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7ff4657504a0]<br>
/lib/x86_64-linux-gnu/libc.so.6(malloc_usable_size+0x7) [0x7ff46579ea37]</p>
</blockquote>
<p>Are you using LD_PRELOAD with an alternative malloc implementation which<br>
does not provide malloc_usable_size?</p>
<p>That said, I'm not a big fan of Ruby calling malloc_usable_size because<br>
it is fragile and makes it harder to switch mallocs.</p> Ruby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=476972014-07-11T02:04:42Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Probably <code>malloc_usable_size</code> would access the pointer - 8, that means <code>ruby_xfree</code> was called with <code>(void *)1</code>.<br>
Does this happen with the trunk and recent 2.1 snapshots as the target version is set to <code>current: 2.2.0</code>?</p> Ruby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=491912014-10-03T17:49:05Zmaletor (Ellis Berner)eberner@gmail.com
<ul></ul><p>The version I am experiencing the issue is with 2.1.2 and 2.1.3.</p> Ruby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=693322018-01-05T21:01:16Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.2.0</i></del>)</li></ul> Ruby master - Bug #10026: Segmentation faulthttps://bugs.ruby-lang.org/issues/10026?journal_id=798122019-07-22T20:38:13Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>