Closed dlangille closed 9 months ago
Workaround: Use node.js (pkg install www/node) INSTEAD of therubyracer. Remove therubyracer from the Gemfile, and execjs picks up the installed node package and runs.
This is what you can do in Gemfile file gem 'therubyracer', '0.11.3' Then run bundle update command, this will install previous version of therubyracer.
FWIW, this error happens on Ubuntu 14.04 as well. Downgrading to therubyracer 0.11.3 solves it there too.
I encountered this just now when installing on FreeBSD 8.4
[salsa@pokey ~/src/archive]$ bundle exec rake assets:precompile I, [2014-06-05T21:19:29.915000 #48131] INFO -- : Writing /usr/home/salsa/src/archive/public/assets/archive-5eedb2af6ec2b8f0ff315aad0e3449ac.png /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:99: [BUG] Bus Error at 0x0000080b34ef1b ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-freebsd8.4]
-- Control frame information ----------------------------------------------- c:0070 p:---- s:0283 e:000282 CFUNC :Run c:0069 p:0008 s:0280 e:000279 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:99 c:0068 p:0006 s:0278 e:000277 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/error.rb:84 [FINISH] c:0067 p:---- s:0274 e:000273 CFUNC :call c:0066 p:---- s:0272 e:000271 CFUNC :TryCatch c:0065 p:0015 s:0269 E:001748 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/error.rb:83 c:0064 p:0032 s:0266 E:0010d0 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:99 c:0063 p:0021 s:0262 e:000261 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:248 [FINISH] c:0062 p:---- s:0260 e:000259 CFUNC :call c:0061 p:---- s:0258 e:000257 CFUNC :HandleScope c:0060 p:0015 s:0255 E:0010e8 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:245 [FINISH] c:0059 p:---- s:0253 e:000252 CFUNC :call c:0058 p:---- s:0251 e:000250 CFUNC :Locker c:0057 p:0041 s:0248 E:001f90 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:244 c:0056 p:0018 s:0244 e:000243 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:204 c:0055 p:0050 s:0240 E:001dd0 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/therubyracer-0.12.1/lib/v8/context.rb:94 c:0054 p:0030 s:0234 e:000233 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb:11 c:0053 p:0008 s:0232 e:000231 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb:80 [FINISH] c:0052 p:---- s:0229 e:000228 CFUNC :call c:0051 p:---- s:0227 e:000226 CFUNC :Locker c:0050 p:0023 s:0224 E:000008 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb:78 c:0049 p:0020 s:0219 E:001908 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb:9 [FINISH] c:0048 p:---- s:0214 e:000213 CFUNC :new c:0047 p:0012 s:0209 e:000208 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/runtime.rb:44 c:0046 p:0011 s:0205 e:000204 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/module.rb:27 c:0045 p:0118 s:0201 e:000200 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/uglifier-2.5.0/lib/uglifier.rb:99 [FINISH] c:0044 p:---- s:0197 e:000196 CFUNC :new c:0043 p:0060 s:0193 e:000192 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/uglifier_compressor.rb:25 c:0042 p:0034 s:0187 e:000186 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103 c:0041 p:0025 s:0181 E:000da0 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/context.rb:197 [FINISH] c:0040 p:---- s:0176 e:000175 CFUNC :each c:0039 p:0145 s:0173 E:0022f8 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/context.rb:194 c:0038 p:0104 s:0162 e:000161 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/bundled_asset.rb:25 [FINISH] c:0037 p:---- s:0155 e:000154 CFUNC :new c:0036 p:0073 s:0149 e:000148 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:377 c:0035 p:0014 s:0143 e:000142 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:94 c:0034 p:0060 s:0141 e:000140 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching.rb:58 c:0033 p:0050 s:0135 e:000131 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:93 c:0032 p:0140 s:0125 e:000124 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:287 c:0031 p:0060 s:0117 e:000116 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:61 c:0030 p:0011 s:0109 e:000108 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:211 c:0029 p:0021 s:0107 e:000106 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:257 c:0028 p:0012 s:0103 e:000102 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:210 c:0027 p:0009 s:0097 e:000096 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:119 [FINISH] c:0026 p:---- s:0092 e:000091 CFUNC :each c:0025 p:0051 s:0089 e:000088 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:118 c:0024 p:0012 s:0084 e:000083 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-2.1.3/lib/sprockets/rails/task.rb:61 c:0023 p:0036 s:0082 e:000081 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/rake/sprocketstask.rb:146 c:0022 p:0007 s:0077 e:000076 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-2.1.3/lib/sprockets/rails/task.rb:60 [FINISH] c:0021 p:---- s:0075 e:000074 CFUNC :call c:0020 p:0028 s:0070 e:000069 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240 [FINISH] c:0019 p:---- s:0067 e:000066 CFUNC :each c:0018 p:0113 s:0064 e:000063 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235 c:0017 p:0075 s:0060 e:000059 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179 c:0016 p:0014 s:0058 e:000057 METHOD /home/salsa/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211 c:0015 p:0025 s:0055 e:000054 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172 c:0014 p:0036 s:0048 e:000047 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165 c:0013 p:0033 s:0043 e:000042 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150 c:0012 p:0009 s:0036 e:000035 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 [FINISH] c:0011 p:---- s:0033 e:000032 CFUNC :each c:0010 p:0039 s:0030 e:000029 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 c:0009 p:0025 s:0028 e:000027 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115 c:0008 p:0007 s:0024 e:000023 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100 c:0007 p:0019 s:0021 e:000020 BLOCK /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78 c:0006 p:0006 s:0019 e:000018 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176 c:0005 p:0007 s:0015 e:000014 METHOD /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75 c:0004 p:0040 s:0012 e:000011 TOP /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33 [FINISH] c:0003 p:---- s:0010 e:000009 CFUNC :load c:0002 p:0135 s:0006 E:002388 EVAL /usr/home/salsa/src/archive/vendor/bundle/ruby/2.1.0/bin/rake:23 [FINISH] c:0001 p:0000 s:0002 E:001558 TOP [FINISH]