Skip to content

test_xml_etree_c leaked [68, 68, 74] references, sum=210 #78399

Closed

Description

@pablogsal
BPO 34218
Nosy @vstinner, @serhiy-storchaka, @pablogsal
PRs
  • bpo-34218: Fix a leak in _elementtree.c introduced in GH-6769. #8460
  • 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 2018-07-25.11:54:45.913>
    created_at = <Date 2018-07-25.08:43:52.984>
    labels = ['3.8', 'type-bug', 'tests']
    title = 'test_xml_etree_c leaked [68, 68, 74] references, sum=210'
    updated_at = <Date 2018-07-25.18:54:36.252>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2018-07-25.18:54:36.252>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-25.11:54:45.913>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2018-07-25.08:43:52.984>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34218
    keywords = ['patch']
    message_count = 5.0
    messages = ['322343', '322345', '322347', '322368', '322385']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'pablogsal']
    pr_nums = ['8460']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34218'
    versions = ['Python 3.8']

    Activity

    1. pablogsal commented on Jul 25, 2018

      @pablogsal
      MemberAuthor

      Builder x86 Gentoo Refleaks 3.x reports that test_xml_etree_c is potentially leaking references and blocks:

      https://buildbot.python.org/all/#builders/1/builds/295

      ----------------------------------------------------------------------
      Ran 148 tests in 0.487s
      OK
      .
      test_xml_etree_c leaked [68, 68, 74] references, sum=210
      test_xml_etree_c leaked [51, 52, 52] memory blocks, sum=155
      1 test failed again:
      test_xml_etree_c
      == Tests result: FAILURE then FAILURE ==

    2. added
      testsTests in the Lib/test dir
      type-bugAn unexpected behavior, bug, or error
      on Jul 25, 2018
    3. serhiy-storchaka commented on Jul 25, 2018

      @serhiy-storchaka
      Member

      Looks like a regression introduced in bpo-29209 (02ec92f).

    4. serhiy-storchaka commented on Jul 25, 2018

      @serhiy-storchaka
      Member

      New changeset ee98e7b by Serhiy Storchaka in branch 'master':
      bpo-34218: Fix a leak in _elementtree.c introduced in #51018. (GH-8460)
      ee98e7b

    5. vstinner commented on Jul 25, 2018

      @vstinner
      Member

      Is this issue really fixed? https://buildbot.python.org/all/#builders/1/builds/295 still detects leaks.

    6. serhiy-storchaka commented on Jul 25, 2018

      @serhiy-storchaka
      Member

      This test was finished 4 hours before the leak was fixed, and a hour before this issue was opened.

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifetestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions