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

Crashing on first request after enabling barnes #22

Closed
ricardovj opened this issue Dec 19, 2018 · 3 comments
Closed

Crashing on first request after enabling barnes #22

ricardovj opened this issue Dec 19, 2018 · 3 comments

Comments

@ricardovj
Copy link

Hey guys, as soon as I add the barnes gem and configure/start it in the before_fork hook as instructed, my API launches OK but on first request it crashes with this crash report. Any ideas?

@schneems
Copy link

The segfault wouldn't directly be caused by barnes. It looks like an issue in one of your native extensions. Also you're running an older version of Ruby. I suggest upgrading to at least 2.4.5.

Here's an article on how to inspect which of your native extensions are installed https://devcenter.heroku.com/articles/ruby-segfault. As a good first step upgrade them all to the latest reasonable version.

@ricardovj
Copy link
Author

Cool, thanks, I'll check that out. Question is why that would only happen after adding barnes? Without it everything works just fine 🤔

@ricardovj
Copy link
Author

Upgrading to 2.6 fixed the problem, thanks!

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