celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Rubinius crashes with Celluloid::IO::TCPSocket #84

Open hassan opened 10 years ago

hassan commented 10 years ago

Using a celluloid socket, e.g.

HTTP.get(url, socket_class: Celluloid::IO::TCPSocket).response

with current Rubinius (built 9/14) in either 1.9.3 or 2.0 mode causes a crash:

https://gist.github.com/hassan/e7b40be4fc888b508bf9

on Mac OS 10.7.5

halorgium commented 10 years ago

@hassan could you confirm whether this is a bug with the current Celluloid and RBX versions?

hassan commented 10 years ago

With celluloid-io (0.15.0) http (0.5.0) using rubinius 2.1.1 (2.1.0 be67ed17 2013-10-18 JI) [x86_64-darwin11.4.2](built today from master)

no crash, reasonable output :-)

Thanks!

hassan commented 10 years ago

Oops. I had the failing trigger part of the test commented out e.g.

#HTTP.get(url, socket_class: Celluloid::IO::TCPSocket).response
HTTP.get(url).response

My bad. With the original line, current rbx produces

https://gist.github.com/hassan/523219f8c9cbcecdd46f

digitalextremist commented 8 years ago

Can you still reproduce this? Seems like the problem was resolved by time