Comments (4)
Is this still an issue @Burgestrand?
from celluloid-io.
I would assume so, but I will not be at a computer for another 24 hours to test the reproduction case against the newest release of celluloid.
The origin of the bug is based on that the non-blocking read in Celluloid::IO will never yield to the event loop because there is always data to be read from the socket, and because of this it will never receive the mailbox termination message, or any other message for that part. sleep(0)
is a relatively sane workaround to yield to the event loop before reading from the socket, but I'm not sure I think it should be necessary.
from celluloid-io.
I ran your reproduction and I see your issue. This is still affecting jruby-1.7.19
from celluloid-io.
@Burgestrand thank you for getting back to me on this, and for the beautiful repro... long ago.
from celluloid-io.
Related Issues (20)
- Test suite timeouts revamp.
- C::IO::TCPSocket.new dies with IO::EAGAINWaitReadable on JRuby v9.0.3.0. HOT 12
- [Feature request] Access to socket option within UDPSocket and TCPSocket HOT 3
- "it shouldn't crash" crashes HOT 2
- Celluloid::IO behaves like a Celluloid Actor failures HOT 24
- #wait_readable and #wait_writable have different signature than the ruby methods HOT 3
- bundle install fails, missing culture/sync
- Establishing a connection in TCPSocket is not happening asynchronously HOT 2
- server-side closing of an SSLSocket doesn't cause an event HOT 1
- Does it work with ruby 2.1, 2.2, 2.3? HOT 1
- Provide an actor-level select which can accept multiple sockets
- Rubinius crashes with IO::EINPROGRESSWaitWritable when opening Celluloid::IO::TCPSocket
- tests fail randomly (about 28% of times) HOT 2
- Not bundling with ruby < 2.2 HOT 6
- strange behavour with encoding bytes in examples HOT 2
- Review of net-http-celluloid-io gem modifications HOT 2
- Run celluloid backported mode.
- test fail of actor_spec
- help with server-side disconnects in slack-ruby-client HOT 6
- Resolv::ResolvError: DNS result has no information for ... under load HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celluloid-io.