Skip to content

--with-valgrind broken #85058

Closed
Closed

Description

@skrah
mannequin
BPO 40881
Nosy @vstinner, @skrah
PRs
  • bpo-40881: Fix unicode_release_interned() #20699
  • 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 2020-06-07.23:40:14.920>
    created_at = <Date 2020-06-05.22:38:42.660>
    labels = ['build', '3.10']
    title = '--with-valgrind broken'
    updated_at = <Date 2020-06-07.23:40:14.908>
    user = 'https://github.com/skrah'

    bugs.python.org fields:

    activity = <Date 2020-06-07.23:40:14.908>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-07.23:40:14.920>
    closer = 'vstinner'
    components = ['Build']
    creation = <Date 2020-06-05.22:38:42.660>
    creator = 'skrah'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40881
    keywords = ['patch']
    message_count = 4.0
    messages = ['370793', '370927', '370930', '370931']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'skrah']
    pr_nums = ['20699']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40881'
    versions = ['Python 3.10']

    Activity

    1. skrah commented on Jun 5, 2020

      skrahmannequin
      MannequinAuthor

      ./configure --with-valgrind:

      Objects/unicodeobject.c: In function ‘unicode_release_interned’:
      Objects/unicodeobject.c:15672:26: error: lvalue required as left operand of assignment
      Py_REFCNT(s) += 1;
      ^
      Objects/unicodeobject.c:15678:26: error: lvalue required as left operand of assignment
      Py_REFCNT(s) += 2;

      Well, Py_REFCNT(s) is no longer an lvalue. :-)

    2. vstinner commented on Jun 7, 2020

      @vstinner
      Member

      Regression introduced by my commit fe2978b: bpo-39573. I wrote a PR 20699 to fix unicode_release_interned().

    3. vstinner commented on Jun 7, 2020

      @vstinner
      Member

      New changeset c96a61e by Victor Stinner in branch 'master':
      bpo-40881: Fix unicode_release_interned() (GH-20699)
      c96a61e

    4. vstinner commented on Jun 7, 2020

      @vstinner
      Member

      Fixed. Thanks for the bug report Stefan!

    5. 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.10 (EOL)end of lifebuildThe build process and cross-build

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions