OS X version, tested in 10.6, error: poll is not returning