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

Server EventMachine can segfault on ruby exceptions or watchdog aborts #2148

Open
SpComb opened this issue Apr 12, 2017 · 0 comments
Open

Server EventMachine can segfault on ruby exceptions or watchdog aborts #2148

SpComb opened this issue Apr 12, 2017 · 0 comments
Labels

Comments

@SpComb
Copy link
Contributor

SpComb commented Apr 12, 2017

The server uses EventMachine 1.2.3, which can segfault during cleanup after a callback raises an exception and EM aborts: eventmachine/eventmachine#765

This can happen if some WebsocketBackend function raises an exception, or if the new #2139 Watchdog aborts the EM thread (only during EM::Connection#unbind callbacks, or any EM callbacks..?).

This also seems to hide the original exception that was raised.

It would seem that these puma worker segfaults are mostly harmless, as puma will still restart the worker: #2139 (comment)

@SpComb SpComb added the server label Apr 12, 2017
@SpComb SpComb changed the title Server EventMachine can segfault on crashes or watchdog aborts Server EventMachine can segfault on ruby exceptions or watchdog aborts Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant