Skip to content

segv on Celluloid::IO specs #2046

Closed
tarcieri opened this Issue Nov 21, 2012 · 2 comments

2 participants

@tarcieri
Rubinius member

Possibly related to nio4r? This is using nio4r 0.4.2 which includes the selector close synchronization fix.

Stack trace here:

https://gist.github.com/4123305

Originally experienced it on Travis:

https://travis-ci.org/celluloid/celluloid-io/jobs/3251263

Repro:

clone https://github.com/celluloid/celluloid-io.git
bundle
rake

@dbussink
Rubinius member

It's definitely in nio4r. When I uncomment the code that cleans up stuff in NIO_Selector_shutdown it doesn't crash anymore. It of course leaks stuff then, so we don't want that :).

@tarcieri
Rubinius member

Let me try synchronizing the selector cleanup and see if that fixes the problem.

I was trying to locate the JVM's version of this same code for comparison but could not :|

@tarcieri tarcieri closed this Nov 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.