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

Segmentation fault error when precompiling assets #446

Open
jussihirvi opened this issue Mar 3, 2022 · 2 comments
Open

Segmentation fault error when precompiling assets #446

jussihirvi opened this issue Mar 3, 2022 · 2 comments

Comments

@jussihirvi
Copy link

On rails assets:precompileI got this error after I upgraded ruby from 2.7.2 to 2.7.5.

/Users/myself/.rvm/gems/ruby-2.7.5@refinery-rails6/gems/sassc-2.4.0/lib/sassc/engine.rb:43: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-darwin18]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.                                                        
Don't forget to include the above Crash Report log file in bug reports.     

I am using rails 6.0.4.6 and sass-rails 6.0.0. Deleting everything from the assets folder (except config/manifest.js) did not help.

The problem vanished after I downgraded sass-rails to the newest 5.x version (5.1.0). I also had to downgrade sprockets from 4.0.3 to 3.7.2, because sass-rails 5.1.0 requires sprockets version <4.

@subelsky
Copy link

we are experiencing the same issue. not sure what changed, it seems like it just stopped working. still investigating.

@fastjames
Copy link

Could this issue be related to sass/sassc-ruby#207 ?

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

3 participants