Forum: Ruby on Rails Random Stack Level Too Deep Errors From Facebooker

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D19c2ee61b01709fbdd4e5ef831d5da1?d=identicon&s=25 David Law (Guest)
on 2009-01-16 19:36
(Received via mailing list)
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:in `extract_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:in `handle_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:in `dispatch_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:in
`process'
/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:in
`process'
/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:in `each'
/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:in `run'
/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:in `new'
/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:in
`initialize'
/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:in `run'
/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:in `each'
/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:in
`run'
/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:in `load'
/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.
This topic is locked and can not be replied to.