https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112015-03-22T10:33:55ZRuby Issue Tracking SystemRuby master - Bug #10993: therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault at 0x30c124 ruby 2.1.5p273 (2014-11-13 revision 48405) [armv7l-linux-eabihf]https://bugs.ruby-lang.org/issues/10993?journal_id=519132015-03-22T10:33:55Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>File</strong> <a href="/attachments/5125">bug-10993.log</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5125/bug-10993.log">bug-10993.log</a> added</li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/51913/diff?detail_id=37400">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Third Party's Issue</i></li><li><strong>Priority</strong> changed from <i>5</i> to <i>3</i></li></ul><p>Seems happening inside therubyracer.<br>
Could you ask the author of it?</p> Ruby master - Bug #10993: therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault at 0x30c124 ruby 2.1.5p273 (2014-11-13 revision 48405) [armv7l-linux-eabihf]https://bugs.ruby-lang.org/issues/10993?journal_id=520542015-04-06T22:27:16Zbasilmir (Mir S.)mircea@unom.ro
<ul></ul><p>Yes! Managed to narrow it down to 'therubyracer' myself. Apparently it's a known issue with ARM devices, essentially the Raspberry Pi 2 and older. Gitlab seems to have the same issues as it relies on it too.<br>
<a href="https://github.com/cowboyd/therubyracer/issues/317" class="external">https://github.com/cowboyd/therubyracer/issues/317</a></p>
<p>To fix this you need to install a precompiled node js package via apt-get or similar and edit your Gemfile and remove (put # before the line) gem 'therubyracer'.</p>
<p><a href="http://stackoverflow.com/questions/29243824/ruby-on-raspberry-pi-2-with-raspbian-webrick-crash-probably-during-asset-compila" class="external">http://stackoverflow.com/questions/29243824/ruby-on-raspberry-pi-2-with-raspbian-webrick-crash-probably-during-asset-compila</a></p>
<p>I guess we can close this.</p>