Issue 25745: Reference leaks in test_curses (original) (raw)
Created on 2015-11-27 18:04 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (5) |
|
|
msg255470 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2015-11-27 18:04 |
$ ./python -m test.regrtest -uall -R 3:3 test_curses [1/1] test_curses beginning 6 repetitions 123456 . test_curses leaked [2, 2, 2] references, sum=6 test_curses leaked [0, 1, 2] memory blocks, sum=3 1 test failed: test_curses |
|
|
msg264964 - (view) |
Author: Berker Peksag (berker.peksag) *  |
Date: 2016-05-06 11:27 |
In case someone wants to work on this, the suspicious tests are test_userptr_memory_leak and test_userptr_segfault. See also issue 18113. |
|
|
msg264967 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2016-05-06 12:00 |
Thank you for the tip Berker. Now I see how to fix the leak. |
|
|
msg264970 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2016-05-06 12:14 |
Here is simple patch that fixes a leak. |
|
|
msg265169 - (view) |
Author: Roundup Robot (python-dev)  |
Date: 2016-05-08 21:14 |
New changeset afed12943ddd by Serhiy Storchaka in branch '3.5': Issue #25745: Fixed leaking a userptr in curses panel destructor. https://hg.python.org/cpython/rev/afed12943ddd New changeset 1662b41e1663 by Serhiy Storchaka in branch '2.7': Issue #25745: Fixed leaking a userptr in curses panel destructor. https://hg.python.org/cpython/rev/1662b41e1663 New changeset 50a94e1cabe0 by Serhiy Storchaka in branch 'default': Issue #25745: Fixed leaking a userptr in curses panel destructor. https://hg.python.org/cpython/rev/50a94e1cabe0 |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:58:24 |
admin |
set |
github: 69931 |
2016-05-08 21:15:22 |
serhiy.storchaka |
set |
status: open -> closedresolution: fixedstage: patch review -> resolved |
2016-05-08 21:14:49 |
python-dev |
set |
nosy: + python-devmessages: + |
2016-05-06 12:14:36 |
serhiy.storchaka |
set |
files: + curses_panel_dealloc_userptr.patchkeywords: + patchmessages: + stage: needs patch -> patch review |
2016-05-06 12:00:48 |
serhiy.storchaka |
set |
assignee: serhiy.storchakamessages: + |
2016-05-06 11:27:02 |
berker.peksag |
set |
versions: + Python 3.5nosy: + berker.peksagmessages: + stage: needs patch |
2015-11-27 18:04:42 |
serhiy.storchaka |
create |
|