Ever since the last week or two, I have started to notice some issues in that I cannot restart Ares with bin/startares. The error I receive is this:
Running database updates.
/home/ares/.rvm/gems/ruby-2.6.3/gems/ffi-1.12.2/lib/ffi/library.rb:112: [BUG] Illegal instruction at 0x00007f4c7cc6ce30
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0030 p:---- s:0143 e:000142 CFUNC :open
c:0029 p:0022 s:0137 e:000136 BLOCK /home/ares/.rvm/gems/ruby-2.6.3/gems/ffi-1.12.2/lib/ffi/library.rb:112 [FINISH]
c:0028 p:---- s:0128 e:000127 CFUNC :each
c:0027 p:0113 s:0124 e:000123 BLOCK /home/ares/.rvm/gems/ruby-2.6.3/gems/ffi-1.12.2/lib/ffi/library.rb:109 [FINISH]
c:0026 p:---- s:0117 e:000116 CFUNC :map
c:0025 p:0069 s:0113 e:000112 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/ffi-1.12.2/lib/ffi/library.rb:99
c:0024 p:0079 s:0106 e:000105 CLASS /home/ares/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:11
c:0023 p:0007 s:0102 e:000101 CLASS /home/ares/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:6
c:0022 p:0014 s:0099 e:000098 TOP /home/ares/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:5 [FINISH]
c:0021 p:---- s:0096 e:000095 CFUNC :require_relative
c:0020 p:0021 s:0091 e:000090 TOP /home/ares/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc.rb:31 [FINISH]
c:0019 p:---- s:0088 e:000087 CFUNC :require
c:0018 p:0231 s:0083 e:000082 TOP /home/ares/aresmush/engine/aresmush.rb:33 [FINISH]
c:0017 p:---- s:0080 e:000079 CFUNC :require
c:0016 p:0036 s:0075 e:000074 TOP /home/ares/aresmush/Rakefile.rb:3 [FINISH]
c:0015 p:---- s:0072 e:000071 CFUNC :load
c:0014 p:0006 s:0067 e:000066 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/rake_module.rb:29
c:0013 p:0200 s:0062 e:000061 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:703
c:0012 p:0005 s:0056 e:000055 BLOCK /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:104
c:0011 p:0002 s:0053 e:000052 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:186
c:0010 p:0005 s:0048 e:000047 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:103
c:0009 p:0014 s:0044 e:000043 BLOCK /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:82
c:0008 p:0002 s:0041 e:000040 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:186
c:0007 p:0014 s:0036 e:000035 METHOD /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/lib/rake/application.rb:80
c:0006 p:0020 s:0031 e:000030 TOP /home/ares/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/exe/rake:27 [FINISH]
c:0005 p:---- s:0028 e:000027 CFUNC :load
c:0004 p:0109 s:0023 E:0006b0 EVAL /home/ares/.rvm/gems/ruby-2.6.3/bin/rake:23 [FINISH]
c:0003 p:---- s:0018 e:000017 CFUNC :eval
c:0002 p:0195 s:0011 E:001fa8 EVAL /home/ares/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24 [FINISH]
c:0001 p:0000 s:0003 E:001840 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
...
...
...
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
I googled around and got to https://bugs.ruby-lang.org/issues/16280, which led me to a thread that suggested changing my Gemfile to have
gem “sassc”, “< 2.2.0”
rather than the >= 2.2.1 which is currently in the file.
This worked, and I got Ares to restart with the changed Gemfile, but not sure what changed to cause this to happen! Possibly a server update? I’m on ubuntu 18.04.