Skip to content

Async queue destruction #38

Open
Open
@ChrisspyB

Description

@ChrisspyB

This is likely an error on the C/C++ side of FDB, rather than pyfdb.

Running the snippet

import pyfdb
fdb1 = pyfdb.FDB()
data = open(tests_dir / "x138-300.grib", "rb").read()
fdb1.archive(data)
fdb1.flush()
list_output = next(fdb1.list(keys=True))

throws the error

SeriousBug: Destructing incomplete async queue in (fdb5/src/fdb5/api/helpers/APIIterator.h:141 ~APIAsyncIterator).

It is likely that the destruction of the fdb object should first close the queue created by fdb.list, but isn't doing so. Or something along those lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions