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

[BUILD] Using COUNT_ALLOCS breaks build #77079

Closed
eduardo-elizondo mannequin opened this issue Feb 21, 2018 · 3 comments
Closed

[BUILD] Using COUNT_ALLOCS breaks build #77079

eduardo-elizondo mannequin opened this issue Feb 21, 2018 · 3 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes build The build process and cross-build

Comments

@eduardo-elizondo
Copy link
Mannequin

eduardo-elizondo mannequin commented Feb 21, 2018

BPO 32898
Nosy @benjaminp, @miss-islington, @eduardo-elizondo
PRs
  • bpo-32898: Fix debug build crash with COUNT_ALLOCS #5800
  • [3.7] closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800) #5806
  • 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-02-22.04:55:21.119>
    created_at = <Date 2018-02-21.19:35:25.275>
    labels = ['3.8', 'build', '3.7']
    title = '[BUILD] Using COUNT_ALLOCS breaks build'
    updated_at = <Date 2018-02-22.05:44:13.287>
    user = 'https://github.com/eduardo-elizondo'

    bugs.python.org fields:

    activity = <Date 2018-02-22.05:44:13.287>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-02-22.04:55:21.119>
    closer = 'benjamin.peterson'
    components = ['Build']
    creation = <Date 2018-02-21.19:35:25.275>
    creator = 'eelizondo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32898
    keywords = []
    message_count = 3.0
    messages = ['312504', '312533', '312535']
    nosy_count = 3.0
    nosy_names = ['benjamin.peterson', 'miss-islington', 'eelizondo']
    pr_nums = ['5800', '5806']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue32898'
    versions = ['Python 3.7', 'Python 3.8']

    @eduardo-elizondo
    Copy link
    Mannequin Author

    eduardo-elizondo mannequin commented Feb 21, 2018

    The following build crashed:
    mkdir debug && cd debug
    ../configure --with-pydebug
    make EXTRA_CFLAGS="-DCOUNT_ALLOCS"

    The bug was introduced here: 25420fe

    Fix:

    1. s/inter/interp/
    2. Declare PyTypeObject

    @eduardo-elizondo eduardo-elizondo mannequin added build The build process and cross-build labels Feb 21, 2018
    @serhiy-storchaka serhiy-storchaka added 3.7 (EOL) end of life 3.8 only security fixes labels Feb 21, 2018
    @benjaminp
    Copy link
    Contributor

    New changeset 745dc65 by Benjamin Peterson (Eddie Elizondo) in branch 'master':
    closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)
    745dc65

    @miss-islington
    Copy link
    Contributor

    New changeset bc2e110 by Miss Islington (bot) in branch '3.7':
    closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)
    bc2e110

    @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
    3.7 (EOL) end of life 3.8 only security fixes build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants