Xpra: Ticket #19: client goes into infinite loop on ^C

sometimes when I hit ctrl-c to the client it goes to infinite loop printing

 Traceback (most recent call last):
   File "v0.0.7.22-75-gb933db8/lib/python/xpra/protocol.py", line 67, in cb
     fn(*args, **kwargs)
   File "v0.0.7.22-75-gb933db8/lib/python/xpra/protocol.py", line 179, in _handle_read
     self._read_decoder.add(buf)
   File "v0.0.7.22-75-gb933db8/lib/python/xpra/bencode.py", line 34, in add
     assert self._result is None
 AssertionError

Looks like we need to more forcefully shutdown the client network receive queue.



Wed, 07 Sep 2011 08:55:55 GMT - Antoine Martin: status changed

Please see if r156 fixes this issue (more details in commit message).

If it does, I would like to make one more change to avoid calling _handle_read for every 8KB received.


Fri, 23 Sep 2011 14:37:43 GMT - Antoine Martin: status changed; resolution set

please re-open if this re-occurs, the read loop code also got some improvements in r166


Mon, 20 Feb 2012 20:02:00 GMT - Antoine Martin: version set


Sat, 23 Jan 2021 04:43:21 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/19