High CPU usage when connected to a domain with both AAAA and A record but no IPv6 support
- OS: Mac OS 10.13.1
- Gajim version: Master branch commit gajim@4c45c186
- GTK version: 3.22.25
- Python-nbxmpp version: Master branch commit 3417ccbf
Steps to reproduce the problem
I installed python3 master branch version like described in the wiki (https://dev.gajim.org/gajim/gajim/wikis/help/GajimMacOSX) and had no issues connecting to my server and to write other people.
The cpu usage of the python gajim process is always at 100%. And the log is spammed with this error:
... 03.11.2017 20:31:11 (E) nbxmpp.transports_nb _do_send: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/nbxmpp/transports_nb.py", line 573, in _do_send send_count = self._send(self.sendbuff) OSError: [Errno 9] Bad file descriptor ...
When I run gajim in a iPython console with profiling enabled I get the related message:
03.11.2017 20:28:27 (W) nbxmpp.transports_nb calling send on empty buffer and queue
I'm happy to provide additional info if needed. I would be great to have a xmpp client on Mac OS again.