Issue #14596 has been reported by sharevari (Yuri S.).

----------------------------------------
Bug #14596: Ruby master is broken with bootsnap
https://bugs.ruby-lang.org/issues/14596

* Author: sharevari (Yuri S.)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0dev (2018-03-11 trunk 62719) [x86_64-darwin17]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
issues 
https://github.com/Shopify/bootsnap/issues/139
https://github.com/Shopify/bootsnap/issues/132

with https://github.com/ruby/ruby/commit/6679ffd3b5a60ebc13fdefeff6d066b43854029b

```bash
$ rails s
/Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:68: [BUG] Segmentation fault at 0x0000000000000018
ruby 2.6.0dev (2018-03-11 trunk 62719) [x86_64-darwin17]

-- 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:0038 p:---- s:0201 e:000200 CFUNC  :extname
c:0037 p:0019 s:0196 e:000195 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:68
c:0036 p:0023 s:0187 e:000186 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:18
c:0035 p:0052 s:0181 e:000180 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:27
c:0034 p:0009 s:0175 e:000174 BLOCK  /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0033 p:0049 s:0172 e:000171 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:24
c:0032 p:0011 s:0166 e:000165 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0031 p:0034 s:0160 e:000159 TOP    /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/railties/lib/rails/command.rb:8 [FINISH]
c:0030 p:---- s:0157 e:000156 CFUNC  :require
c:0029 p:0013 s:0152 e:000151 BLOCK  /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:19
c:0028 p:0005 s:0149 e:000148 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65
c:0027 p:0023 s:0140 e:000139 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:18
c:0026 p:0052 s:0134 e:000133 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:27
c:0025 p:0009 s:0128 e:000127 BLOCK  /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0024 p:0049 s:0125 e:000124 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:24
c:0023 p:0011 s:0119 e:000118 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0022 p:0006 s:0113 e:000112 TOP    /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/railties/lib/rails/commands.rb:3 [FINISH]
c:0021 p:---- s:0108 e:000107 CFUNC  :require
c:0020 p:0013 s:0103 e:000102 BLOCK  /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:19
c:0019 p:0005 s:0100 e:000099 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65
c:0018 p:0023 s:0091 e:000090 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:18
c:0017 p:0052 s:0085 e:000084 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/bootsnap-1.2.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:27
c:0016 p:0009 s:0079 e:000078 BLOCK  /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0015 p:0049 s:0076 e:000075 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:24
c:0014 p:0011 s:0070 e:000069 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/bundler/gems/rails-58eda3cfd8b6/activesupport/lib/active_support/dependencies.rb:28
c:0013 p:0053 s:0064 e:000063 TOP    /Users/fudoshiki/Repository/Fudoshiki/Honshu/bin/rails:11 [FINISH]
c:0012 p:---- s:0060 e:000059 CFUNC  :load
c:0011 p:0134 s:0055 e:000054 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/spring-2.0.2/lib/spring/client/rails.rb:28
c:0010 p:0009 s:0050 e:000049 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/spring-2.0.2/lib/spring/client/command.rb:7
c:0009 p:0014 s:0045 e:000044 METHOD /Users/fudoshiki/.rvm/gems/ruby-head/gems/spring-2.0.2/lib/spring/client.rb:30
c:0008 p:0293 s:0039 e:000038 TOP    /Users/fudoshiki/.rvm/gems/ruby-head/gems/spring-2.0.2/bin/spring:49 [FINISH]
c:0007 p:---- s:0033 e:000032 CFUNC  :load
c:0006 p:0163 s:0028 e:000027 TOP    /Users/fudoshiki/.rvm/gems/ruby-head/gems/spring-2.0.2/lib/spring/binstub.rb:31 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC  :require
c:0004 p:0129 s:0017 e:000016 TOP    /Users/fudoshiki/Repository/Fudoshiki/Honshu/bin/spring:16 [FINISH]
c:0003 p:---- s:0012 e:000011 CFUNC  :load
c:0002 p:0018 s:0007 E:000688 EVAL   bin/rails:5 [FINISH]
c:0001 p:0000 s:0003 E:001ba0 (none) [FINISH]
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>