Device or resource busy in socks5::getaddrinfo
Versions
- OS: Linux
- GTK+ Version: 3.24.14
- PyGObject Version: 3.36.0
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 502, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python3/dist-packages/gajim/common/protocol/bytestream.py", line 702, in _bytestreamResultCB
app.proxy65_manager.resolve_result(frm, query)
File "/usr/lib/python3/dist-packages/gajim/common/proxy65_manager.py", line 91, in resolve_result
self.proxies[proxy].resolve_result(host, port, jid)
File "/usr/lib/python3/dist-packages/gajim/common/proxy65_manager.py", line 126, in resolve_result
self.receiver_tester = ReceiverTester(self.host, self.port, self.jid,
File "/usr/lib/python3/dist-packages/gajim/common/proxy65_manager.py", line 379, in __init__
Socks5.__init__(self, app.idlequeue, host, port, None, None, None)
File "/usr/lib/python3/dist-packages/gajim/common/socks5.py", line 461, in __init__
self.ais = socket.getaddrinfo(host, port, socket.AF_UNSPEC,
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
OSError: [Errno 16] Device or resource busy
Steps to reproduce the problem
I can not reproduce, it happened once at startup. The machine was a bit loaded (i.e. swapping) at that time. Likewise to #9551 (closed), I'm asking myself if this is a gajim issue or Linux issue? But according to man getaddrinfo
it could return EAI_SYSTEM and any errno value.
Extra information
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis