[Bug 29015] New: Failed to cancel incoming FT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 12 11:20:43 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29015

           Summary: Failed to cancel incoming FT
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: butterfly
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


I received an incoming FT and accept it. While the file was transfering I
cancel the FT in Empathy.
According to Empathy the FT is still transferring and Butterfly continues to
write it on the closed socket:


papyon/papyon.transport-DEBUG: 12/07/2010 11:18:05.110896: <<< MSG
xxxxxx at gmail.com Xavier%20Claessens 302
    P2P-Dest: 'bhshot_cassidy at hotmail.com'\r\n
    Content-Type: 'application/x-msnmsgrp2p'\r\n
    MIME-Version: '1.0'\r\n
    \r\n
    53 de a1 78 5a 04 24 4a 9a 14 05 00 00 00 00 00
    a4 a0 ce 2b 00 00 00 00 b2 04 00 00 30 00 00 01
    7a 4f e5 76 00 00 00 00 00 00 00 00 00 00 00 00
    [1202 bytes of data]
    00 00 00 02
stderr-ERROR: 12/07/2010 11:18:05.112354: Traceback (most recent call last):
stderr-ERROR: 12/07/2010 11:18:05.112539:   File
"/usr/lib/pymodules/python2.6/papyon/msnp2p/transport/transport_manager.py",
line 112, in _on_chunk_received
stderr-ERROR: 12/07/2010 11:18:05.112812:     blob.append_chunk(chunk)
stderr-ERROR: 12/07/2010 11:18:05.112997:   File
"/usr/lib/pymodules/python2.6/papyon/msnp2p/transport/TLP.py", line 287, in
append_chunk
stderr-ERROR: 12/07/2010 11:18:05.121527:     self.data.write(chunk.body)
stderr-ERROR: 12/07/2010 11:18:05.122006:   File
"/usr/lib/python2.6/dist-packages/butterfly/channel/file_transfer.py", line
322, in write
stderr-ERROR: 12/07/2010 11:18:05.122549:     self._socket.send(data)
stderr-ERROR: 12/07/2010 11:18:05.123007:   File
"/usr/lib/python2.6/socket.py", line 165, in _dummy
stderr-ERROR: 12/07/2010 11:18:05.123543:     raise error(EBADF, 'Bad file
descriptor')
stderr-ERROR: 12/07/2010 11:18:05.124027: socket.error: [Errno 9] Bad file
descriptor

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list