Alexandre Vassalotti alexan...@peadrop.com added the comment:
These tests are leaking on my build of r73393:
test_docxmlrpc leaked [0, 0, 85, 0, 0, -85, 0, 0, 0, 0] references, sum=0
test_popen leaked [0, 23, -23, 0, 23, 0, -23, 23, -23, 23] references,
sum=23
test_urllib leaked [4, 4, 4, 4, 6,
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
___
Antoine Pitrou pit...@free.fr added the comment:
Current results:
test_modulefinder leaked [145, 145] references, sum=290
test_urllib leaked [10, 0] references, sum=10
test_urllib2 leaked [227, 227] references, sum=454
--
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
dependencies: +test_urlllib2_localnet DigestAuthHandler leaks nonces
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Antoine Pitrou pit...@free.fr added the comment:
New results:
test_os leaked [1, 1] references, sum=2
test_urllib leaked [4, 2] references, sum=6
test_urllib2 leaked [227, 227] references, sum=454
test_urllib2_localnet leaked [3, 3] references, sum=6
--
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: +Memory leak in os.rename() and other functions
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file13459/py3k_fix_leak_of_fileio.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Changes by Antoine Pitrou pit...@free.fr:
Removed file:
http://bugs.python.org/file13460/py3k_fix_leak_of_test_socket.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Antoine Pitrou pit...@free.fr added the comment:
Current status here:
test_multiprocessing leaked [24, 0] references, sum=24
test_urllib2 leaked [227, 227] references, sum=454
test_urllib2_localnet leaked [3, 3] references, sum=6
--
___
Python
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I have the following tests leaking on my Linux build of py3k:
test_structmembers leaked [102, 102, 102] references, sum=306
test_structmembers leaked [102, 102, 102] references, sum=306
test_structmembers leaked [102, 102, 102, 102]
Antoine Pitrou pit...@free.fr added the comment:
Strange, I don't see any leaks in test_structmembers here.
test_structmembers
beginning 9 repetitions
123456789
.
1 test OK.
[89785 refs]
This is with r71202 on a 64-bit build.
--
___
Python
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Dismiss my last comment. These are the tests actually leaking for my build:
test_docxmlrpc leaked [85, -6, 0, 39] references, sum=118
test_httpservers leaked [-195, 195, 0, 64] references, sum=64
test_os leaked [23, -23, 0, 23]
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
About test_urllib2_localnet, this leak happens because FakeProxyHandler
has class variable digest_auth_handler and its instance variables are
modified. Following workaround can fix this leak, but I'm not sure this
can be committed.
New submission from Antoine Pitrou pit...@free.fr:
A couple of tests exhibit some memory leaks in the py3k branch (when
invoked with -R 3:2).
test_asyncore leaked [-78, 0] references, sum=-78
test_fileio leaked [1, 1] references, sum=2
test_httpservers leaked [-210, 157] references, sum=-53
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I hope attached patch will fix test_fileio leak.
--
keywords: +patch
nosy: +ocean-city
Added file: http://bugs.python.org/file13459/py3k_fix_leak_of_fileio.patch
___
Python tracker
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I hope attached patch will fix leak of test_socket.py.
Leak is happening in FileObjectClassTestCase#testFullRead and
testCloseAfterMakefile. (actually, IOBase#readall)
--
Added file:
Antoine Pitrou pit...@free.fr added the comment:
Applied in r70690, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
___
Antoine Pitrou pit...@free.fr added the comment:
The only remaining leaks now are:
test_urllib2 leaked [227, 227] references, sum=454
test_urllib2_localnet leaked [3, 3] references, sum=6
--
___
Python tracker rep...@bugs.python.org
18 matches
Mail list logo