Actions
Bug #12078
closedSegmentation fault in did_you_mean with ruby revision 53608
Description
A segmentation bug occurred when running rspec tests on an app. This first appeared using ruby 2.3.0p0 revision 53290, and appeared similar to bugs reported in issues https://bugs.ruby-lang.org/issues/12000 and https://bugs.ruby-lang.org/issues/11928. 11928 implies that the bug should have been fixed at revision 53524, so I have updated ruby to 2.3.0p7 revision 53608 and am still getting segmentation faults.
The error output starts with:
/Users/foo/.rvm/gems/ruby-2.3-head@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb:10: [BUG] Segmentation fault at 0x00000000000011
ruby 2.3.0p7 (2016-01-21 revision 53608) [x86_64-darwin14]
and ends:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
/Users/foo/.rvm/rubies/ruby-2.3-head/bin/ruby -I/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/lib:/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-support-3.4.1/lib /Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
rake aborted!
TypeError: no implicit conversion from nil to integer
/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/lib/rspec/core/rake_task.rb:84:in `exit'
/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/lib/rspec/core/rake_task.rb:84:in `run_task'
/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/lib/rspec/core/rake_task.rb:96:in `block (2 levels) in define'
/Users/foo/.rvm/gems/ruby-2.3-head/gems/rspec-core-3.4.2/lib/rspec/core/rake_task.rb:94:in `block in define'
/Users/foo/.rvm/gems/ruby-2.3-head/bin/ruby_executable_hooks:15:in `eval'
/Users/foo/.rvm/gems/ruby-2.3-head/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => spec
Files
Actions
Like0
Like0Like0Like0Like0Like0