Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemStackError Being Ignored #1010

Closed
mneumark opened this issue Jun 30, 2016 · 1 comment
Closed

SystemStackError Being Ignored #1010

mneumark opened this issue Jun 30, 2016 · 1 comment

Comments

@mneumark
Copy link

I accidentally introduced an infinite loop in my app yesterday, and ran into an issue where nginx returned a 502 and puma was completely silent. I finally confirmed it was getting to puma and the rest of my app and spent an entire day digging through my code to see where the SystemStackError was getting rescued and ignored.

Finally I narrowed it down to line 117 of lib/puma/thread_pool.rb. It just rescues Exception and does nothing with it. It isn't even spitting out the error.

This lead to a huge hassle in debugging. Is there something I didn't set up right? Or is this genuinely a bug? (Using the latest version of Grape, Ruby 2.2.3, Rack 1.6.2, on Mac OS X 10.11 if that helps).

@evanphx
Copy link
Member

evanphx commented Jul 19, 2016

Sorry about that! I'm going to have a message sent to STDERR when that happens now so hopefully that would help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants