Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6589525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:11:08+00:00 2026-05-25T17:11:08+00:00

I have a problem with assets on an asynchronous rails 3.1 application, I managed

  • 0

I have a problem with assets on an asynchronous rails 3.1 application, I managed to build a minimal example showing my problem but it did not helped me much.

The application is really simple, what I did was:
– create a fresh application with 3.1 (non rc)
– add thin+Rack::FiberPool
– setup bourbon (scss mixins)
– run the application

Now I start a server with “rails server thin”, after that any request will end up in a “stack level too deep” with only one backtrace line :/

Here is the minimal application: https://github.com/schmurfy/assets_crash

Here is the backtrace I get when doing a request:
http://dl.dropbox.com/u/1313066/github/crash_assets.png

I tried to dig in to see where the problem was which led me in sass-rails in the file template_handlers.rb:

def sass_options(scope)
  importer = self.importer(scope)
  options = sass_options_from_rails(scope)
  load_paths = (options[:load_paths] || []).dup
  load_paths.unshift(importer)
  # bnding.pry
  options.merge(
    :filename => eval_file,
    :line => line,
    :syntax => syntax,
    :importer => importer,
    :load_paths => load_paths,
    :custom => {
      :resolver => Resolver.new(scope)
    }
  )
end

I tried to explore with Pry (an irb alternative) and what I found is even more puzzling: While at the binding.pry line I can trigger a stack level too deep with:

{}.merge(:anything => Resolver.new(scope))

The result is immediate but I cannot find anything in that object which would explain the result.

Any lead would be welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:11:09+00:00Added an answer on May 25, 2026 at 5:11 pm

    I finally found the answer: fibers only have 4Kb of stack space and Ruby on Rails is now too big to fit in this space :/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having little problem when compiling assets if i specify a my application
guys, I have the problem when copying database from local assets folder to /data/data/package_name/databases
I have a problem using multiple (2) jQuery plugins. I've googled a little but
Hi im quite beginner in rails. i have a problem suggestion will be appreciated.
I have seen various discussions on the problem of serving WebView pages from assets,
I have few html files in assets folder of my application. My application loads
I have a problem with Rails and Jquery. Im using AJAX to add comments
I have a strange problem. I have used this before with no problems, but
I want complie game to android but... I have problem with Subprocess.py I get
I have a problem and I have potential solution. But I wanted to confirm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.