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

Crash during asset precompilation with administrate and bootstrap-sass #706

Open
mvz opened this issue May 7, 2021 · 3 comments
Open

Crash during asset precompilation with administrate and bootstrap-sass #706

mvz opened this issue May 7, 2021 · 3 comments

Comments

@mvz
Copy link

mvz commented May 7, 2021

Expected behavior

No crash.

Actual behavior

When running bundle exec assets:precompile, the process crashes with a core dump

System configuration

  • Sprockets version: 4.0.2
  • Ruby version: 2.7.2, and 3.0.0

Example App (Reproduction)

https://github.com/mvz/example-app-sprockets-crash

@mvz
Copy link
Author

mvz commented May 7, 2021

Some notes:

@kyrylo
Copy link

kyrylo commented Jan 13, 2022

This occurs in my app even with Sprockets 3:

/Users/kyrylosilin/.gem/ruby/2.7.4/gems/sassc-2.4.0/lib/sassc/engine.rb:43: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin20]

-- 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.

-- Control frame information -----------------------------------------------
c:0214 p:---- s:1419 e:001418 CFUNC  :compile_data_context
c:0213 p:0314 s:1414 e:001413 METHOD /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sassc-2.4.0/lib/sassc/engine.rb:43
c:0212 p:0005 s:1402 e:001401 BLOCK  /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:40
c:0211 p:0052 s:1399 e:001398 METHOD /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sprockets-3.7.2/lib/sprockets/utils.rb:171
c:0210 p:0167 s:1392 e:001391 METHOD /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:39
c:0209 p:0007 s:1383 e:001382 METHOD /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sprockets-3.7.2/lib/sprockets/sass_processor.rb:30
c:0208 p:0047 s:1378 e:001377 METHOD /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75
c:0207 p:0014 s:1370 e:001369 BLOCK  /Users/kyrylosilin/.gem/ruby/2.7.4/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57 [FINISH]
c:0206 p:---- s:1365 e:001364 CFUNC  :reverse_each

@stanhu
Copy link

stanhu commented Nov 2, 2023

See sass/sassc-ruby#207 (comment).

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