wrongtest-intellif opened a new pull request, #15292:
URL: https://github.com/apache/tvm/pull/15292
Because `LOG(WARNING)` may invoke system calls, the errno of socket bind
failure is overwrite, which make `TryBindPort` exit without any more trials.
Here is an example from strace, the errno check should be put just after
`bind` return.
```
bind(3, {sa_family=AF_INET, sin_port=htons(9200),
sin_addr=inet_addr("192.168.35.133")}, 16) = -1 EADDRINUSE (Address already in
use)
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]