Open jcoyne opened 4 years ago
Same here at sassc-2.3.0/lib/sassc/engine.rb:43: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
I also encounter it sometimes on
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin18]
-- Control frame information -----------------------------------------------
c:0046 p:---- s:0336 e:000335 CFUNC :compile_data_context
c:0045 p:0318 s:0331 e:000330 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/engine.rb:43
c:0044 p:0006 s:0319 e:000318 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:40
c:0043 p:0028 s:0316 e:000315 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/utils.rb:138
c:0042 p:0164 s:0309 e:000308 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:39
c:0041 p:0053 s:0300 e:000299 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0040 p:0016 s:0292 e:000291 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0039 p:---- s:0287 e:000286 CFUNC :reverse_each
c:0038 p:0039 s:0283 e:000282 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65
c:0037 p:0015 s:0275 e:000274 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:22
c:0036 p:0013 s:0270 e:000269 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:33
c:0035 p:0053 s:0265 e:000264 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0034 p:0016 s:0257 e:000256 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0033 p:---- s:0252 e:000251 CFUNC :reverse_each
c:0032 p:0039 s:0248 e:000247 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65
c:0031 p:0476 s:0240 e:000239 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:182
c:0030 p:0073 s:0218 e:000217 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:59
c:0029 p:0038 s:0212 e:000211 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:335
c:0028 p:0157 s:0202 e:000201 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:43
c:0027 p:0022 s:0193 e:000189 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/cached_environment.rb:44
c:0026 p:0111 s:0185 e:000184 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/bundle.rb:27
c:0025 p:0053 s:0167 e:000166 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0024 p:0016 s:0159 e:000158 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0023 p:---- s:0154 e:000153 CFUNC :reverse_each
c:0022 p:0039 s:0150 e:000149 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65
c:0021 p:0476 s:0142 e:000141 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:182
c:0020 p:0073 s:0120 e:000119 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:59
c:0019 p:0038 s:0114 e:000113 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:335
c:0018 p:0157 s:0104 e:000103 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:43
c:0017 p:0022 s:0095 e:000091 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/cached_environment.rb:44
c:0016 p:0037 s:0087 e:000086 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/base.rb:81
c:0015 p:0027 s:0079 e:000078 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/base.rb:88
c:0014 p:0010 s:0068 e:000067 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/manifest.rb:125
c:0013 p:0021 s:0065 e:000064 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
c:0012 p:0003 s:0058 e:000057 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable [FINISH]
c:0011 p:---- s:0055 e:000054 CFUNC :synchronize
c:0010 p:0018 s:0051 e:000050 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable
c:0009 p:0005 s:0047 e:000046 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
c:0008 p:0023 s:0042 e:000041 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb:563
c:0007 p:0009 s:0036 e:000035 METHOD /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_exec
c:0006 p:0049 s:0028 e:000027 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_exec [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC :loop
c:0004 p:0006 s:0018 e:000017 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_exec [FINISH]
c:0003 p:---- s:0015 e:000014 CFUNC :catch
c:0002 p:0020 s:0010 e:000009 BLOCK /Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_exec [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:324:in `block in create_worker'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:324:in `catch'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:325:in `block (2 levels) in create_worker'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:325:in `loop'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:342:in `block (3 levels) in create_worker'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:353:in `run_task'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb:563:in `block in realize'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in `execute'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/manifest.rb:125:in `block (2 levels) in find'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/base.rb:88:in `find_all_linked_assets'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/base.rb:81:in `find_asset'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/cached_environment.rb:44:in `load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:43:in `load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:335:in `fetch_asset_from_dependency_cache'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:59:in `block in load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:182:in `load_from_unloaded'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `reverse_each'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66:in `block in call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84:in `call_processor'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/bundle.rb:27:in `call'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/cached_environment.rb:44:in `load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:43:in `load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:335:in `fetch_asset_from_dependency_cache'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:59:in `block in load'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/loader.rb:182:in `load_from_unloaded'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `reverse_each'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66:in `block in call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84:in `call_processor'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:33:in `call'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:22:in `block in <class:CompositeProcessor>'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65:in `reverse_each'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66:in `block in call_processors'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84:in `call_processor'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:39:in `call'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sprockets-4.0.0/lib/sprockets/utils.rb:138:in `module_include'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:40:in `block in call'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/engine.rb:43:in `render'
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/engine.rb:43:in `compile_data_context'
-- Machine register context ------------------------------------------------
rax: 0x0000000000000000 rbx: 0x00007f9e48898148 rcx: 0x23ba3ebf18f60017
rdx: 0x23ba3ebf18f60017 rdi: 0x0000000000000000 rsi: 0x00007000048a6400
rbp: 0x00007000048a6420 rsp: 0x00007000048a6420 r8: 0x00007f9ebd584e00
r9: 0x00007f9e4cd63320 r10: 0x000000010d4c6e48 r11: 0x000000010d4c6e10
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x00007f9e3f702840
r15: 0x00007f9e48898130 rip: 0x000000010d64f424 rfl: 0x0000000000010293
-- C level backtrace information -------------------------------------------
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_bugreport+0x82) [0x10a53e8b2]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_bug_context+0x1d6) [0x10a38dd26]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(sigsegv+0x51) [0x10a4a34e1]
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6b1b9b5d]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(sass_value_get_tag+0x4) [0x10d64f424]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass4EvalclEPNS_13Function_CallE+0x2766) [0x10d5786a6]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass4EvalclEPNS_4ListE+0x2f9) [0x10d5706d9]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6ExpandclEPNS_11DeclarationE+0x15e) [0x10d58434e]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6Expand12append_blockEPNS_5BlockE+0xe0) [0x10d581c70]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6ExpandclEPNS_5BlockE+0x2a7) [0x10d581ac7]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6ExpandclEPNS_7RulesetE+0x7ea) [0x10d58264a]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6Expand12append_blockEPNS_5BlockE+0xe0) [0x10d581c70]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6ExpandclEPNS_11Import_StubE+0x63b) [0x10d585a6b]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6Expand12append_blockEPNS_5BlockE+0xe0) [0x10d581c70]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass6ExpandclEPNS_5BlockE+0x2a7) [0x10d581ac7]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass7Context7compileEv+0x25f) [0x10d548a6f]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZN4Sass12Data_Context5parseEv+0x5ed) [0x10d54852d]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(sass_compiler_parse+0x1b5) [0x10d64b205]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/sassc-2.3.0/lib/sassc/libsass.bundle(_ZL20sass_compile_contextP12Sass_ContextPN4Sass7ContextE+0x1a) [0x10d64ae1a]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/ffi-1.12.2/lib/ffi_c.bundle(ffi_call_unix64+0x55) [0x10d4c6c4d]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/ffi-1.12.2/lib/ffi_c.bundle(0x10d4c5e1b) [0x10d4c5e1b]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/ffi-1.12.2/lib/ffi_c.bundle(0x10d4c5966) [0x10d4c5966]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/ffi-1.12.2/lib/ffi_c.bundle(rbffi_CallFunction+0xde) [0x10d4ba5de]
/Users/pikachuexe/.rvm/gems/ruby-2.6.6/gems/ffi-1.12.2/lib/ffi_c.bundle(custom_trampoline+0x19) [0x10d4be1a9]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x33da) [0x10a517dca]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_yield+0x9e) [0x10a524d8e]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_ary_reverse_each+0x8b) [0x10a30d84b]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_yield+0x9e) [0x10a524d8e]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_ary_reverse_each+0x8b) [0x10a30d84b]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_yield+0x9e) [0x10a524d8e]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_ary_reverse_each+0x8b) [0x10a30d84b]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_yield+0x9e) [0x10a524d8e]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_ensure+0xf5) [0x10a3998d5]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(loop_i+0x23) [0x10a53a7a3]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_rescue2+0x155) [0x10a399495]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(catch_i+0x5e) [0x10a53a72e]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_catch_protect+0xd5) [0x10a5270b5]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_f_catch+0x57) [0x10a527897]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_call_cfunc+0x156) [0x10a531196]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(vm_exec_core+0x3143) [0x10a517b33]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(rb_vm_exec+0xac4) [0x10a52bbe4]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(thread_do_start+0x2e8) [0x10a4e9628]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(thread_start_func_2+0x1f5) [0x10a4e9015]
/Users/pikachuexe/.rvm/rubies/ruby-2.6.6/lib/libruby.2.6.dylib(thread_start_func_1+0x117) [0x10a4e8c47]
/usr/lib/system/libsystem_pthread.dylib(_pthread_body+0x7e) [0x7fff6b1c22eb]
/usr/lib/system/libsystem_pthread.dylib(0x7fff6b1c5249) [0x7fff6b1c5249]
Not including runtime Other runtime information
, too long and seems irrelevant
Same here, it does not always fail but it fails a lot. I use the Ruby docker image 2.7 in GitlabCI.
I reverted back to the previous version but here I have the same issue. It does seems to be related to the 2.3.0
release?
@jcoyne did you find a workaround for this?
$ RAILS_ENV=production bin/rails assets:precompile
/builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/generic_app-7.1.6/config/initializers/_lc_defaults.rb:144: warning: nested repeat operator '+' and '?' was replaced with '*' in regular expression: /https:\/\/(?:[\w-]+)?\.?$/
Loaded ip range list
Adding cloudfront ipv4 ranges to the trusted proxy: 95
Adding cloudfront ipv6 ranges to the trusted proxy: 9
Adding ec2 ipv4 ranges to the trusted proxy: 529
Adding ec2 ipv6 ranges to the trusted proxy: 101
Not all ENV settings are correct!
LWS trail logging not available!
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-config-react-app@5.2.1" has unmet peer dependency "@typescript-eslint/eslint-plugin@2.x".
warning " > eslint-config-react-app@5.2.1" has unmet peer dependency "@typescript-eslint/parser@2.x".
warning " > eslint-config-react-app@5.2.1" has unmet peer dependency "babel-eslint@10.x".
warning " > eslint-config-react-app@5.2.1" has incorrect peer dependency "eslint@6.x".
warning " > eslint-config-react-app@5.2.1" has incorrect peer dependency "eslint-plugin-react-hooks@1.x || 2.x".
warning " > eslint-plugin-flowtype@4.7.0" has incorrect peer dependency "eslint@>=6.1.0".
[4/4] Building fresh packages...
Done in 5.20s.
/builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sassc-2.2.1/lib/sassc/engine.rb:42: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0048 p:---- s:0351 e:000350 CFUNC :compile_data_context
c:0047 p:0293 s:0346 e:000345 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sassc-2.2.1/lib/sassc/engine.rb:42
c:0046 p:0005 s:0334 e:000333 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:40
c:0045 p:0024 s:0331 e:000330 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/utils.rb:138
c:0044 p:0167 s:0324 e:000323 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sassc-rails-2.1.2/lib/sassc/rails/template.rb:39
c:0043 p:0047 s:0315 e:000314 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0042 p:0014 s:0307 e:000306 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0041 p:---- s:0302 e:000301 CFUNC :reverse_each
c:0040 p:0035 s:0298 e:000297 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65
c:0039 p:0016 s:0290 e:000289 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:22
c:0038 p:0010 s:0285 e:000284 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:33
c:0037 p:0047 s:0280 e:000279 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0036 p:0014 s:0272 e:000271 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0035 p:---- s:0267 e:000266 CFUNC :reverse_each
c:0034 p:0035 s:0263 e:000262 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:65
c:0033 p:0441 s:0255 e:000254 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/loader.rb:182
c:0032 p:0068 s:0233 e:000232 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/loader.rb:59
c:0031 p:0034 s:0227 E:000d00 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/loader.rb:335
c:0030 p:0141 s:0217 E:001dd8 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/loader.rb:43
c:0029 p:0020 s:0208 e:000204 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/cached_environment.rb:44
c:0028 p:0007 s:0200 e:000199 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/bundle.rb:41
c:0027 p:0079 s:0196 e:000193 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/utils.rb:167
c:0026 p:0185 s:0185 E:000c30 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/bundle.rb:42
c:0025 p:0047 s:0167 e:000166 METHOD /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:84
c:0024 p:0014 s:0159 e:000158 BLOCK /builds/webapps/rails/authentication/vendor/bundle/ruby/2.7.0/gems/sprockets-4.0.0/lib/sprockets/processor_utils.rb:66 [FINISH]
@johan-smits I stopped using sassc and switched to the npm version 😆
I have found a rails workaround for this:
Rails.application.config.assets.configure do |env|
env.export_concurrent = false
end
@tilhoft this worked for me to.
@tilhoft I am brand new to Rails, can you pls specify in which file I should write this code?
@akshathkaushal I wrote it to config/application.rb
I have found a rails workaround for this:
Rails.application.config.assets.configure do |env| env.export_concurrent = false end
Added this to the end of application.rb
Unfortunately, still segfaults :-(
Added this to the end of application.rb
Unfortunately, still segfaults :-(
For me as well. Still segfaults.
I'm seeing a segfault in my test environment (Ubuntu 16.04 container in aws codebuild) but not locally (Ubuntu 18.04), both are ruby 2.6.1.
Latest, not working: sassc 2.4.0 sass-rails 2.1.2 sprockets 4.0.2 concurrent-ruby 1.1.6
I reverted each of the above gems one by one to the following previously known good versions (for me) and it is now working again. I haven't tried a mix and match or only changing a single gem to see exactly which one it is. I identified these gems just by what was blowing up in the control frame dump.
Working: sassc 2.0.1 sass-rails 2.1.0 sprockets 3.7.2 concurrent-ruby 1.1.5
Control Frame Dump Example:
-- Control frame information -----------------------------------------------
c:0048 p:---- s:0351 e:000350 CFUNC :compile_data_context
c:0047 p:0298 s:0346 e:000345 METHOD /usr/local/bundle/gems/sassc-2.0.1/lib/sassc/engine.rb:42
c:0046 p:0006 s:0334 e:000333 BLOCK /usr/local/bundle/gems/sassc-rails-2.1.0/lib/sassc/rails/template.rb:40
c:0045 p:0028 s:0331 e:000330 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/utils.rb:138
c:0044 p:0164 s:0324 e:000323 METHOD /usr/local/bundle/gems/sassc-rails-2.1.0/lib/sassc/rails/template.rb:39
c:0043 p:0053 s:0315 e:000314 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:84
c:0042 p:0016 s:0307 e:000306 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0041 p:---- s:0302 e:000301 CFUNC :reverse_each
c:0040 p:0039 s:0298 e:000297 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65
c:0039 p:0015 s:0290 e:000289 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:22
c:0038 p:0013 s:0285 e:000284 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:33
c:0037 p:0053 s:0280 e:000279 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:84
c:0036 p:0016 s:0272 e:000271 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0035 p:---- s:0267 e:000266 CFUNC :reverse_each
c:0034 p:0039 s:0263 e:000262 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65
c:0033 p:0476 s:0255 e:000254 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:182
c:0032 p:0073 s:0233 e:000232 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:59
c:0031 p:0038 s:0227 e:000226 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:337
c:0030 p:0157 s:0217 e:000216 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:43
c:0029 p:0022 s:0208 e:000204 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/cached_environment.rb:44
c:0028 p:0008 s:0200 e:000199 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/bundle.rb:41
c:0027 p:0083 s:0196 e:000193 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/utils.rb:167
c:0026 p:0196 s:0185 E:000d40 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/bundle.rb:42
c:0025 p:0053 s:0167 e:000166 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:84
c:0024 p:0016 s:0159 e:000158 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:66 [FINISH]
c:0023 p:---- s:0154 e:000153 CFUNC :reverse_each
c:0022 p:0039 s:0150 e:000149 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65
c:0021 p:0476 s:0142 e:000141 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:182
c:0020 p:0073 s:0120 e:000119 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:59
c:0019 p:0038 s:0114 e:000113 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:337
c:0018 p:0157 s:0104 e:000103 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/loader.rb:43
c:0017 p:0022 s:0095 e:000091 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/cached_environment.rb:44
c:0016 p:0037 s:0087 e:000086 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/base.rb:81
c:0015 p:0027 s:0079 e:000078 METHOD /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/base.rb:88
c:0014 p:0010 s:0068 e:000067 BLOCK /usr/local/bundle/gems/sprockets-4.0.2/lib/sprockets/manifest.rb:125
c:0013 p:0021 s:0065 e:000064 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb:24
c:0012 p:0003 s:0058 e:000057 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb:41 [FINISH]
c:0011 p:---- s:0055 e:000054 CFUNC :synchronize
c:0010 p:0018 s:0051 e:000050 METHOD /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb:41
c:0009 p:0005 s:0047 e:000046 METHOD /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb:19
c:0008 p:0023 s:0042 e:000041 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/promise.rb:563
c:0007 p:0009 s:0036 e:000035 METHOD /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348
c:0006 p:0049 s:0028 e:000027 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC :loop
c:0004 p:0006 s:0018 e:000017 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320 [FINISH]
c:0003 p:---- s:0015 e:000014 CFUNC :catch
c:0002 p:0020 s:0010 e:000009 BLOCK /usr/local/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
I have a core file, if someone is interested. It will only stay up for the next few days though.
https://send.firefox.com/download/5a2c462c6be5cc01/#ENKEY7c1f7RdQp5vuRTATQ
This was happening to me on ruby 2.5.8p224 in and the fix disabling export_concurrent
worked.
Using this Gemfile: https://github.com/dlage/ss-calculator/blob/1bc17c462a6ca5340ba6c85f18950cd988ccb5a3/Gemfile
Running in a docker container (can be found on the project).
I was about to update my Rails (6.0.3.3) project from Ruby 2.7.1 to 2.7.2, at Ruby 2.7.1 the above mentioned rails workaround fixed, and on production server (Ubuntu 18.04.5 LTS) still working, but on macOS development environment there is a new segfault...weird..and very annoying
I was about to update my Rails (6.0.3.3) project from Ruby 2.7.1 to 2.7.2, at Ruby 2.7.1 the above mentioned rails workaround fixed, and on production server (Ubuntu 18.04.5 LTS) still working, but on macOS development environment there is a new segfault...weird..and very annoying
I have the same kind of crash but only in production.
Ruby 2.7.1 sassc 2.4.0
Add this before the rest of the code in config/initializers/assets.rb it worked for me as tilhoft suggested
Rails.application.config.assets.configure do |env|
env.export_concurrent = false
end
Maybe this was already mentioned somewhere, but I was able to consistently reproduce in ruby 2.7.2p137, but it doesn't appear to occur in ruby 2.7.1p83
I have this issue and it kept get annoying. vendor/bundle/ruby/2.7.0/gems/sassc-2.2.1/lib/sassc/engine.rb:42: [BUG] Illegal instruction at 0x00007f4d01481fb9 ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]
This issue is still happening. Is the gem still maintained? Can we help in any way to solve that problem?
@Kulgar I'm not in a position of authority with regard to this gem, but the C library that this gem wraps is deprecated, (see https://sass-lang.com/blog/libsass-is-deprecated). I've had better luck using sass via NPM or dart-sass.
@jcoyne yeah, I switched to the new https://github.com/rails/cssbundling-rails which will be the default tech used in rails 7. It works pretty well and I had not a hard time to replace my existing rails-sassc gem with that one. Main advantage is that it is like a bridge between rails assets pipeline and other techs (dart, tailwind, bulma...). I used dart and migration worked like a charm. I was also happy being able to use the new methods of sass.
Any update on this?