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 — Fix error handling issues in _remote_debugging module · Issue #146308 · python/cpython

Fix error handling issues in _remote_debugging module #146308

New issue
Copy link
New issue
Copy link
Closed
Closed
Fix error handling issues in _remote_debugging module#146308
Copy link
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

Description

@pablogsal
pablogsal
opened on Mar 22, 2026
Issue body actions

Several error handling patterns in Modules/_remote_debugging/ need cleanup:

  • Missing error checks on some code paths (e.g., varint decoding, memory allocation failures)
  • Inconsistent error propagation across platforms
  • A couple of reference counting issues on error paths

Working on a fix.

Linked PRs

  • gh-146308: Fix error handling issues in _remote_debugging module #146309
  • [3.14] gh-146308: Fix error handling issues in _remote_debugging module (GH-146309) #146398

Activity

  1. pablogsal
    added
    3.14bugs and security fixesbugs and security fixes
    3.15bugs and security fixesbugs and security fixes
    on Mar 22, 2026
  2. brianschubert
    added
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
    on Mar 22, 2026
  3. pablogsal
    added 4 commits that reference this issue on Mar 22, 2026

    pythongh-146308: Fix error handling issues in _remote_debugging module

    719eb8f

    pythongh-146308: Fix error handling issues in _remote_debugging module

    ed3e6b5

    pythongh-146308: Fix error handling issues in _remote_debugging module

    7a0560e

    gh-146308: Fix error handling issues in _remote_debugging module (#14…

    ae6adc9
  4. brianschubert
    added a commit that references this issue on Mar 22, 2026

    [3.14] pythongh-146308: Fix error handling issues in _remote_debuggin…

    cbab7f4
  5. CuriousLearner
    added a commit that references this issue on Mar 23, 2026

    Merge branch 'main' of github.com:python/cpython into fix-pythongh-13…

    3e05fa3
  6. vstinner commented on Mar 24, 2026

    @vstinner
    vstinner
    on Mar 24, 2026
    Member
    More actions

    Can this issue be closed now? Or do you plan further changes?

  7. brianschubert commented on Mar 24, 2026

    @brianschubert
    brianschubert
    on Mar 24, 2026
    Contributor
    More actions

    I think these fixes still need to be backported 3.14, but that needs to be done by hand since #141934 was not backported

    Reacted by Pablo Galindo Salgado
  8. pablogsal commented on Mar 24, 2026

    @pablogsal
    pablogsal
    on Mar 24, 2026
    MemberAuthor
    More actions

    I will try to do it today

    Reacted by Victor Stinner
  9. pablogsal
    added a commit that references this issue on Mar 25, 2026

    [3.14] gh-146308: Fix error handling issues in _remote_debugging modu…

    58c5eda
  10. pablogsal
    closed this as completedon Mar 25, 2026
  11. KowalskiThomas
    marked remote debugging: read_pylong is missing a PyErr_Format call #148447 as a duplicate of this issue on Apr 12, 2026
  12. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-146308: Fix error handling issues in _remote_debugging module (

    3e5559e
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.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

    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.