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

ActiveAdmin is causing a segmentation fault with sassc on Ruby 2.5.5 #5921

Closed
ndbroadbent opened this issue Oct 29, 2019 · 1 comment
Closed

Comments

@ndbroadbent
Copy link
Contributor

ndbroadbent commented Oct 29, 2019

Hello,

I'm getting a consistent segmentation fault after I upgraded some gem dependencies, including sassc and activeadmin: sass/sassc-ruby#167

This is happening when I visit the admin pages in production (not during the assets precompile task, which is fine.)

I'm not 100% sure about what started causing this segmentation fault (it's very hard to narrow it down, because I can only reproduce this consistently on production or staging.) But I also upgraded activeadmin from 2.3.1 to 2.4.0. The crash is happening with both sassc 2.2.1 and 2.0.1.

I was hoping that I might be able to remove sassc for now and go back to Ruby Sass, because otherwise I'm completely unable to access my ActiveAdmin dashboard. But it looks like sassc is a fixed dependency.

Here are the logs for my crash: https://gist.github.com/ndbroadbent/3d0f78235dc9056ca9eb9464d53b4a9c

Related issues for sassc + activeadmin:

A list of all the changes in my Gemfile.lock that seem like they might be related:

  • activeadmin 2.3.1 => 2.4.0
  • haml 5.1.1 => 5.1.2
  • sass-rails 5.0.7 => 5.1.0
  • sassc 2.0.1 => 2.2.1
  • sassc-rails 2.1.1 => 2.1.2
    • I downgraded sass/sassc to the original versions and the crash is still happening
  • simple_form 5.0.0 => 5.0.1
  • tilt 2.0.9 => 2.0.10
  • bourbon 5.1.0 => 6.0.0
@ndbroadbent ndbroadbent changed the title Segmentation fault with sassc on Ruby 2.5.5, and no workaround Segmentation fault with sassc on Ruby 2.5.5 Oct 29, 2019
@ndbroadbent ndbroadbent changed the title Segmentation fault with sassc on Ruby 2.5.5 ActiveAdmin is causing a segmentation fault with sassc on Ruby 2.5.5 Oct 29, 2019
@ndbroadbent
Copy link
Contributor Author

Sorry, this wasn't related to ActiveAdmin! I just some had inline SCSS that I was rendering in my ActiveAdmin view, which was causing the sassc crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant