Issue #13377 has been updated by nobu (Nobuyoshi Nakada).

Description updated
Status changed from Open to Feedback

2.1.0p0 is outdated, try 2.1.9.
2.1 will end the life soon, though.

----------------------------------------
Bug #13377: Crash while running tests
https://bugs.ruby-lang.org/issues/13377#change-63932

* Author: fuggfuggfugg (Sam k)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin14.0]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Mac OSX El Capitan - 10.11.6

To resolve a security issue, I had to update nokogiri from 1.6.8 to 1.7.1, which also forced me to update Ruby from 2.0 to 2.1. I ran into minor issue with Nokogiri which I fixed. 

When I ran tests, It crashed twice at: 

```
Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:273: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin14.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

-- Control frame information -----------------------------------------------
c:0064 p:0012 s:0273 e:000271 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:273
c:0063 p:0020 s:0270 e:000269 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:329
c:0062 p:0008 s:0268 e:000267 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/connection_adapters/abstract/database_sta
c:0061 p:0023 s:0266 e:000265 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/connection_adapters/abstract/database_sta
c:0060 p:0090 s:0260 e:000259 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/connection_adapters/abstract/database_sta
c:0059 p:0019 s:0256 e:000255 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:208
c:0058 p:0018 s:0251 E:001250 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:326
c:0057 p:0009 s:0247 E:0007e0 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:273 [FINISH]
c:0056 p:---- s:0243 e:000242 CFUNC  :call
c:0055 p:0014 s:0240 e:000239 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_expectation.rb:99 [FINISH]
c:0054 p:---- s:0235 e:000234 CFUNC  :call
c:0053 p:0018 s:0231 e:000230 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_expectation.rb:706
c:0052 p:0124 s:0226 e:000225 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_expectation.rb:554
c:0051 p:0018 s:0218 e:000217 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_expectation.rb:411
c:0050 p:0173 s:0212 e:000211 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/proxy.rb:182
c:0049 p:0037 s:0204 e:000203 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/proxy.rb:321
c:0048 p:0018 s:0198 e:000197 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/method_double.rb:77
c:0047 p:0015 s:0192 e:000191 LAMBDA /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/method_double.rb:64 [FINISH]
c:0046 p:0027 s:0188 e:000187 LAMBDA /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/recorder.rb:236 [FINISH]
c:0045 p:0126 s:0184 e:000183 METHOD /Users/*******/enlighten/app/models/activity_document.rb:83
c:0044 p:0144 s:0177 e:000176 BLOCK  /Users/*******/enlighten/spec/models/activity_document_spec.rb:109 [FINISH]
c:0043 p:---- s:0170 e:000169 CFUNC  :instance_exec
c:0042 p:0021 s:0166 e:000165 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:236
c:0041 p:0006 s:0163 e:000162 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:478
c:0040 p:0006 s:0161 e:000160 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:435
c:0039 p:0006 s:0159 e:000158 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:478
c:0038 p:0006 s:0157 e:000156 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:618 [FINISH]
c:0037 p:---- s:0155 e:000154 CFUNC  :call
c:0036 p:0020 s:0152 e:000151 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:320
c:0035 p:0018 s:0147 e:000146 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-rails-3.4.2/lib/rspec/rails/adapters.rb:127 [FINISH]
c:0034 p:---- s:0144 e:000143 CFUNC  :instance_exec
c:0033 p:0013 s:0140 e:000139 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:425
c:0032 p:0013 s:0135 e:000134 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:389
c:0031 p:0013 s:0130 e:000129 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:620 [FINISH]
c:0030 p:---- s:0128 e:000127 CFUNC  :call
c:0029 p:0020 s:0125 e:000124 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:320
c:0028 p:0060 s:0120 E:000110 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:621
c:0027 p:0115 s:0114 E:000090 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/hooks.rb:478
c:0026 p:0014 s:0108 E:000690 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:435
c:0025 p:0026 s:0104 E:001f10 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:478
c:0024 p:0139 s:0100 E:002070 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example.rb:233
c:0023 p:0054 s:0094 e:000093 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example_group.rb:581 [FINISH]
c:0022 p:---- s:0089 e:000088 CFUNC  :map
c:0021 p:0014 s:0086 e:000085 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example_group.rb:577
c:0020 p:0079 s:0082 e:000081 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example_group.rb:543
c:0019 p:0010 s:0074 e:000073 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example_group.rb:544 [FINISH]
c:0018 p:---- s:0071 e:000070 CFUNC  :map
c:0017 p:0093 s:0068 e:000067 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/example_group.rb:544
c:0016 p:0011 s:0060 e:000059 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:119 [FINISH]
c:0015 p:---- s:0057 e:000056 CFUNC  :map
c:0014 p:0009 s:0054 e:000053 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:119
c:0013 p:0048 s:0052 e:000051 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/configuration.rb:1680
c:0012 p:0009 s:0048 e:000047 BLOCK  /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:118
c:0011 p:0017 s:0045 e:000044 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/reporter.rb:77
c:0010 p:0018 s:0041 e:000040 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:117
c:0009 p:0022 s:0037 e:000036 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:93
c:0008 p:0097 s:0032 e:000031 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:78
c:0007 p:0024 s:0025 e:000024 METHOD /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/lib/rspec/core/runner.rb:45
c:0006 p:0023 s:0021 e:000020 TOP    /Users/*******/.rvm/gems/ruby-2.1.0/gems/rspec-core-3.4.2/exe/rspec:4 [FINISH]
c:0005 p:---- s:0019 e:000018 CFUNC  :load
c:0004 p:0125 s:0015 E:002698 EVAL   /Users/*******/.rvm/gems/ruby-2.1.0/bin/rspec:22 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC  :eval
c:0002 p:0118 s:0005 E:000d20 EVAL   /Users/*******/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15 [FINISH]
c:0001 p:0000 s:0002 E:0002c8 TOP    [FINISH]


---Files--------------------------------
ruby_2.1.0.crash.log (42.5 KB)


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