refraction-networking / water

WebAssembly Transport Executables Runtime
Apache License 2.0
27 stars 1 forks source link

bug: benchmark: writing to cancel pipe failed #9

Closed gaukas closed 1 year ago

gaukas commented 1 year ago

This error was introduced at some point:

--- FAIL: BenchmarkConnV0/PlainV0-Listener
    conn_test.go:171: avg bandwidth: 8.791524 MB/s (N=1)
    conn_test.go:174: water: writing to cancel pipe failed: write unix /tmp/2260acd271452e8d1f3e65e626f2776f->@: write: broken pipe

Trying to identify the cause.

gaukas commented 1 year ago

78e03aa655c90ec89f0fd2e69ae81594eef4c758 is the last commit where errors are not observed. 0422575be3bf6965f4aad22b35ef6016d21da2b4 might be introducing this issue, plus re-introducing the gone GC bug.

@jmwample

gaukas commented 1 year ago

Bug identified, reproduced, and patch created. Will push the patch ~shortly after together with some other changes~ ASAP.