I have submitted this bug with upstream: 
https://bugs.freedesktop.org/show_bug.cgi?id=31936
A patch that works around the problem is attached.

Copying the bug details here:
_______________________
Papyon 0.4.6 sends out requests to MSN's server that cause the server to return
a 400 HTTP response ("Bad Request").
When such responses are received, telepathy-butterfly (through it's use of
papyon) suffers from a huge memory leak. (about 200MB per hour on average)

Detailes:
In http://support.microsoft.com/kb/826437 you can see that the .Net framework
1.1 does not accept requests that contains ":" in the host name AND "&" in the
URL because of a bug.
Papyon sends requests to port 80 to a URL of the form:
http://65.54.48.32:80/gateway/gateway.dll?Action=poll&SessionID=962514443.0
The MSN server then responds to these responses with a '400 Bad Request'
response.
These responses also result in a huge memory leak.

Workaround:
Since it is not necessary to send the port number with the URL when the port
number is 80, I created a patch that avoids sending it in this case. This helps
to avoid the 400 responses as well as the memory leak.
This attached patch relates to the papyon/gnet/protocol directory

Further details:
OS - Ubuntu 10.04 64 bit with all latest updates.


** Bug watch added: freedesktop.org Bugzilla #31936
   http://bugs.freedesktop.org/show_bug.cgi?id=31936

** Patch added: "papyon.patch"
   
https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/591119/+attachment/1745921/+files/papyon.patch

-- 
Telepathy-butterfly leaks memory
https://bugs.launchpad.net/bugs/591119
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to