Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Segmentation Fault upon WebServer launch - ouch #172

Open
mistergibson opened this issue Mar 21, 2015 · 7 comments
Open

Segmentation Fault upon WebServer launch - ouch #172

mistergibson opened this issue Mar 21, 2015 · 7 comments
Milestone

Comments

@mistergibson
Copy link

https://gist.github.com/mistergibson/39d040abf2a5927940d6

@mistergibson
Copy link
Author

update : I upgrade celluloid-io to version 0.16.2 with the exact same result

@digitalextremist digitalextremist modified the milestone: 0.6.5 Mar 22, 2015
@tarcieri
Copy link
Member

Can you post your code as a git repository? I can't tell what "gxg.rb" is supposed to be, but your snippet requires it.

Preferably a minified reproduction that eliminates the superfluous code would be nice...

@digitalextremist digitalextremist modified the milestones: triage, 0.6.5 Mar 23, 2015
@digitalextremist
Copy link
Member

I'll put this back in for resolution and release once there's a complete repro.

@digitalextremist
Copy link
Member

Btw, @mistergibson can you please move your long piece of output to a gist?

@mistergibson
Copy link
Author

update:

I tracked it down to this area of my code: https://gist.github.com/mistergibson/4534209bd043533eba4e

I implement an actor as a logring, multiple loggers subscribing to messages added to a single ring object. When I use my logring - ruby mri dumps on seg fault. When I use a std. logger ruby does not dump, but the request handling actor dies due to multiple simultaneous requests from the client browser for resources (fairly typical for a browser). Is reel able to handle simultaneous requests from a browser?

@tarcieri
Copy link
Member

@mistergibson yes, unless something is blocking the event loop

@digitalextremist
Copy link
Member

@mistergibson I have your repro now and will take a look at it.

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

No branches or pull requests

3 participants