-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hanging following IO.blocking(...)
calls in v3.5.0 RC3 and RC4
#3548
Comments
Just to rule out some things quickly, can you try swapping |
Btw, here is a heap dump from typelevel/fs2#3091 (comment) when it hangs. i3548.bin.zip |
All of the workers are parked (in |
Thanks. So that's probably polling system bugs 😬 |
I just published an update in typelevel/skunk#852 (comment). The tl;dr is that there may be an issue with I may have been hasty to blame |
@armanbilge Can you try 3da03b9? It seems to fix the FS2 But it doesn't help with the skunk problem (it is polling system specific), which I couldn't reproduce locally. |
Hmm, not really. The skunk issues are reproducible with just the RCs with timers. The FS2 issue is the polling system one. In any case, thanks! Will try that and report back. Edit: oh, is that commit only relevant for the polling system branch? |
Yeah, sorry, in "it is polling system specific", the "it" is my commit (3da03b9). |
#3549 might be related to the skunk issue (although I couldn't reproduce that one locally). |
Yeah, no one's reproduced that one locally 😛 I'll publish your fix and try it in CI, awesome!!! Thank you so much 😁 |
if it's select without timeout, then must wakeup on external submition. |
In #3551 (comment) we just failed:
|
I think we sorted this. |
So far this has been observed in both FS2 and Skunk and specifically in their TLS/SSL suites, where
blocking(...)
is used in the SSL engine wrapper.SSLTest intermittently hanging on CI skunk#852
We started experiencing non-deterministic hangs after upgrading to CE v3.5.0-RC3 (via FS2 v3.7.0-RC4). It also reproduced with CE RC4, and does not appear to reproduce after bumping back down to the stable series.
Implement I/O with CE polling system on JVM fs2#3091 (comment)
This one reproduces reliably for me locally on Linux after updating to CE 1f95fd7 (which merged RC4 into the previous snapshot CE 6581dc4). Furthermore replacing the
blocking(...)
withdelay(...)
in the SSL engine wrapper appeared to resolve the issue, so long as no other blocking calls are involved (i.e. DNS resolution).The text was updated successfully, but these errors were encountered: