Actions
Bug #2489
closedSegmentation Fault Ruby 1.9.1 p376, AIX 5.3
Description
=begin
I am not sure if this is enough info or not. I will try and monitor this for updates.
Here is what is dumped from Ruby:
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:219: [BUG] Segmentation fault
ruby 1.9.1p376 (2009-12-07 revision 26041) [powerpc-aix5.3.0.0]
-- control frame ----------
c:0061 p:---- s:0254 b:0254 l:000253 d:000253 FINISH
c:0060 p:---- s:0252 b:0252 l:000251 d:000251 CFUNC :select
c:0059 p:0112 s:0249 b:0249 l:000248 d:000248 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:219
c:0058 p:0076 s:0243 b:0243 l:000242 d:000242 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/associations/association_collection.rb:369
c:0057 p:---- s:0238 b:0238 l:000237 d:000237 FINISH
c:0056 p:0046 s:0236 b:0236 l:000235 d:000235 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/autosave_association.rb:218
c:0055 p:0071 s:0230 b:0230 l:000229 d:000229 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/autosave_association.rb:239
c:0054 p:0012 s:0224 b:0224 l:000208 d:000223 LAMBDA /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/autosave_association.rb:173
c:0053 p:---- s:0222 b:0222 l:000221 d:000221 FINISH
c:0052 p:0009 s:0220 b:0220 l:000fbc d:000219 EVAL (eval):1
c:0051 p:---- s:0218 b:0218 l:000217 d:000217 FINISH
c:0050 p:---- s:0216 b:0216 l:000215 d:000215 CFUNC :eval
c:0049 p:0197 s:0211 b:0211 l:000fbc d:000fbc METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:180
c:0048 p:0035 s:0204 b:0204 l:000203 d:000203 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:166
c:0047 p:0014 s:0199 b:0199 l:000190 d:000198 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90
c:0046 p:---- s:0196 b:0196 l:000195 d:000195 FINISH
c:0045 p:---- s:0194 b:0194 l:000193 d:000193 CFUNC :each
c:0044 p:0056 s:0191 b:0191 l:000190 d:000190 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90
c:0043 p:0041 s:0184 b:0184 l:000183 d:000183 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:276
c:0042 p:0029 s:0178 b:0178 l:000177 d:000177 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/validations.rb:1098
c:0041 p:0091 s:0175 b:0175 l:000174 d:000174 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/callbacks.rb:315
c:0040 p:0019 s:0171 b:0171 l:000170 d:000170 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/validations.rb:1077
c:0039 p:0013 s:0167 b:0167 l:000166 d:000166 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/dirty.rb:79
c:0038 p:0015 s:0162 b:0162 l:0010d8 d:000161 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:229
c:0037 p:0177 s:0160 b:0160 l:000159 d:000159 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:13
c:0036 p:0025 s:0152 b:0152 l:000151 d:000151 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:182
c:0035 p:0022 s:0147 b:0147 l:0010d8 d:0010d8 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:228
c:0034 p:0014 s:0141 b:0141 l:000132 d:000140 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:196
c:0033 p:0053 s:0139 b:0139 l:000138 d:000138 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:208
c:0032 p:0015 s:0133 b:0133 l:000132 d:000132 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:196
c:0031 p:0023 s:0129 b:0129 l:000128 d:000128 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/base.rb:2627
c:0030 p:1681 s:0125 b:0125 l:000124 d:000124 METHOD /usr/local/www/raptor/releases/20091214214040/app/models/combined/pmr.rb:306
c:0029 p:0078 s:0097 b:0097 l:000096 d:000096 METHOD /usr/local/www/raptor/releases/20091214214040/lib/combined/base.rb:313
c:0028 p:0045 s:0093 b:0093 l:000092 d:000092 METHOD /usr/local/www/raptor/releases/20091214214040/lib/combined/base.rb:281
c:0027 p:0033 s:0089 b:0089 l:000d9c d:000088 BLOCK /usr/local/www/raptor/releases/20091214214040/lib/tasks/scan_pmrs.rake:20
c:0026 p:---- s:0084 b:0084 l:000083 d:000083 FINISH
c:0025 p:---- s:0082 b:0082 l:000081 d:000081 CFUNC :each
c:0024 p:0171 s:0079 b:0079 l:000d9c d:000078 BLOCK /usr/local/www/raptor/releases/20091214214040/lib/tasks/scan_pmrs.rake:13
c:0023 p:---- s:0074 b:0074 l:000073 d:000073 FINISH
c:0022 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC :call
c:0021 p:0043 s:0067 b:0067 l:000058 d:000066 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:636
c:0020 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
c:0019 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :each
c:0018 p:0169 s:0059 b:0059 l:000058 d:000058 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:631
c:0017 p:0108 s:0055 b:0055 l:000049 d:000054 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:597
c:0016 p:0019 s:0053 b:0053 l:000052 d:000052 METHOD /usr/local/lib/ruby/1.9.1/monitor.rb:190
c:0015 p:0032 s:0050 b:0050 l:000049 d:000049 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:590
c:0014 p:0048 s:0044 b:0044 l:000043 d:000043 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:583
c:0013 p:0045 s:0039 b:0039 l:000038 d:000038 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2051
c:0012 p:0012 s:0032 b:0032 l:000017 d:000031 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029
c:0011 p:---- s:0029 b:0029 l:000028 d:000028 FINISH
c:0010 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC :each
c:0009 p:0069 s:0024 b:0024 l:000017 d:000023 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029
c:0008 p:0009 s:0022 b:0022 l:000021 d:000021 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068
c:0007 p:0011 s:0018 b:0018 l:000017 d:000017 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2023
c:0006 p:0029 s:0015 b:0015 l:000008 d:000014 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2001
c:0005 p:0009 s:0013 b:0013 l:000012 d:000012 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068
c:0004 p:0011 s:0009 b:0009 l:000008 d:000008 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998
c:0003 p:0036 s:0006 b:0006 l:00268c d:00141c EVAL /usr/local/bin/rake:31
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00268c d:00268c TOP
I had similar issues with 1.9.1 p243 and upgraded to p376. I believe the issue moved slightly. I only see this when I do a particular operation but the operation is rather complex to describe but it does involve opening and closing sockets over time.
=end
Actions
Like0
Like0Like0Like0Like0Like0