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 — framelocalsproxy_new() crash if called with no arguments · Issue #124513 · python/cpython

framelocalsproxy_new() crash if called with no arguments #124513

New issue
Copy link
New issue
Copy link
Closed
Closed
framelocalsproxy_new() crash if called with no arguments#124513
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

Description

@vstinner
vstinner
opened on Sep 25, 2024
Issue body actions

Bug report

Example on Python 3.13.0rc2:

$ python3.13
>>> import sys
>>> FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0])
... 
>>> FrameLocalsProxy()
Erreur de segmentation (core dumped)

The bug was discovered by zope.interface test suite: zopefoundation/zope.interface#323 (comment)

I'm working on a fix.

Linked PRs

  • gh-124513: Check args in framelocalsproxy_new() #124515
  • [3.13] gh-124513: Check args in framelocalsproxy_new() (GH-124515) #124539

Activity

  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
    on Sep 25, 2024
  2. vstinner
    added 3 commits that reference this issue on Sep 25, 2024

    pythongh-124513: Check args in framelocalsproxy_new()

    fcf7a59

    pythongh-124513: Check args in framelocalsproxy_new()

    cdae0a4

    gh-124513: Check args in framelocalsproxy_new() (#124515)

    d6954b6
  3. miss-islington
    added a commit that references this issue on Sep 25, 2024

    pythongh-124513: Check args in framelocalsproxy_new() (pythonGH-124515)

    08f74df
  4. emilyemorehouse
    added a commit that references this issue on Sep 26, 2024

    Merge branch 'main' into fix-help-double-prompt

    4cdb3ae
  5. Yhg1s
    added a commit that references this issue on Sep 30, 2024

    [3.13] gh-124513: Check args in framelocalsproxy_new() (GH-124515) (#…

    62f691f
  6. ZeroIntensity commented on Oct 3, 2024

    @ZeroIntensity
    ZeroIntensity
    on Oct 3, 2024
    Member
    More actions

    Everything is done here, right?

  7. vstinner commented on Oct 3, 2024

    @vstinner
    vstinner
    on Oct 3, 2024
    MemberAuthor
    More actions

    Everything is done here, right?

    Correct, I close the issue.

    Reacted by Peter Bierma
  8. vstinner
    closed this as completedon Oct 3, 2024
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

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.