[issue9412] test_smtpd leaks references
New submission from Antoine Pitrou pit...@free.fr: See http://mail.python.org/pipermail/python-checkins/2010-July/095648.html test_smtpd leaked [25, 25, 25] references, sum=75 -- assignee: richard components: Library (Lib) messages: 111901 nosy: giampaolo.rodola, pitrou, richard priority: high severity: normal status: open title: test_smtpd leaks references type: resource usage versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9412 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9412] test_smtpd leaks references
Richard Jones richardjo...@optushome.com.au added the comment: That's odd. I didn't run the refcount tests because I was only adding Python code. I'll look into compiling a debug build and running the tests locally with a view to tracking down the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9412 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9412] test_smtpd leaks references
Antoine Pitrou pit...@free.fr added the comment: That's odd. I didn't run the refcount tests because I was only adding Python code. That's not odd. A reference leak can indicate that some objects hang in memory permanently rather than being cleaned up after the test run. Looking at the code you added, DummyServer.messages will slowly accumulate more and more Python objects as the tests get run several times. (it's not necessarily the only cause of the refleak, though) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9412 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9412] test_smtpd leaks references
Georg Brandl ge...@python.org added the comment: The culprit was indeed DummyServer.messages. Fixed in r83222. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9412 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com