[Backgroundrb-devel] TypeError: Class (expected Thread) [updated]

Zachary Powell zach at plugthegap.co.uk
Wed Sep 3 20:48:53 EDT 2008


My backgroundrb server has just started returning these errors. Its
happening on all workers (in random places), but the below are examples
where its happening in the server on its own (not in worker code). I've
tried restarting, has anyone else experienced this? The only other lead is
that alot of one of the workers are building up (I guess after they crash
they hang around). It is happening every few minutes... as far as I know
nothing's changed in the system.
#<TypeError: wrong argument type #<Class:0xb7443100> (expected Thread)>

/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:127:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`loop'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in
`run'
/home/rails/sites/arenaflowers.net-4/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
`initialize'
script/backgroundrb:106:in `new'
script/backgroundrb:106


#<TypeError: incompatible marshal file format (can't be read)
       format version 4.8 required; 54.48 given>

/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:19:in
`load'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:19:in
`receive_data'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:37:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:37:in
`extract'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:18:in
`receive_data'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:64:in
`handle_internal_messages'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
`handle_read_event'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
`handle_read_event'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`loop'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in
`run'
/home/rails/sites/arenaflowers.net-4/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
`initialize'
script/backgroundrb:106:in `new'
script/backgroundrb:106


#<ArgumentError: dump format error(0x74)>

/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:19:in
`load'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:19:in
`receive_data'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:52:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:52:in
`extract'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:18:in
`receive_data'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:64:in
`handle_internal_messages'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
`handle_read_event'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
`handle_read_event'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`loop'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
`start_reactor'
/usr/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in
`run'
/home/rails/sites/arenaflowers.net-4/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
`initialize'
script/backgroundrb:106:in `new'
script/backgroundrb:106
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080903/97cb32c2/attachment.html>


More information about the Backgroundrb-devel mailing list