https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1709775478
2012-03-28T14:02:08Z
Ruby Issue Tracking System
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=25295
2012-03-28T14:02:08Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>3</i></li></ul><p>=begin<br>
Seems very strange.<br>
(({RUBY_PATCHLEVEL})) is a (({Fixnum})) and has no (({slice})) method, so (({NoMethodError})) occurs on my machine.<br>
What happens with just:<br>
p RUBY_PATCHLEVEL<br>
?<br>
=end</p>
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=25314
2012-03-29T03:43:44Z
drbrain (Eric Hodel)
drbrain@segment7.net
<ul></ul><p>According to the crash report, the crash occurs while textmate is handling the NoMethodError, perhaps while reformatting the backtrace.</p>
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=32107
2012-10-31T21:53:42Z
mame (Yusuke Endoh)
mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>sorah (Sorah Fukumori)</i></li></ul><p>Anyone can reproduce? Sorah-don, could you give it a try?<br>
I think that textmate looks irrelevant in the following trace.</p>
<blockquote>
<p>Thread 0 Crashed:: Dispatch queue: com.apple.main-thread<br>
0 libsystem_kernel.dylib 0x00007fff8f0f1ce2 __pthread_kill + 10<br>
1 libsystem_c.dylib 0x00007fff8f29c7d2 pthread_kill + 95<br>
2 libsystem_c.dylib 0x00007fff8f28da7a abort + 143<br>
3 libruby.1.9.1.dylib 0x000000010bd7e7d4 rb_bug + 212<br>
4 libruby.1.9.1.dylib 0x000000010be476bf sigsegv + 127<br>
5 libsystem_c.dylib 0x00007fff8f2eecfa _sigtramp + 26<br>
6 libruby.1.9.1.dylib 0x000000010beac7a8 rb_backref_get + 72 (vm_insnhelper.c:978)<br>
7 libruby.1.9.1.dylib 0x000000010be1f36f rb_reg_search + 207 (re.c:1358)<br>
8 libruby.1.9.1.dylib 0x000000010be640af rb_str_sub_bang + 271 (string.c:3613)<br>
9 libruby.1.9.1.dylib 0x000000010be64a44 rb_str_sub + 180 (string.c:3733)<br>
10 libruby.1.9.1.dylib 0x000000010bec5257 vm_call_method + 999 (vm_insnhelper.c:404)<br>
11 libruby.1.9.1.dylib 0x000000010beb334f vm_exec_core + 18767 (insns.def:1015)<br>
12 libruby.1.9.1.dylib 0x000000010beb7fb3 vm_exec + 1459 (vm.c:1220)<br>
13 libruby.1.9.1.dylib 0x000000010beb931d rb_vm_invoke_proc + 877 (vm.c:624)<br>
14 libruby.1.9.1.dylib 0x000000010bd8594c rb_exec_end_proc + 316 (eval_jump.c:128)<br>
15 libruby.1.9.1.dylib 0x000000010bd85a65 ruby_finalize_0 + 101 (eval.c:93)<br>
16 libruby.1.9.1.dylib 0x000000010bd85ba0 ruby_cleanup + 304 (eval.c:135)<br>
17 libruby.1.9.1.dylib 0x000000010bd85ef3 ruby_run_node + 67 (eval.c:244)<br>
18 ruby 0x000000010bd2eedf main + 79 (main.c:40)<br>
19 ruby 0x000000010bd2ee84 start + 52</p>
</blockquote>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p>
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=37045
2013-02-26T10:19:41Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Target version</strong> changed from <i>1.9.3</i> to <i>2.6</i></li></ul>
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=68758
2017-12-25T18:15:04Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.6</i></del>)</li></ul>
Ruby master - Bug #6215: print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
https://bugs.ruby-lang.org/issues/6215?journal_id=75036
2018-11-22T04:17:00Z
mame (Yusuke Endoh)
mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Rejected</i></li></ul><p>Closing. Please reopen if anyone could reproduce the bug.</p>