Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak in tkinter #59601

Closed
jll mannequin opened this issue Jul 19, 2012 · 4 comments
Closed

memory leak in tkinter #59601

jll mannequin opened this issue Jul 19, 2012 · 4 comments
Labels
performance Performance or resource usage

Comments

@jll
Copy link
Mannequin

jll mannequin commented Jul 19, 2012

BPO 15396
Nosy @jcea
Files
  • tkinter.patch: patch for tkinter.c
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-07-19.19:22:34.137>
    created_at = <Date 2012-07-19.14:35:25.875>
    labels = ['performance']
    title = 'memory leak in tkinter'
    updated_at = <Date 2012-07-19.19:31:57.656>
    user = 'https://bugs.python.org/jll'

    bugs.python.org fields:

    activity = <Date 2012-07-19.19:31:57.656>
    actor = 'jll'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-07-19.19:22:34.137>
    closer = 'jcea'
    components = []
    creation = <Date 2012-07-19.14:35:25.875>
    creator = 'jll'
    dependencies = []
    files = ['26437']
    hgrepos = []
    issue_num = 15396
    keywords = ['patch']
    message_count = 4.0
    messages = ['165842', '165859', '165861', '165866']
    nosy_count = 3.0
    nosy_names = ['jcea', 'python-dev', 'jll']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue15396'
    versions = ['Python 3.2', 'Python 3.3']

    @jll
    Copy link
    Mannequin Author

    jll mannequin commented Jul 19, 2012

    In the file Modules/_tkinter.c, in the function PyInit__tkinter, m should be decrefed on the PyType_Ready error path.

    @jll jll mannequin added the performance Performance or resource usage label Jul 19, 2012
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 19, 2012

    New changeset b584c58c2286 by Jesus Cea in branch '3.2':
    Closes bpo-15396: memory leak in tkinter
    http://hg.python.org/cpython/rev/b584c58c2286

    New changeset b2dac78db1c9 by Jesus Cea in branch 'default':
    MERGE: Closes bpo-15396: memory leak in tkinter
    http://hg.python.org/cpython/rev/b2dac78db1c9

    @python-dev python-dev mannequin closed this as completed Jul 19, 2012
    @jcea
    Copy link
    Member

    jcea commented Jul 19, 2012

    Thanks for the patch, Julia, and for submitting the contributor form. I have added you too to the "Doc/ACKS.txt" file.

    I wonder how you found this...

    @jcea jcea reopened this Jul 19, 2012
    @jcea jcea closed this as completed Jul 19, 2012
    @jll
    Copy link
    Mannequin Author

    jll mannequin commented Jul 19, 2012

    On Thu, 19 Jul 2012, Jesús Cea Avión wrote:

    Jesús Cea Avión <jcea@jcea.es> added the comment:

    Thanks for the patch, Julia, and for submitting the contributor form. I have added you too to the "Doc/ACKS.txt" file.

    I wonder how you found this...

    My PhD student Suman Saha has developed a tool that finds faults in error
    handling code by checking whether the error handling code within a
    function is self-consistent. So if one failure branch frees x, and the
    next one does not, there is a problem, unless x was freed along the way.

    A preliminary description of the work is in the following paper:

    S. Saha, Julia L. Lawall, G. Muller : “Finding Resource-Release Omission
    Faults in Linux”, 6th Workshop on Programming Languages and Operating
    Systems, Cascais, Portugal (2011)

    http://pagesperso-systeme.lip6.fr/Suman.Saha/src/plos11.pdf

    That paper just has results for Linux, but we are working on applying it
    to other software, including python.

    julia

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant