#19 closed defect (fixed)
client goes into infinite loop on ^C
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 0.0.7.x |
Component: | client | Version: | 0.0.7.26 |
Keywords: | Cc: |
Description
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.
Change History (4)
comment:1 Changed 9 years ago by
Status: | new → accepted |
---|
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
please re-open if this re-occurs, the read loop code also got some improvements in r166
comment:3 Changed 9 years ago by
Version: | → 0.0.7.26 |
---|
comment:4 Changed 5 days ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/19
Note: See
TracTickets for help on using
tickets.
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.