Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue34080

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Memory leak in the compiler in case of errors
Type:resource usageStage:resolved
Components:Interpreter CoreVersions:Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: miss-islington, serhiy.storchaka, vstinner
Priority:normalKeywords:patch

Created on2018-07-10 08:20 byserhiy.storchaka, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 8222mergedserhiy.storchaka,2018-07-10 08:26
PR 8242closedvstinner,2018-07-11 09:24
PR 8256mergedmiss-islington,2018-07-11 21:18
PR 8257mergedmiss-islington,2018-07-11 21:19
PR 8258mergedmiss-islington,2018-07-11 21:20
Messages (7)
msg321367 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-07-10 08:20
MergingPR 6517 forissue33305 exposed a leak in the compiler:https://buildbot.python.org/all/#/builders/1/builds/280$ ./python -m test -R 3:3 test_compile test_grammarRun tests sequentially0:00:00 load avg: 1.95 [1/2] test_compilebeginning 6 repetitions123456......test_compile leaked [15, 16, 15] memory blocks, sum=460:00:14 load avg: 1.97 [2/2/1] test_grammar -- test_compile failedbeginning 6 repetitions123456......test_grammar leaked [50, 50, 50] memory blocks, sum=150test_grammar failed== Tests result: FAILURE ==2 tests failed:    test_compile test_grammarTotal duration: 15 sec 226 msTests result: FAILUREThis branch was not common, but afterissue33305 it has became more common and heavily tested.
msg321419 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2018-07-11 09:25
Related issue:bpo-34084.
msg321500 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2018-07-11 21:18
New changeset993030aac576710a46b3dd0b4864f819d4a94145 by Victor Stinner (Serhiy Storchaka) in branch 'master':bpo-34080: Fix a memory leak in the compiler. (GH-8222)https://github.com/python/cpython/commit/993030aac576710a46b3dd0b4864f819d4a94145
msg321504 -(view)Author: miss-islington (miss-islington)Date: 2018-07-11 21:53
New changeseta45fa39d85fc500d530d05d3ec7b36eb5d286f5e by Miss Islington (bot) in branch '2.7':bpo-34080: Fix a memory leak in the compiler. (GH-8222)https://github.com/python/cpython/commit/a45fa39d85fc500d530d05d3ec7b36eb5d286f5e
msg321506 -(view)Author: miss-islington (miss-islington)Date: 2018-07-11 21:54
New changeset9beed0c36f4ce990ded095575ba3124e2264dbbe by Miss Islington (bot) in branch '3.7':bpo-34080: Fix a memory leak in the compiler. (GH-8222)https://github.com/python/cpython/commit/9beed0c36f4ce990ded095575ba3124e2264dbbe
msg321507 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2018-07-11 22:05
New changeset3b06285d2b7963d9d06b60e85712d5ecc6540deb by Victor Stinner (Miss Islington (bot)) in branch '3.6':bpo-34080: Fix a memory leak in the compiler. (GH-8222) (GH-8257)https://github.com/python/cpython/commit/3b06285d2b7963d9d06b60e85712d5ecc6540deb
msg321508 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2018-07-11 22:06
Thanks Serhiy for the fix! It seems that new tests helped to find a real bug ;-)
History
DateUserActionArgs
2022-04-11 14:59:02adminsetgithub: 78261
2018-07-11 22:06:11vstinnersetstatus: open -> closed
resolution: fixed
messages: +msg321508

stage: patch review -> resolved
2018-07-11 22:05:32vstinnersetmessages: +msg321507
2018-07-11 21:54:31miss-islingtonsetmessages: +msg321506
2018-07-11 21:53:20miss-islingtonsetnosy: +miss-islington
messages: +msg321504
2018-07-11 21:20:07miss-islingtonsetpull_requests: +pull_request7791
2018-07-11 21:19:05miss-islingtonsetpull_requests: +pull_request7790
2018-07-11 21:18:26miss-islingtonsetpull_requests: +pull_request7789
2018-07-11 21:18:03vstinnersetmessages: +msg321500
2018-07-11 09:25:11vstinnersetmessages: +msg321419
2018-07-11 09:24:29vstinnersetpull_requests: +pull_request7774
2018-07-10 08:27:06serhiy.storchakasetnosy: +vstinner
2018-07-10 08:26:31serhiy.storchakasetkeywords: +patch
stage: patch review
pull_requests: +pull_request7760
2018-07-10 08:20:42serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp