Skip to content

Closing the dataset while an async operation is running can end with a segfault #38

@mmomtchev

Description

@mmomtchev
const gdal = require('gdal-next');
const ds = gdal.open('sample.tif');
const band = ds.bands.get(1)
band.pixels.readAsync(0, 0, 10, 10);
ds.close();

This is not expected to work, but the user should be protected against a segfault.

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