[Backgroundrb-devel] error: no marshal_dump is defined for class Thread

hemant kumar gethemant at gmail.com
Tue Dec 25 00:29:16 EST 2007


On Mon, 2007-12-24 at 17:32 -0800, Jason LaPier wrote:
> I get this error periodically in backgroundrb.log, but only on my
> production box (the one running ruby 1.8.5) - my dev box doesn't get
> this error. As far as I can tell, everything is working ok, despite
> the error (I don't really know how to determine if the jobs are
> getting threaded successfully, but they are running, that I am sure
> of).
> 
> 
> Here's the dump:
> 
> no marshal_dump is defined for class Thread
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/nbio.rb:55:in
> `dump'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/nbio.rb:55:in
> `dump_object'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:32:in
> `send_data'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/server/meta_worker.rb:291:in
> `send_response'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/server/meta_worker.rb:224:in
> `process_request'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/server/meta_worker.rb:202:in
> `receive_data'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:54:in
> `receive_internal_data'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/bin_parser.rb:29:in
> `call'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/bin_parser.rb:29:in
> `extract'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:52:in
> `receive_internal_data'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:48:in
> `handle_internal_messages'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/core.rb:158:in
> `start_reactor'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/core.rb:156:in
> `each'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/core.rb:156:in
> `start_reactor'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/core.rb:147:in
> `loop'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/core.rb:147:in
> `start_reactor'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:21:in
> `start_worker'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/packet_master.rb:134:in
> `fork_and_load'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/packet_master.rb:98:in
> `load_workers'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/packet_master.rb:93:in
> `each'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/packet_master.rb:93:in
> `load_workers'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/packet_master.rb:19:in
> `run'
> 
> /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/server/master_worker.rb:144:in
> `initialize'
> 
> script/backgroundrb:41:in `new'
> 
> script/backgroundrb:41

Looks your code is trying to dump threads, somewhere!

I will have a look..anyways. And if jobs are running means, there are
getting threaded successfully.




More information about the Backgroundrb-devel mailing list