ubercellogeek
ubercellogeek
Happy to! Attached is a triage level core dump (during which the execution exhibited the anomaly in question). If you would like a different type, I can provide that as...
@rzikm - To answer your question, no, subsequent reads do not return non-zero. I've re-run the app in Debug mode, added the `Debug.Assert(bytesRead > 0)` bit and generated a full...
Agreed on both points. Unfortunately, while running this exact same code pointed at `net6.0` and `net7.0` I cannot get the debug assertion to hit.
Correct, should be a NetworkStream. My first thought @wfurt was perhaps this implementation somehow suffers from that zero byte read change in `net8.0`, but this is a fairly basic scenario...that...
@rzikm I have confirmation that when this occurs, data is indeed truncated from the expected result.
@rzikm - sent an email your way.
Ah, it seems we may have come to the same conclusion. After further looking it over last night, I was suspicious of the previous reads from the `StreamReader`, but that...
I can confirm now that removing the `StreamReader` bit is the fix. @rzikm and @wfurt, thank you very much for all your help in diagnosing this issue. We can consider...