Skip to content

indirect call to null error #118

@axelboc

Description

@axelboc

A user of myHDF5 sent me this file: 20250829_113923_frame-altimeter.zip

When I open it in production, at myhdf5.hfgroup.org, I get an "indirect call to null" error when I select the height_min_1 dataset (all the other datasets work fine):

Image

The error seems to come from the read_write_dataset_data function in src/hdf5_util.cc (called from get_dataset_data). My guess is, it has something to do with the chunk size being greater than the dataset size. If that's the case, it would be great to handle this more gracefully if possible.

The error only occurs in production, not in development.

Second issue in development fixed by upgrading to h5wasm@0.8.11

The fun part is that when I start myHDF5 or the h5wasm demo in development, I get a completely different error and on a different dataset!

For some reason, height_min_1 now works fine:

Image

... but timestamp_2 no longer does, and the error thrown is different — one of the diagnostic lines reads "H5D__chunk_read(): unable to read raw data chunk":

Image

And funnily, once I visit timestamp_2, if I go back to any other dataset, I get an "index out of bounds" error, which seems to come from the get_dataset_metadata function in src/hdf5_util.cc:

Image

Any idea what's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions