https://redmine.ruby-lang.org/
https://redmine.ruby-lang.org/favicon.ico?1711330511
2012-12-21T20:28:02Z
Ruby Issue Tracking System
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34931
2012-12-21T20:28:02Z
tarui (Masaya Tarui)
tarui@prx.jp
<ul></ul><p>$ cat ruby<br>
"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"<br>
require 'dl'<br>
p DL::CPtr.new(4)[0]<br>
で<br>
$ ruby ruby<br>
としただけで同様でした。</p>
<p>どなたか rb_dump_backtrace_with_lines を直せますか?</p>
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34935
2012-12-21T20:52:11Z
ko1 (Koichi Sasada)
<ul><li><strong>Assignee</strong> set to <i>tarui (Masaya Tarui)</i></li></ul>
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34936
2012-12-21T21:17:10Z
tarui (Masaya Tarui)
tarui@prx.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 r38533.<br>
Masaya, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>vm_dump.c (rb_vm_bugreport): commentout addr2line call temporarily<br>
in order to avoid segv. anyone can fix addr2line?<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: $0を変更するとbug_reportでsegvする (Closed)" href="https://redmine.ruby-lang.org/issues/7597">#7597</a>] <a href="/issues/7597">[ruby-dev:46786]</a></li>
</ul>
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34938
2012-12-21T21:21:59Z
tarui (Masaya Tarui)
tarui@prx.jp
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Feedback</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>3</i></li></ul><p>担当者を振られたのでとりあえず、<br>
rb_dump_backtrace_with_lines<br>
を呼び出す部分をコメントアウトしておきました。</p>
<p>patch welcomeです。</p>
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34996
2012-12-22T02:21:14Z
kosaki (Motohiro KOSAKI)
kosaki.motohiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>This issue was solved with changeset r38543.<br>
Masaya, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>vm_dump.c (rb_vm_bugreport): revert r38533.</li>
<li>addr2line.c (fill_lines): add ELF sanity check.<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: $0を変更するとbug_reportでsegvする (Closed)" href="https://redmine.ruby-lang.org/issues/7597">#7597</a>] <a href="/issues/7597">[ruby-dev:46786]</a></li>
</ul>
Ruby master - Bug #7597: $0を変更するとbug_reportでsegvする
https://redmine.ruby-lang.org/issues/7597?journal_id=34997
2012-12-22T02:21:59Z
kosaki (Motohiro KOSAKI)
kosaki.motohiro@gmail.com
<ul></ul><p>なんか、Linux固有バグらしいのでたまにはメンテナの真似事らしきことをしてみました</p>