Closed camelpunch closed 8 years ago
Removing the heartbeat code makes this test pass reliably. We need to re-implement client heartbeats with a timer dispatch source
It turns out this is a -[__NSDate release]: message sent to deallocated instance
. It only occurs when last activity date recording code is present.
This usually happens during a semaphore wait, but that could be coincidental.
Possibly unrelated: increasing the channel count to 1000 produces some interesting errors.
Many of these:
Then many of these:
The above is probably #57
I suspect we're flooding the socket with writes and not handling reads in between.