Skip to content

[HIGH] [SDL #6306] Program handle leak. #156

Description

@Chevalier12

Tracking upstream SDL issue libsdl-org#6306

  • Priority: HIGH — provisional triage from SDL-OPEN-ISSUES-PRIORITIES.md, NOT an official SDL severity.
  • Source: Program handle leak. libsdl-org/SDL#6306
  • Original title: Program handle leak.
  • Reported by: HenryChen2022
  • Upstream state at capture: open; state reason:
  • Created: 2022-09-30T05:07:33.0000000Z; updated: 2023-11-07T17:10:52.0000000Z
  • Snapshot captured: 2026-09-07T17:43:53.0432210Z
  • Upstream labels: waiting
  • Upstream milestone (not affected versions): 3.x (https://github.com/libsdl-org/SDL/milestone/6)
  • Upstream assignees:
  • Upstream comments included: 1
  • Locked: False; lock reason:
  • Triage rationale: Leak de handles raportat; verificați creșterea resurselor și validitatea propunerii autorului.

This is an attributed tracking copy, not a locally reproduced or confirmed Graphix defect. Applicability, affected versions and ownership still require validation. No automatic synchronization or resolution is implied. Original descriptions and comments are preserved literally in Markdown code blocks to avoid notifying mentioned users or resolving SDL references against Graphix. Attachments, logs, patches and other linked resources remain at their original URLs; external resource contents and edit/event histories are not copied.

Graphix validation checklist

  • Read the current upstream issue and discussion.
  • Establish affected versions/platforms and whether Graphix is affected.
  • Reproduce the reported behavior and identify the invariant owner.
  • Implement an ownership-correct fix or document an upstream/external resolution.
  • Verify regression coverage and applicable platform/runtime gates.

Original description

Program handle leak under widnows 10. It can be modified like this:

in the SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, HWND parent, SDL_bool created) function
First:data->initializing = SDL_TRUE;   change to:data->initializing = SDL_FALSE;
Second:data->initializing = SDL_FALSE;   change to:data->initializing = SDL_TRUE;

Original discussion (chronological)

Original comment by slouken

Source: libsdl-org#6306 (comment)
Created: 2023-11-07T17:10:42.0000000Z; updated: 2023-11-07T17:10:42.0000000Z; association: COLLABORATOR

Can you provide more details about what's leaking and why that fixes it?

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions