Skip to content

Instantly share code, notes, and snippets.

@seamusabshere
Created February 23, 2012 20:07
Show Gist options
  • Save seamusabshere/8b4e3a1cd1da5472ffa4 to your computer and use it in GitHub Desktop.
Save seamusabshere/8b4e3a1cd1da5472ffa4 to your computer and use it in GitHub Desktop.
more pair distance segfaults from amatch
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:13: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0047 p:---- s:0220 b:0220 l:000219 d:000219 CFUNC :pair_distance_similar
c:0037 p:0017 s:0176 b:0176 l:000166 d:000175 BLOCK /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0036 p:0032 s:0174 b:0174 l:000173 d:000173 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21
c:0035 p:0036 s:0167 b:0167 l:000166 d:000166 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0034 p:0044 s:0162 b:0162 l:000161 d:000161 METHOD /app/cm1.rb:45
c:0033 p:0052 s:0156 b:0156 l:000155 d:000155 METHOD /app/lib/rack/characteristics/active_record_ext.rb:95
c:0032 p:0201 s:0150 b:0150 l:001b00 d:001b00 METHOD /app/lib/rack/characteristics/active_record_ext.rb:73
c:0031 p:0102 s:0140 b:0140 l:000139 d:000139 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:27
c:0030 p:0029 s:0136 b:0136 l:000135 d:000135 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:7
c:0009 p:0029 s:0037 b:0037 l:000036 d:000036 METHOD /app/vendor/bundle/ruby/1.9.1/bundler/gems/goliath-f528fc212a12/lib/goliath/rack/async_middleware.rb:73
c:0008 p:0015 s:0028 b:0028 l:000027 d:000027 METHOD /app/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/content_length.rb:13
c:0007 p:0024 s:0020 b:0020 l:000019 d:000019 METHOD /app/vendor/bundle/ruby/1.9.1/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:114
-- C level backtrace information -------------------------------------------
ruby(rb_vm_bugreport+0x9e) [0x52381e]
ruby() [0x564f58]
ruby(rb_bug+0xb1) [0x5650f1]
ruby() [0x4b2878]
/lib/libpthread.so.0(+0xf8f0) [0x7f36df2898f0]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(pair_array_match+0x5) [0x7f36d62a4585]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x4e3a) [0x7f36d62a1e3a]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x646e) [0x7f36d62a346e]
ruby() [0x512cff]
ruby() [0x514436]
ruby() [0x519149]
ruby() [0x51a703]
ruby(rb_funcall+0x113) [0x51b173]
ruby(rb_obj_not_equal+0x1a) [0x451aea]
ruby() [0x512cff]
ruby() [0x515066]
ruby() [0x519149]
ruby() [0x51a703]
ruby(rb_funcall+0x113) [0x51b173]
ruby() [0x534c41]
ruby(ruby_qsort+0x132) [0x4ee7e2]
ruby(rb_ary_sort_bang+0xdb) [0x53cfcb]
ruby(rb_ary_sort+0x42) [0x53d372]
ruby() [0x512cff]
ruby() [0x514436]
ruby() [0x519149]
ruby(rb_vm_invoke_proc+0x9f) [0x51c03f]
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:13: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0047 p:---- s:0219 b:0219 l:000218 d:000218 CFUNC :pair_distance_similar
c:0046 p:0038 s:0215 b:0215 l:000214 d:000214 METHOD /app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:13
c:0045 p:0011 s:0212 b:0212 l:000211 d:000211 METHOD /app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:25
c:0044 p:---- s:0208 b:0208 l:000207 d:000207 FINISH
c:0043 p:---- s:0206 b:0206 l:000205 d:000205 CFUNC :!=
c:0042 p:0022 s:0202 b:0202 l:000201 d:000201 METHOD /app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/similarity.rb:12
c:0041 p:---- s:0198 b:0198 l:000197 d:000197 FINISH
c:0040 p:---- s:0196 b:0196 l:000195 d:000195 CFUNC :sort
c:0039 p:0532 s:0193 b:0193 l:000192 d:000192 METHOD /app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary.rb:123
c:0038 p:0020 s:0178 b:0178 l:000fc0 d:000177 BLOCK /app/lib/rack/characteristics/active_record_ext.rb:76
c:0037 p:0017 s:0176 b:0176 l:000166 d:000175 BLOCK /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0036 p:0032 s:0174 b:0174 l:000173 d:000173 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21
c:0035 p:0036 s:0167 b:0167 l:000166 d:000166 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0034 p:0044 s:0162 b:0162 l:000161 d:000161 METHOD /app/cm1.rb:45
c:0033 p:0052 s:0156 b:0156 l:000155 d:000155 METHOD /app/lib/rack/characteristics/active_record_ext.rb:95
c:0032 p:0201 s:0150 b:0150 l:000fc0 d:000fc0 METHOD /app/lib/rack/characteristics/active_record_ext.rb:73
c:0031 p:0102 s:0140 b:0140 l:000139 d:000139 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:27
c:0030 p:0029 s:0136 b:0136 l:000135 d:000135 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:7
c:0029 p:0045 s:0131 b:0131 l:001350 d:000130 LAMBDA /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method.rb:60
c:0028 p:---- s:0128 b:0128 l:000127 d:000127 FINISH
c:0027 p:0203 s:0126 b:0126 l:000125 d:000125 METHOD /app/lib/rack/characteristics/interpreter.rb:121
c:0026 p:0069 s:0118 b:0115 l:000103 d:000114 BLOCK /app/lib/rack/characteristics/interpreter.rb:82
c:0025 p:---- s:0109 b:0109 l:000108 d:000108 FINISH
c:0024 p:---- s:0107 b:0107 l:000106 d:000106 CFUNC :each
c:0023 p:0017 s:0104 b:0104 l:000103 d:000103 METHOD /app/lib/rack/characteristics/interpreter.rb:77
c:0022 p:0068 s:0101 b:0101 l:000100 d:000100 METHOD /app/lib/rack/characteristics/interpreter.rb:14
c:0021 p:---- s:0096 b:0096 l:000095 d:000095 FINISH
c:0018 p:0088 s:0083 b:0083 l:000082 d:000082 METHOD /app/lib/rack/compliance.rb:15
c:0017 p:0153 s:0078 b:0078 l:000077 d:000077 METHOD /app/lib/rack/timeframe.rb:20
c:0016 p:0068 s:0072 b:0072 l:000071 d:000071 METHOD /app/lib/rack/emitter.rb:13
c:0010 p:0015 s:0043 b:0043 l:000042 d:000042 METHOD ./servers/goliath/cm1_goliath.rb:48
c:0009 p:0029 s:0037 b:0037 l:000036 d:000036 METHOD /app/vendor/bundle/ruby/1.9.1/bundler/gems/goliath-f528fc212a12/lib/goliath/rack/async_middleware.rb:73
c:0008 p:0015 s:0028 b:0028 l:000027 d:000027 METHOD /app/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/content_length.rb:13
c:0007 p:0024 s:0020 b:0020 l:000019 d:000019 METHOD /app/vendor/bundle/ruby/1.9.1/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:114
c:0006 p:0029 s:0016 b:0016 l:000d30 d:000015 BLOCK /app/vendor/bundle/ruby/1.9.1/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:91
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :call
c:0003 p:0049 s:0007 b:0006 l:001e38 d:000005 BLOCK /app/vendor/bundle/ruby/1.9.1/bundler/gems/goliath-f528fc212a12/lib/goliath/request.rb:139
c:0002 p:---- s:0003 b:0003 l:000002 d:000002 FINISH
/app/vendor/bundle/ruby/1.9.1/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:114:in `call'
/app/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/content_length.rb:13:in `call'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/goliath-f528fc212a12/lib/goliath/rack/async_middleware.rb:73:in `call'
./servers/goliath/cm1_goliath.rb:48:in `call'
/app/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/static.rb:33:in `call'
/app/lib/rack/metadata.rb:15:in `call'
/app/lib/rack/emitter.rb:13:in `call'
/app/lib/rack/timeframe.rb:20:in `call'
/app/lib/rack/compliance.rb:15:in `call'
/app/lib/rack/characteristics.rb:15:in `call'
/app/lib/rack/characteristics.rb:15:in `new'
/app/lib/rack/characteristics/interpreter.rb:14:in `initialize'
/app/lib/rack/characteristics/interpreter.rb:77:in `resolve_first_pass!'
/app/lib/rack/characteristics/interpreter.rb:77:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:7:in `fetch'
/app/lib/rack/characteristics/active_record_ext.rb:95:in `loose_find_instrument'
/app/cm1.rb:45:in `instrument'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `instrument'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `block in instrument'
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary.rb:123:in `sort'
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/similarity.rb:12:in `!='
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:13:in `pair_distance_similar'
-- C level backtrace information -------------------------------------------
ruby(rb_vm_bugreport+0x9e) [0x52381e]
ruby() [0x564f58]
ruby(rb_bug+0xb1) [0x5650f1]
ruby() [0x4b2878]
/lib/libpthread.so.0(+0xf8f0) [0x7f6caadf58f0]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(pair_array_match+0x5) [0x7f6ca1e10585]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x4e3a) [0x7f6ca1e0de3a]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x646e) [0x7f6ca1e0f46e]
ruby() [0x512cff]
ruby() [0x51a703]
ruby(rb_funcall+0x113) [0x51b173]
ruby(rb_obj_not_equal+0x1a) [0x451aea]
ruby() [0x512cff]
ruby(ruby_qsort+0x2a3) [0x4ee953]
ruby(rb_ary_sort_bang+0xdb) [0x53cfcb]
ruby(rb_ary_sort+0x42) [0x53d372]
ruby() [0x512cff]
ruby() [0x514436]
ruby() [0x519149]
ruby(rb_vm_invoke_proc+0x9f) [0x51c03f]
ruby() [0x429187]
ruby(st_foreach+0xb2) [0x4bad42]
ruby() [0x429c88]
ruby(rb_ensure+0xab) [0x41a38b]
ruby() [0x42b1c7]
ruby() [0x519149]
ruby() [0x51a703]
ruby() [0x514436]
ruby() [0x519149]
ruby() [0x420d47]
ruby() [0x512cff]
ruby() [0x514436]
ruby(ruby_run_node+0x3d) [0x41c6dd]
ruby() [0x419b09]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
/app/vendor/bundle/ruby/1.9.1/gems/loose_tight_dictionary-0.2.3/lib/loose_tight_dictionary/score.rb:13: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0047 p:---- s:0220 b:0220 l:000219 d:000219 CFUNC :pair_distance_similar
c:0037 p:0017 s:0176 b:0176 l:000166 d:000175 BLOCK /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0036 p:0032 s:0174 b:0174 l:000173 d:000173 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21
c:0035 p:0036 s:0167 b:0167 l:000166 d:000166 METHOD /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52
c:0034 p:0044 s:0162 b:0162 l:000161 d:000161 METHOD /app/cm1.rb:45
c:0033 p:0052 s:0156 b:0156 l:000155 d:000155 METHOD /app/lib/rack/characteristics/active_record_ext.rb:95
c:0032 p:0201 s:0150 b:0150 l:001b00 d:001b00 METHOD /app/lib/rack/characteristics/active_record_ext.rb:73
c:0031 p:0102 s:0140 b:0140 l:000139 d:000139 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:27
c:0030 p:0029 s:0136 b:0136 l:000135 d:000135 METHOD /app/vendor/bundle/ruby/1.9.1/gems/cache_method-0.1.5/lib/cache_method/cached_result.rb:7
c:0009 p:0029 s:0037 b:0037 l:000036 d:000036 METHOD /app/vendor/bundle/ruby/1.9.1/bundler/gems/goliath-f528fc212a12/lib/goliath/rack/async_middleware.rb:73
c:0008 p:0015 s:0028 b:0028 l:000027 d:000027 METHOD /app/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/content_length.rb:13
c:0007 p:0024 s:0020 b:0020 l:000019 d:000019 METHOD /app/vendor/bundle/ruby/1.9.1/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:114
-- C level backtrace information -------------------------------------------
ruby(rb_vm_bugreport+0x9e) [0x52381e]
ruby() [0x564f58]
ruby(rb_bug+0xb1) [0x5650f1]
ruby() [0x4b2878]
/lib/libpthread.so.0(+0xf8f0) [0x7f36df2898f0]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(pair_array_match+0x5) [0x7f36d62a4585]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x4e3a) [0x7f36d62a1e3a]
/app/vendor/bundle/ruby/1.9.1/gems/amatch-0.2.8/lib/amatch.so(+0x646e) [0x7f36d62a346e]
ruby() [0x512cff]
ruby() [0x514436]
ruby() [0x519149]
ruby() [0x51a703]
ruby(rb_funcall+0x113) [0x51b173]
ruby(rb_obj_not_equal+0x1a) [0x451aea]
ruby() [0x512cff]
ruby() [0x515066]
ruby() [0x519149]
ruby() [0x51a703]
ruby(rb_funcall+0x113) [0x51b173]
ruby() [0x534c41]
ruby(ruby_qsort+0x132) [0x4ee7e2]
ruby(rb_ary_sort_bang+0xdb) [0x53cfcb]
ruby(rb_ary_sort+0x42) [0x53d372]
ruby() [0x512cff]
ruby() [0x514436]
ruby() [0x519149]
ruby(rb_vm_invoke_proc+0x9f) [0x51c03f]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment