[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 13 23:28:01 PST 2025
labath wrote:
I agree with Jonas and MichaĆ. I think we should take a step back. Can you explain where exactly does this BrokenPipeError come from (an exception backtrace for example)?
The code here assumes that we get a "connection refused" error if the port wasn't open. Maybe we need to catch "broken pipe" as well (but first I want to understand how does it get triggered).
And if that isn't enough, we can increase the sleep time or change it into an exponential backoff thingy.
https://github.com/llvm/llvm-project/pull/127100
More information about the lldb-commits
mailing list