smart server is noisy on disconnection

Bug #62905 reported by Robert Collins
6
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Triaged
Medium
Unassigned
bzr (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I start a server, then branch from a bzr:// URL and when the branching
is done
the server raises an exception:

<bzrlib.transport.smart.SmartStreamServer object at 0x02223C90>
terminating on
exception (10054, 'Connection reset by peer')
Exception in thread smart-server-child:
Traceback (most recent call last):
  File "C:\Python24\lib\threading.py", line 442, in __bootstrap
    self.run()
  File "C:\Python24\lib\threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Python24\Lib\site-packages\bzrlib\transport\smart.py", line
306, in serve
    while self._serve_one_request() != False:
  File "C:\Python24\Lib\site-packages\bzrlib\transport\smart.py", line
284, in
_serve_one_request
    req_args = self._recv_tuple()
  File "C:\Python24\Lib\site-packages\bzrlib\transport\smart.py", line
268, in
_recv_tuple
    return _recv_tuple(self._in)
  File "C:\Python24\Lib\site-packages\bzrlib\transport\smart.py", line
172, in
_recv_tuple
    req_line = from_file.readline()
  File "C:\Python24\lib\socket.py", line 340, in readline
    data = self._sock.recv(self._rbufsize)
error: (10054, 'Connection reset by peer')

It causes no problems and branching/pushing works fine next time again,
but
shouldn't be the disconnecting handled somehow? Or is this a
Windows-specific bug?

 affects /bzr
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Tags: hpss
Revision history for this message
Paul Dufresne (paulduf) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in bzr:
assignee: nobody → dufresnep
status: New → Incomplete
Martin Pool (mbp)
Changed in bzr:
status: Incomplete → Invalid
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
RLVJ (nathan-johnson) wrote :

This seems to be the same bug as 200599, which I've only reproduced in combination with bzr-eclipse on MS Windows. Are you doing the branching via bzr-eclipse?

Jelmer Vernooij (jelmer)
tags: added: hpss
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.