
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2015-03-26 10:25 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| _PyTraceback_Add_leak.patch | serhiy.storchaka,2016-06-19 17:09 | review | ||
| _PyTraceback_Add_leak2.patch | serhiy.storchaka,2016-10-09 12:59 | review | ||
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 552 | closed | dstufft,2017-03-31 16:36 | |
| Messages (5) | |||
|---|---|---|---|
| msg239319 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2015-03-26 10:25 | |
There is a leak of fetched exception in _PyTraceback_Add() (Python/traceback.c:146). | |||
| msg239321 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2015-03-26 11:16 | |
If a new exception is raised by _PyTraceback_Add(), the original exception is lost. It's sad because _PyTraceback_Add() is supposed to enhance the current exception, not to drop it.In the draft of myPEP 490, I propose to chain the two exceptions. | |||
| msg268857 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2016-06-19 17:09 | |
Proposed patch fixes a leak. | |||
| msg278358 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2016-10-09 12:59 | |
More refactoring. | |||
| msg278852 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2016-10-18 10:28 | |
New changeset6b3be9f38f2a by Serhiy Storchaka in branch '3.5':Issue#23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionhttps://hg.python.org/cpython/rev/6b3be9f38f2aNew changeset2d352bf2b228 by Serhiy Storchaka in branch '3.6':Issue#23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionhttps://hg.python.org/cpython/rev/2d352bf2b228New changeset83877018ef97 by Serhiy Storchaka in branch 'default':Issue#23782: Fixed possible memory leak in _PyTraceback_Add() and exceptionhttps://hg.python.org/cpython/rev/83877018ef97 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:14 | admin | set | github: 67970 |
| 2017-03-31 16:36:21 | dstufft | set | pull_requests: +pull_request951 |
| 2016-10-18 10:32:08 | serhiy.storchaka | set | status: open -> closed stage: patch review -> resolved resolution: fixed versions: + Python 3.7 |
| 2016-10-18 10:28:39 | python-dev | set | nosy: +python-dev messages: +msg278852 |
| 2016-10-09 12:59:10 | serhiy.storchaka | set | files: +_PyTraceback_Add_leak2.patch messages: +msg278358 |
| 2016-07-17 10:05:33 | serhiy.storchaka | set | assignee:serhiy.storchaka |
| 2016-06-19 17:09:19 | serhiy.storchaka | set | files: +_PyTraceback_Add_leak.patch versions: + Python 3.5, Python 3.6 messages: +msg268857 components: + Interpreter Core keywords: +patch stage: patch review |
| 2015-03-26 11:16:32 | vstinner | set | messages: +msg239321 |
| 2015-03-26 10:25:02 | serhiy.storchaka | create | |