Random Stack Level Too Deep Errors From Facebooker


#1

Hi everyone,

I just recently added the facebooker plugin into the vendor/plugin,
but have not really used it yet on the staging server. However, it
seems that every once in a while I’ll run into an error like this:

A SystemStackError occurred in application#index:

stack level too deep
[RAILS_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb:
10:in `extract_request_environment_without_facebooker’

[RAILS_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb:
10:in extract_request_environment_without_facebooker' [RAILS_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb: 10:inextract_request_environment’
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1424:in recognize' /opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ dispatcher.rb:170:inhandle_request’
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:115:in dispatch' /opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ dispatcher.rb:126:indispatch_cgi’
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:9:in dispatch' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:76:inprocess’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in
synchronize' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:inprocess’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in
process_client' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:ineach’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in
process_client' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:inrun’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in
initialize' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:innew’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:ininitialize’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in new' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:inrun’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:
282:in run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb: 281:ineach’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:
281:in run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:inrun’
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:
212:in run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 /opt/bin/mongrel_rails:19:inload’
/opt/bin/mongrel_rails:19

I’m not sure what would be the first step in debugging this as it does
not seem to happen everytime but often enough and only on the staging
server as opposed to the development machines. Does anyone have an
idea on what could be going on here? Is it a conflict with another
plugin that might have also overridden extract_request_environment?
Thanks in advance.