This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Build Memory Leak
Type: Stage: resolved
Components: Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: memory leaks in pgen build step abort build with address sanitizer enabled
View: 27780
Assigned To: Nosy List: Stone, xiang.zhang
Priority: normal Keywords:

Created on 2016-11-05 12:50 by Stone, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg280111 - (view) Author: Honor (Stone) Date: 2016-11-05 12:50
Hi,

I am compiling python from source code with clang compiler.

as follows result:

==5284==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 11776 byte(s) in 8 object(s) allocated from:
    #0 0x49ccbe (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x49ccbe)
    #1 0x4c86ca (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x4c86ca)

Indirect leak of 2000 byte(s) in 3 object(s) allocated from:
    #0 0x49ccbe (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x49ccbe)
    #1 0x4c86ca (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x4c86ca)

Indirect leak of 898 byte(s) in 86 object(s) allocated from:
    #0 0x49c9cb (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x49c9cb)
    #1 0x2ad0d5405679 (/lib/x86_64-linux-gnu/libc.so.6+0x89679)

Indirect leak of 520 byte(s) in 1 object(s) allocated from:
    #0 0x49c9cb (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x49c9cb)
    #1 0x4cb549 (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x4cb549)

Indirect leak of 178 byte(s) in 33 object(s) allocated from:
    #0 0x49c9cb (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x49c9cb)
    #1 0x4c14d4 (/home/y/Downloads/Python-3.5.2/Parser/pgen+0x4c14d4)

SUMMARY: AddressSanitizer: 15372 byte(s) leaked in 131 allocation(s).

Python version 3.5.2
Operating System: Linux y 3.13.0-24-generic  14.04 ubuntu
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
msg280113 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2016-11-05 13:50
This seems a same problem as in #27780.
msg280114 - (view) Author: Honor (Stone) Date: 2016-11-05 14:10
Hmmm, Ok. Thanks a lot.

On Sat, Nov 5, 2016 at 4:50 PM, Xiang Zhang <report@bugs.python.org> wrote:

>
> Xiang Zhang added the comment:
>
> This seems a same problem as in #27780.
>
> ----------
> nosy: +xiang.zhang
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue28620>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:58:39adminsetgithub: 72806
2016-11-05 14:56:14r.david.murraysetstatus: open -> closed
superseder: memory leaks in pgen build step abort build with address sanitizer enabled
resolution: duplicate
stage: resolved
2016-11-05 14:10:32Stonesetmessages: + msg280114
2016-11-05 13:50:45xiang.zhangsetnosy: + xiang.zhang
messages: + msg280113
2016-11-05 12:50:06Stonecreate