Project

General

Profile

Bug #4004

Bug in the Ruby interpreter or extension libraries

Added by foncho (Alfonso García) almost 10 years ago. Updated over 9 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
1.9.2p0
Backport:
[ruby-core:32955]

Description

=begin
This is the full trace of my report:

-- control frame ----------
c:0044 p:---- s:0151 b:0151 l:000150 d:000150 CFUNC :init_connection
c:0043 p:0028 s:0148 b:0148 l:000147 d:000147 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/client.rb:18
c:0042 p:---- s:0137 b:0137 l:000136 d:000136 FINISH
c:0041 p:---- s:0135 b:0135 l:000134 d:000134 CFUNC :new
c:0040 p:0101 s:0131 b:0131 l:000130 d:000130 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:14
c:0039 p:0045 s:0125 b:0125 l:000124 d:000124 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:230
c:0038 p:0011 s:0122 b:0122 l:000121 d:000121 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:238
c:0037 p:0048 s:0118 b:0118 l:000104 d:000117 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:194
c:0036 p:---- s:0115 b:0115 l:000114 d:000114 FINISH
c:0035 p:---- s:0113 b:0113 l:000112 d:000112 CFUNC :loop
c:0034 p:0009 s:0110 b:0110 l:000104 d:000109 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:190
c:0033 p:0019 s:0108 b:0108 l:000107 d:000107 METHOD /home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201
c:0032 p:0013 s:0105 b:0105 l:000104 d:000104 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:189
c:0031 p:0030 s:0102 b:0099 l:000098 d:000098 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:96
c:0030 p:0033 s:0096 b:0096 l:000095 d:000095 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:318
c:0029 p:0018 s:0091 b:0091 l:000090 d:000090 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specificati
c:0028 p:0011 s:0088 b:0088 l:000087 d:000087 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specificati
c:0027 p:0017 s:0085 b:0085 l:000e4c d:000084 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/railties/databases.rake:468
c:0026 p:---- s:0083 b:0083 l:000082 d:000082 FINISH
c:0025 p:---- s:0081 b:0081 l:000080 d:000080 CFUNC :call
c:0024 p:0043 s:0076 b:0076 l:000067 d:000075 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:636
c:0023 p:---- s:0073 b:0073 l:000072 d:000072 FINISH
c:0022 p:---- s:0071 b:0071 l:000070 d:000070 CFUNC :each
c:0021 p:0171 s:0068 b:0068 l:000067 d:000067 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:631
c:0020 p:0110 s:0064 b:0064 l:000058 d:000063 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:597
c:0019 p:0019 s:0062 b:0062 l:000061 d:000061 METHOD /home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201
c:0018 p:0033 s:0059 b:0059 l:000058 d:000058 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:590
c:0017 p:0048 s:0053 b:0053 l:000052 d:000052 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:583
c:0016 p:0045 s:0048 b:0048 l:000047 d:000047 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2051
c:0015 p:0012 s:0041 b:0041 l:000026 d:000040 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2029
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :each
c:0012 p:0069 s:0033 b:0033 l:000026 d:000032 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2029
c:0011 p:0009 s:0031 b:0031 l:000030 d:000030 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2068
c:0010 p:0011 s:0027 b:0027 l:000026 d:000026 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2023
c:0009 p:0029 s:0024 b:0024 l:000017 d:000023 BLOCK /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2001
c:0008 p:0009 s:0022 b:0022 l:000021 d:000021 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2068
c:0007 p:0011 s:0018 b:0018 l:000017 d:000017 METHOD /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:1998
c:0006 p:0036 s:0015 b:0015 l:000014 d:000014 TOP /home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/bin/rake:31
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:00155c d:0000f8 EVAL /home/fon/.rvm/gems/ruby-1.9.2-p0/bin/rake:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00155c d:00155c TOP


-- Ruby level backtrace information ----------------------------------------
/home/fon/.rvm/gems/ruby-1.9.2-p0/bin/rake:19:in <main>'
/home/fon/.rvm/gems/ruby-1.9.2-p0/bin/rake:19:in
load'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/bin/rake:31:in <top (required)>'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:1998:in
run'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2001:in
block in run'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2023:in top_level'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2029:in block in top_level'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2029:in
each'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2029:in block (2 levels) in top_level'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:583:in invoke'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain'
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:597:in
block in invoke_with_call_chain'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:631:in execute'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:631:in
each'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:636:in block in execute'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:636:in
call'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/railties/databases.rake:468:in block (3 levels) in <top (required)>'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in
connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in retrieve_connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:318:in
retrieve_connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:96:in connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:189:in
checkout'
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in
block in checkout'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in loop'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:194:in
block (2 levels) in checkout'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:238:in checkout_new_connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:230:in
new_connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:14:in mysql2_connection'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:14:in
new'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/client.rb:18:in initialize'
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/client.rb:18:in
init_connection'

-- C level backtrace information -------------------------------------------
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0x5c6262]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x534a7) [0x4a04a7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_bug+0x3a) [0x4a059a]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_check_type+0xbd) [0x4a07cd]
/home/fon/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/mysql2.so(+0x274d) [0x13074d]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16384d) [0x5b084d]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16fd3a) [0x5bcd3a]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_obj_call_init+0x50) [0x4a26e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_class_new_instance+0x3a) [0x4f0dea]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x163868) [0x5b0868]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x1717f4) [0x5be7f4]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_rescue2+0x169) [0x4a2ab9]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x164b55) [0x5b1b55]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16384d) [0x5b084d]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_vm_invoke_proc+0x2e1) [0x5bc8a1]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x5d8d3) [0x4aa8d3]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x163868) [0x5b0868]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_yield+0x62) [0x5be362]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_ary_each+0x52) [0x46e3a2]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16384d) [0x5b084d]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_yield+0x62) [0x5be362]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_ary_each+0x52) [0x46e3a2]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16384d) [0x5b084d]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval+0x14c) [0x5bbb7c]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x5891f) [0x4a591f]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x58a86) [0x4a5a86]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x163868) [0x5b0868]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x173fc7) [0x5c0fc7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x169199) [0x5b6199]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x16e5e0) [0x5bb5e0]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval_main+0x1e6) [0x5bba06]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(+0x55d6a) [0x4a2d6a]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(ruby_exec_node+0x25) [0x4a2da5]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(ruby_run_node+0x35) [0x4a45b5]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/bin/ruby(main+0x68) [0x8048748]
/lib/libc.so.6(__libc_start_main+0xe7) [0x64fce7]
/home/fon/.rvm/rubies/ruby-1.9.2-p0/bin/ruby() [0x8048641]
=end

#1

Updated by naruse (Yui NARUSE) almost 10 years ago

  • Status changed from Open to Third Party's Issue

=begin
It crashes in mysql2 gem.
So please report this to them.
=end

Also available in: Atom PDF