https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17097754782013-06-04T20:33:34ZRuby Issue Tracking SystemRuby master - Bug #8486: Random segmentation faulthttps://bugs.ruby-lang.org/issues/8486?journal_id=396892013-06-04T20:33:34Zmanudwarf (Emmanuel Bourgerie)manu.dwarf@gmail.com
<ul></ul><p>I forgot to mention : I tried with ruby 2.0.0 and updated bundle, changed nothing...</p> Ruby master - Bug #8486: Random segmentation faulthttps://bugs.ruby-lang.org/issues/8486?journal_id=396912013-06-04T22:23:14Zzzak (zzak _)
<ul></ul><p>Can you reproduce without rails and ruby 2.0.0-p195</p>
<p>On Tuesday, June 4, 2013, manudwarf (Emmanuel Bourgerie) wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Random segmentation fault (Closed)" href="https://bugs.ruby-lang.org/issues/8486">#8486</a> has been updated by manudwarf (Emmanuel Bourgerie).</p>
<h2>I forgot to mention : I tried with ruby 2.0.0 and updated bundle, changed<br>
nothing...</h2>
<p>Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Random segmentation fault (Closed)" href="https://bugs.ruby-lang.org/issues/8486">#8486</a>: Random segmentation fault<br>
<a href="https://bugs.ruby-lang.org/issues/8486#change-39689" class="external">https://bugs.ruby-lang.org/issues/8486#change-39689</a></p>
<p>Author: manudwarf (Emmanuel Bourgerie)<br>
Status: Open<br>
Priority: Normal<br>
Assignee:<br>
Category:<br>
Target version:<br>
ruby -v: ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-darwin11.4.2]<br>
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN</p>
<p>Hello,</p>
<p>Before starting, this is my first bug report here, feel free to tell me if<br>
I need to add/modify anything.</p>
<p>I came across a weird segmentation fault, and I apologies for not being<br>
able to be more precise about what is happening.<br>
Although I have a how-to-reproduce, the error happens at random points in<br>
either rails or gems.<br>
I have several RoR applications, and this one is the only having this<br>
problem.</p>
<p>Environment : MacOS, see ruby -v, rvm (stable) and I attached my<br>
Gemfile.lock and CrashReporter.</p>
<p>How to reproduce :</p>
<ol>
<li>rails s</li>
<li>Open localhost:3000 in browser (is OK)</li>
<li>Reload</li>
</ol>
<p>You get the segmentation fault. Always the same : first loading is<br>
correct, then the second fails (even if I restart rails in between).</p>
<p>It is not on one component, nonetheless I have the same filenames if I try<br>
again (line of code between parenthesis) :</p>
<ul>
<li>gems/dalli-2.3.0/lib/dalli/socket.rb:31 (value << kgio_read!(count -<br>
value.bytesize))</li>
<li>gems/activesupport-3.2.13/lib/active_support/core_ext/hash/except.rb:15<br>
(dup.except!(*keys))</li>
<li>gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:51<br>
(@_partial_renderer ||= PartialRenderer.new(@lookup_context))</li>
<li>
</ul>
<p>gems/activesupport-3.2.13/lib/active_support/core_ext/module/remove_method.rb:4<br>
(remove_method(method))</p>
<ul>
<li>code/local/app/helpers/cms_helper.rb:152 (prev_char_ind =<br>
paragraph[0..prev_char_ind].rindex(" ") - 1)</li>
<li>gems/haml-3.1.4/lib/haml/filters.rb:214 (#{text.rstrip.gsub("\n", "\n<br>
")})</li>
<li>
</ul>
<p>gems/rack-mini-profiler-0.1.23/Ruby/lib/mini_profiler/sql_timer_struct.rb:15<br>
(Kernel.caller.each do |ln|)</p>
<p>As you can see, I can't isolate some sort of "pattern".</p>
<p>--<br>
<a href="http://bugs.ruby-lang.org/" class="external">http://bugs.ruby-lang.org/</a></p>
</blockquote> Ruby master - Bug #8486: Random segmentation faulthttps://bugs.ruby-lang.org/issues/8486?journal_id=450452014-02-09T02:56:04Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul> Ruby master - Bug #8486: Random segmentation faulthttps://bugs.ruby-lang.org/issues/8486?journal_id=797022019-07-18T17:34:15Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Backport</strong> deleted (<del><i>1.9.3: UNKNOWN, 2.0.0: UNKNOWN</i></del>)</li></ul>