Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Osm-seed web container bug - Illegal instruction at 0x00007faca01c7076 #221

Closed
Rub21 opened this issue Jan 18, 2022 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Rub21
Copy link
Collaborator

Rub21 commented Jan 18, 2022

Facing some issue with the web container, it is happening when we are deploying in kubernetes or minikube cluster, whike docker-compose up works fine the web container.

Waiting to start rails ports server...
Waiting to start rails ports server...
/var/.gem/ruby/gems/ffi-1.15.5/lib/ffi/library.rb:112: [BUG] Illegal instruction at 0x00007faca01c7076
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0085 p:---- s:0479 e:000478 CFUNC  :open
c:0084 p:0022 s:0473 e:000472 BLOCK  /var/.gem/ruby/gems/ffi-1.15.5/lib/ffi/library.rb:112 [FINISH]
c:0083 p:---- s:0464 e:000463 CFUNC  :each
c:0082 p:0113 s:0460 e:000459 BLOCK  /var/.gem/ruby/gems/ffi-1.15.5/lib/ffi/library.rb:109 [FINISH]
c:0081 p:---- s:0453 e:000452 CFUNC  :map
c:0080 p:0069 s:0449 e:000448 METHOD /var/.gem/ruby/gems/ffi-1.15.5/lib/ffi/library.rb:99
c:0079 p:0079 s:0442 e:000441 CLASS  /var/.gem/ruby/gems/sassc-2.2.1/lib/sassc/native.rb:11
c:0078 p:0007 s:0438 e:000437 CLASS  /var/.gem/ruby/gems/sassc-2.2.1/lib/sassc/native.rb:6
c:0077 p:0014 s:0435 e:000434 TOP    /var/.gem/ruby/gems/sassc-2.2.1/lib/sassc/native.rb:5 [FINISH]
.
.
.
[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

Waiting to start rails ports server...
/var/www/start.sh: line 48:    32 Aborted                 (core dumped) bundle exec rails db:migrate

complete log 👉 https://gist.github.com/Rub21/815cc86e7891bde7dc3e8c0b373cfa16

cc. @batpad

@Rub21 Rub21 added the bug Something isn't working label Jan 18, 2022
@batpad
Copy link
Member

batpad commented Jan 18, 2022

Not sure why this is happening in Kubernetes but not on docker-compose, but this seems to be an issue with sassc: sass/sassc-ruby#146

There seem to be a few things we can try. Can also dig more tomorrow in case you are unable to fix.

@Rub21
Copy link
Collaborator Author

Rub21 commented Feb 3, 2022

Fixed!

@Rub21 Rub21 closed this as completed Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants