GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.11] gh-99110: Initialize frame->previous in init_frame to fix segmentation fault (GH-100182) by byllyfish · Pull Request #100478 · python/cpython

Conversation

@byllyfish

@byllyfish byllyfish commented Dec 23, 2022 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Move test_frame_fback_api from TestCAPI (test_frame.py) to Test_FrameAPI (test_misc.py).

(cherry picked from commit 88d565f)

  • Issue: Segfault on frame.f_back when frame is created with PyFrame_New() #99110

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
byllyfish added 2 commits December 23, 2022 15:32
@byllyfish
pythongh-99110: Initialize frame->previous in init_frame to fix seg…
f5f8361
…mentation fault when accessing `frame.f_back` (python#100182)

Backport test_frame_fback_api from TestCAPI to Test_FrameAPI.

(cherry picked from commit 88d565f)
@byllyfish
[3.11] pythongh-99110: Initialize frame->previous in init_frame to …
7feaa9e
…fix segmentation fault when accessing `frame.f_back` (pythonGH-100182).

(cherry picked from commit 88d565f)

Co-authored-by: Bill Fisher <[email protected]>
@byllyfish
byllyfish requested a review from markshannon as a code owner December 23, 2022 23:03
This was referenced Dec 23, 2022
Segfault on frame.f_back when frame is created with PyFrame_New() #99110
Closed
gh-99110: Initialize frame->previous in init_frame to fix segmentation fault #100182
Merged
@bedevere-bot bedevere-bot added type-crash A hard crash of the interpreter, possibly with a core dump awaiting review labels Dec 23, 2022
@kumaraditya303
kumaraditya303 merged commit 57e727a into python:3.11 Dec 24, 2022
@bedevere-bot bedevere-bot removed the awaiting review label Dec 24, 2022
@pablogsal pablogsal mentioned this pull request Dec 29, 2022
PyFrame_GetBack segfaults if called in a sys.settrace hook on 3.11.1 #100536
Closed
@Yun-Kim Yun-Kim mentioned this pull request Jan 25, 2023
Upstream issue grpc/grpc#31441 closed DataDog/dd-trace-py#4798
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@byllyfish @bedevere-bot @kumaraditya303
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.