https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-05-04T19:27:55ZRuby Issue Tracking SystemRuby 1.8 - Bug #6383: Segfault in Timeout module when compiled with GCC 4.7https://redmine.ruby-lang.org/issues/6383?journal_id=264422012-05-04T19:27:55Zphasis68 (Heesob Park)phasis@gmail.com
<ul></ul><p>I can reproduce this issue on Arch Linux 3.3.4.</p>
<p>I guess the over-optimization of GCC 4.7 caused the segfault.</p>
<p>Try to build Ruby 1.8.7 with the following config options:<br>
./configure CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls"</p>
<p>Don't ask me why. I just found it by trial and error.</p> Ruby 1.8 - Bug #6383: Segfault in Timeout module when compiled with GCC 4.7https://redmine.ruby-lang.org/issues/6383?journal_id=399332013-06-14T22:24:10Zrogerdpack (Roger Pack)rogerpack2005@gmail.com
<ul></ul><p>(thanks for the workaround phasis68). Does this occur with gcc 4.8 anyone know? (i.e. was it a bug in 4.7 now fixed in 4.8...?)</p> Ruby 1.8 - Bug #6383: Segfault in Timeout module when compiled with GCC 4.7https://redmine.ruby-lang.org/issues/6383?journal_id=399422013-06-15T15:40:08Zdrbrain (Eric Hodel)drbrain@segment7.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li><li><strong>Priority</strong> changed from <i>5</i> to <i>Normal</i></li></ul><p>Sorry, but Ruby 1.8.7 is closed for bug fixes. If you can reproduce with ruby 2.0 or 1.9.3 please open a new issue.</p>