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

bpo-32898: Fix debug build crash with COUNT_ALLOCS #5800

Merged
merged 5 commits into from
Feb 22, 2018
Merged

bpo-32898: Fix debug build crash with COUNT_ALLOCS #5800

merged 5 commits into from
Feb 22, 2018

Conversation

eduardo-elizondo
Copy link
Contributor

@eduardo-elizondo eduardo-elizondo commented Feb 21, 2018

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

The bug was introduced in: 25420fe

Fix:

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

https://bugs.python.org/issue32898

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@eduardo-elizondo eduardo-elizondo changed the title [Build] Fix debug build errors bpo-32898: Fix debug build errors Feb 21, 2018
@eduardo-elizondo eduardo-elizondo changed the title bpo-32898: Fix debug build errors bpo-32898: Fix debug build errors (no news) Feb 21, 2018
@eduardo-elizondo
Copy link
Contributor Author

Signed CLA. It should be ready within a couple of hours?

@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error needs backport to 3.7 labels Feb 21, 2018
@serhiy-storchaka
Copy link
Member

Yes, it should be ready within a couple of hours.

Please add your name in Misc/ACKS and add a news entry (you can use the blurb utility as described in the developer guide).

@eduardo-elizondo eduardo-elizondo changed the title bpo-32898: Fix debug build errors (no news) bpo-32898: Fix debug build errors Feb 21, 2018
@eduardo-elizondo eduardo-elizondo changed the title bpo-32898: Fix debug build errors bpo-32898: Fix debug build crash with COUNT_ALLOCS Feb 21, 2018
@eduardo-elizondo
Copy link
Contributor Author

Ready!

@benjaminp benjaminp merged commit 745dc65 into python:master Feb 22, 2018
@miss-islington
Copy link
Contributor

Thanks @eduardo-elizondo for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2018
)

(cherry picked from commit 745dc65)

Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
@bedevere-bot
Copy link

GH-5806 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Feb 22, 2018
(cherry picked from commit 745dc65)

Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants