xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 11 years ago

Closed 11 years ago

Last modified 17 months ago

#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:
Keywords: Cc:


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
   File "v0.0.7.22-75-gb933db8/lib/python/xpra/bencode.py", line 34, in add
     assert self._result is None

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

Change History (4)

comment:1 Changed 11 years ago by Antoine Martin

Status: newaccepted

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.

comment:2 Changed 11 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

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

comment:3 Changed 10 years ago by Antoine Martin


comment:4 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.