celluloid/reel

Segmentation Fault upon WebServer launch - ouch

mistergibson opened this issue · 7 comments

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

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...

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

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

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?

@mistergibson yes, unless something is blocking the event loop

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