Skip to content

[C++] Latent memory handling issues in Dataset Writer #46710

Closed

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

The dataset writer currently uses raw pointers of the pieces of state it needs to track, even though some of this state is accessed in async callbacks that might run at arbitrary points in time (especially in the case an error forces an early return of the synchronously running logic).

We should strive to strengthen the dataset writer code. Besides making it potentially more robust, it would also make future maintenance and evolutions easier.

Issue #45235 is probably related, though it's unclear it will be fixed here.

Component(s)

C++

Activity

  1. self-assigned this
    on Jun 4, 2025
  2. pitrou commented on Jun 12, 2025

    @pitrou
    MemberAuthor

    Issue resolved by pull request 46711
    #46711

  3. added this to the 21.0.0 milestone on Jun 12, 2025
  4. added a commit that references this issue on Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions