Unexpected fatal Error after a while
Expected behavior
No crash
Actual behavior
Crashing with unexpected error from NIO
Steps to reproduce
- Make a few queries
- Wait 10 minutes (let the connection stay idle)
- Fatal Crash
If possible, minimal yet complete reproducer code (or URL to code)
Assertion failed: Received unexpected error while idle: The operation couldn’t be completed. (NIO.IOError error 1.): file =/Xcode/DerivedData/queue-gbuwgxlkafsuinennykyqnzmxgwg/SourcePackages/checkouts/swift-redi-stack/Sources/RediStack/ChannelHandlers/RedisCommandHandler.swift, line 79
Assertion failed: Received unexpected error while idle: The operation couldn’t be completed. (NIO.IOError error 1.): file /Xcode/DerivedData/queue-gbuwgxlkafsuinennykyqnzmxgwg/SourcePackages/checkouts/swift-redi-stack/Sources/RediStack/ChannelHandlers/RedisCommandHandler.swift, line 79
[anything to help us reproducing the issue]
RedisNIO version/commit hash
1.0.0-alpha.6
swift --version && uname -a
)
Swift & OS version (output of Swift 5.1 Release macOS 10.14.6 (with Xcode 11)
Edited by Nathan Harris