``test_functools`` sometimes leaks references
Open
Nobody has claimed this yet.
tests
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
The text below is a part of the refleak tests, and unfortunately, I am unable to constantly reproduce it :(
0:13:26 load avg: 7.84 [201/478/1] test_functools failed (reference leak) -- running (3): test.test_multiprocessing_spawn.test_processes (7 min 14 sec), test_embed (1 min 12 sec), test_faulthandler (55.3 sec)
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX1 111
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CPython refleak test output for test_functools and try running that test repeatedly under the refleak runner. The report is intermittent and provides no source file or reproducer, so first isolate which test path leaks references. Done means identifying the leaking path and adding a regression fix or test that prevents the leak.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100