https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112021-09-02T00:10:21ZRuby Issue Tracking SystemRuby master - Bug #18142: Segmentation fault with Ruby 3.0.2https://bugs.ruby-lang.org/issues/18142?journal_id=935192021-09-02T00:10:21Zmame (Yusuke Endoh)mame@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>k0kubun (Takashi Kokubun)</i></li></ul> Ruby master - Bug #18142: Segmentation fault with Ruby 3.0.2https://bugs.ruby-lang.org/issues/18142?journal_id=935232021-09-02T00:29:10Zk0kubun (Takashi Kokubun)takashikkbn@gmail.com
<ul></ul><blockquote>
<p>/home/hsbt/.rbenv/versions/3.0.2/lib/libruby.so.3.0(rb_mjit_inlinable_iseq+0x38) [0x7f2f63217468] mjit_compile.c:451</p>
</blockquote>
<p>The line is <a href="https://github.com/ruby/ruby/blob/v3_0_2/mjit_compile.c#L451" class="external">https://github.com/ruby/ruby/blob/v3_0_2/mjit_compile.c#L451</a>. It seems like the captured CC was wrongly GC-ed.</p> Ruby master - Bug #18142: Segmentation fault with Ruby 3.0.2https://bugs.ruby-lang.org/issues/18142?journal_id=935302021-09-02T07:43:46Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul></ul><p>I switched Ruby 3.1.0-dev(2021-09-02) from 3.0.2. After that, I have no error while 6 hours.</p> Ruby master - Bug #18142: Segmentation fault with Ruby 3.0.2https://bugs.ruby-lang.org/issues/18142?journal_id=1021902023-03-08T05:00:20Zk0kubun (Takashi Kokubun)takashikkbn@gmail.com
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>We replaced the implementation in [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Simplify MJIT implementation (Closed)" href="https://bugs.ruby-lang.org/issues/19420">#19420</a>] and we don't use <code>CRITICAL_SECTION_START</code> anymore. Closing.</p>