https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112013-12-03T20:13:55ZRuby Issue Tracking SystemBackport193 - Backport #9206: protect FL_MARK at rb_obj_clone()https://redmine.ruby-lang.org/issues/9206?journal_id=433942013-12-03T20:13:55ZauthorNari (Narihiro Nakamura)authorNari@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/4083">fix_to_unprotected_FL_MARK.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4083/fix_to_unprotected_FL_MARK.patch">fix_to_unprotected_FL_MARK.patch</a> added</li></ul><p>肝心のパッチを付けるのを忘れてました…。</p> Backport193 - Backport #9206: protect FL_MARK at rb_obj_clone()https://redmine.ruby-lang.org/issues/9206?journal_id=438242013-12-22T14:14:25Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r44337.<br>
Narihiro, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>object.c (rb_obj_clone): protect FL_MARK of a dest object. A lazy<br>
sweeper free up a dest object if a marker is invoked immediately<br>
following allocate a dest object in rb_obj_alloc().<br>
[Backport <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Backport: protect FL_MARK at rb_obj_clone() (Closed)" href="https://redmine.ruby-lang.org/issues/9206">#9206</a>]</li>
</ul>