https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-11-01T01:31:06ZRuby Issue Tracking SystemRuby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217202011-11-01T01:31:06Zpragdave (Dave Thomas)dave@pragprog.com
<ul><li><strong>Target version</strong> set to <i>1.9.3</i></li></ul> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217352011-11-01T09:29:13Zmrkn (Kenta Murata)muraken@gmail.com
<ul></ul><p>=begin<br>
Hi Dave,<br>
I cannot reproduce the bus error.</p>
<p>[09:25:17#3]mrkn$ ruby -v ~/Downloads/prog.rb<br>
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]<br>
cat<br>
dog<br>
cat<br>
dog</p>
<p>Please tell us your compile options and your compiler version.<br>
=end</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217362011-11-01T09:45:29Zmrkn (Kenta Murata)muraken@gmail.com
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Assignee</strong> set to <i>mrkn (Kenta Murata)</i></li></ul> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217552011-11-01T13:18:29Zpragdave (Dave Thomas)dave@pragprog.com
<ul><li><strong>File</strong> <a href="/attachments/2177">ruby-1.9.3-p0.tgz</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2177/ruby-1.9.3-p0.tgz">ruby-1.9.3-p0.tgz</a> added</li></ul><p>I've attached the rvm logs from the installation</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217562011-11-01T13:26:15Zpragdave (Dave Thomas)dave@pragprog.com
<ul></ul><p>Dave Thomas wrote:</p>
<blockquote>
<p>I've attached the rvm logs from the installation</p>
</blockquote>
<p>Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' and one 'dog'?</p>
<p>Dave</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217572011-11-01T13:37:42Zmrkn (Kenta Murata)muraken@gmail.com
<ul></ul><p>Dave Thomas wrote:</p>
<blockquote>
<p>Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' and one 'dog'?</p>
</blockquote>
<p>Last two lines of output are the result of "puts ['cat', 'dog']", this array is the return value of the fiber block.</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217912011-11-01T23:11:11Zpragdave (Dave Thomas)dave@pragprog.com
<ul></ul><p>Kenta Murata wrote:</p>
<blockquote>
<p>Dave Thomas wrote:</p>
<blockquote>
<p>Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' and one 'dog'?</p>
</blockquote>
<p>Last two lines of output are the result of "puts ['cat', 'dog']", this array is the return value of the fiber block.</p>
</blockquote>
<p>Of course. Sorry...</p>
<p>I have more information. I removed rvm totally from this machine and reinstalled both 1.9.2 and 1.9.3. Both versions now show this problem (previously 1.9.2 worked). These are the first interpreters I have installed since upgrading this machine to Lion.</p>
<p>So I tried it on my laptop, also running Lion. Both 1.9.2 and 1.9.3 work there.</p>
<p>This appears to be a local configuration issue on my machine.</p>
<p>Sorry for the false alarm.</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=217982011-11-02T01:23:13Ztelemachus (Peter Aronoff)telemachus@arpinum.org
<ul></ul><p>On Tue Nov 01 2011 @ 11:11, Dave Thomas wrote:</p>
<blockquote>
<p>I have more information. I removed rvm totally from this machine and<br>
reinstalled both 1.9.2 and 1.9.3. Both versions now show this problem<br>
(previously 1.9.2 worked). These are the first interpreters I have<br>
installed since upgrading this machine to Lion.</p>
<p>So I tried it on my laptop, also running Lion. Both 1.9.2 and 1.9.3 work<br>
there.</p>
<p>This appears to be a local configuration issue on my machine.</p>
<p>Sorry for the false alarm.</p>
</blockquote>
<p>This may or may not be relevant, but the newest versions of Xcode (4.2<br>
and/or 4.2.1) don't seem to install gcc-4.2 at all (only the llvm-gcc). It<br>
may be that you're seeing problems due to the compiler being different on<br>
the two machines?</p>
<p>See this issue for related discussion:<br>
<a href="https://github.com/sstephenson/ruby-build/issues/62" class="external">https://github.com/sstephenson/ruby-build/issues/62</a></p>
<p>--<br>
[D]igital information lasts forever--or five years, whichever comes first.<br>
"Ensuring the Longevity of Digital Information", Jeff Rothenberg</p> Ruby master - Bug #5529: Bus error with Fibers on OSX Lionhttps://redmine.ruby-lang.org/issues/5529?journal_id=232102012-01-10T11:07:35Zmrkn (Kenta Murata)muraken@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul>