Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7383] test_multiprocessing leaks

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 23, 2009, 11:39 AM

Post #1 of 7 (319 views)
Permalink
[issue7383] test_multiprocessing leaks

New submission from Antoine Pitrou <pitrou [at] free>:

This has started a few days ago. I don't know if this was triggered by a
multiprocessing change or an unrelated one.
On trunk:

test_multiprocessing
beginning 6 repetitions
123456
......
test_multiprocessing leaked [277, 277, 277] references, sum=831

On py3k:

test_multiprocessing
beginning 6 repetitions
123456
......
test_multiprocessing leaked [229, 229, 229] references, sum=687

----------
assignee: jnoller
components: Library (Lib), Tests
messages: 95649
nosy: jnoller, pitrou
priority: high
severity: normal
stage: needs patch
status: open
title: test_multiprocessing leaks
type: resource usage
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 12:25 PM

Post #2 of 7 (296 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

AFAIK; I haven't changed anything which would introduce refleaks in the
code. So, it's going to be a matter of chasing down all of the changes
since the refleaks popped up and see which one triggered it.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 7:04 PM

Post #3 of 7 (295 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

R. David Murray <rdmurray [at] bitdance> added the comment:

This started just after r76438, which is an additional test for
multiprocessing. Given build delays this is only a correlation not a
definite cause, but it is suspicious.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 24, 2009, 4:56 AM

Post #4 of 7 (283 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

> R. David Murray <rdmurray [at] bitdance> added the comment:
>
> This started just after r76438, which is an additional test for
> multiprocessing. Given build delays this is only a correlation not a
> definite cause, but it is suspicious.

I just checked, it was indeed introduced by r76438.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 24, 2009, 6:14 AM

Post #5 of 7 (282 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

Well, that's alarming. I'll back that out for now - I'm fairly disturbed
it introduced leaks that bad.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 24, 2009, 6:22 AM

Post #6 of 7 (280 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

I've backed it out on trunk and py3k. I've reopened the original bug to
debug the refleak caused by the test.

----------
resolution: -> fixed
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 24, 2009, 7:25 AM

Post #7 of 7 (285 views)
Permalink
[issue7383] test_multiprocessing leaks [In reply to]

R. David Murray <rdmurray [at] bitdance> added the comment:

I haven't looked at the test, but is it possible that the logging module
is creating state that isn't being cleaned up after the test completes?
Test refleaks don't always mean refleaks in the underlying C code.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.