Issue #5381 has been updated by Nobuyoshi Nakada.

Status changed from Open to Rejected

You use an extension library built for 1.8.
----------------------------------------
Bug #5381: unknown type 0x22 (0xc given)
http://redmine.ruby-lang.org/issues/5381

Author: Denis Savitsky
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.2
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]


/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:589: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]

-- control frame ----------
c:0047 p:---- s:0228 b:0228 l:000227 d:000227 CFUNC  :options
c:0046 p:0041 s:0223 b:0223 l:000222 d:000222 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:589
c:0045 p:0048 s:0219 b:0219 l:000218 d:000218 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:164
c:0044 p:---- s:0212 b:0212 l:000211 d:000211 FINISH
c:0043 p:---- s:0210 b:0210 l:000209 d:000209 CFUNC  :new
c:0042 p:0377 s:0203 b:0203 l:000202 d:000202 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:36
c:0041 p:0045 s:0190 b:0190 l:000189 d:000189 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0040 p:0011 s:0187 b:0187 l:000186 d:000186 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0039 p:0048 s:0183 b:0183 l:000169 d:000182 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0038 p:---- s:0180 b:0180 l:000179 d:000179 FINISH
c:0037 p:---- s:0178 b:0178 l:000177 d:000177 CFUNC  :loop
c:0036 p:0009 s:0175 b:0175 l:000169 d:000174 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0035 p:0019 s:0173 b:0173 l:000172 d:000172 METHOD /home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201
c:0034 p:0013 s:0170 b:0170 l:000169 d:000169 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0033 p:0030 s:0167 b:0164 l:000163 d:000163 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0032 p:0033 s:0161 b:0161 l:000160 d:000160 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0031 p:0018 s:0156 b:0156 l:000155 d:000155 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specif
c:0030 p:0011 s:0153 b:0153 l:000152 d:000152 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specif
c:0029 p:0043 s:0150 b:0150 l:000149 d:000149 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12
c:0028 p:0019 s:0146 b:0146 l:002598 d:002598 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31
c:0027 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0026 p:0029 s:0138 b:0138 l:001100 d:000137 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46
c:0025 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415
c:0024 p:0011 s:0126 b:0126 l:001100 d:001100 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44
c:0023 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/sendfile.rb:106
c:0022 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48
c:0021 p:0015 s:0108 b:0108 l:000107 d:000107 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46
c:0020 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/rack/logger.rb:13
c:0019 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/runtime.rb:17
c:0018 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72
c:0017 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/lock.rb:11
c:0016 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD <internal:prelude>:10
c:0015 p:0054 s:0078 b:0078 l:000077 d:000077 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/lock.rb:11
c:0014 p:0032 s:0073 b:0073 l:000072 d:000072 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:168
c:0013 p:0021 s:0069 b:0069 l:000068 d:000068 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:77
c:0012 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
c:0011 p:0015 s:0062 b:0062 l:000061 d:000061 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14
c:0010 p:0015 s:0057 b:0057 l:000056 d:000056 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/content_length.rb:13
c:0009 p:0015 s:0049 b:0049 l:000048 d:000048 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/chunked.rb:15
c:0008 p:0226 s:0042 b:0042 l:000041 d:000041 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/handler/mongrel.rb:67
c:0007 p:0017 s:0032 b:0032 l:000023 d:000031 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:165
c:0006 p:---- s:0029 b:0029 l:000028 d:000028 FINISH
c:0005 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC  :each
c:0004 p:0417 s:0024 b:0024 l:000023 d:000023 METHOD /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:164
c:0003 p:0012 s:0007 b:0007 l:000a84 d:000006 BLOCK  /home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:291
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:291:in `block (2 levels) in run'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:164:in `process_client'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:164:in `each'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:165:in `block in process_client'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/handler/mongrel.rb:67:in `process'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/chunked.rb:15:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/content_length.rb:13:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:77:in `method_missing'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:168:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/lock.rb:11:in `call'
<internal:prelude>:10:in `synchronize'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/lock.rb:11:in `block in call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/runtime.rb:17:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/rack/logger.rb:13:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.4/lib/rack/sendfile.rb:106:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415:in `_run_call_callbacks'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31:in `call'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12:in `cache'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in `retrieve_connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:318:in `retrieve_connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:96:in `connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:189:in `checkout'
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `block in checkout'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `loop'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:194:in `block (2 levels) in checkout'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:238:in `checkout_new_connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:230:in `new_connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:36:in `mysql_connection'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:36:in `new'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:164:in `initialize'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:589:in `connect'
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:589:in `options'

-- C level backtrace information -------------------------------------------
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0xb781e632]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x53a67) [0xb76f7a67]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_bug+0x3a) [0xb76f7b5a]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_check_type+0xbd) [0xb76f7d8d]
/home/markov/.rvm/gems/ruby-1.9.2-p290/gems/mysql-2.8.1/lib/mysql_api.so(+0xf49a) [0xb710349a]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164808) [0xb7808808]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17535e) [0xb781935e]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16a182) [0xb780e182]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f6d8) [0xb78136d8]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x170e72) [0xb7814e72]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_obj_call_init+0x50) [0xb76f9cc0]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_class_new_instance+0x3a) [0xb774865a]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164808) [0xb7808808]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17535e) [0xb781935e]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16a182) [0xb780e182]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f6d8) [0xb78136d8]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17296a) [0xb781696a]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_rescue2+0x169) [0xb76fa099]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x165b05) [0xb7809b05]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1647ed) [0xb78087ed]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17535e) [0xb781935e]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16a182) [0xb780e182]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f6d8) [0xb78136d8]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x170e72) [0xb7814e72]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x174e73) [0xb7818e73]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1751f9) [0xb78191f9]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16a182) [0xb780e182]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f6d8) [0xb78136d8]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_yield+0x62) [0xb78164b2]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_ary_each+0x52) [0xb76c54d2]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1647ed) [0xb78087ed]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17535e) [0xb781935e]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16a182) [0xb780e182]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f6d8) [0xb78136d8]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_vm_invoke_proc+0x2f6) [0xb78149d6]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1806fa) [0xb78246fa]
/home/markov/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x180812) [0xb7824812]
/lib/libpthread.so.0(+0x5cc9) [0xb767acc9]
/lib/libc.so.6(clone+0x5e) [0xb758369e]



-- 
http://redmine.ruby-lang.org