Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack overflow in programs::raster::mdimtranslate::tests::test_build_tiff_from_path #299

Closed
lnicola opened this issue Sep 2, 2022 · 6 comments

Comments

@lnicola
Copy link
Member

lnicola commented Sep 2, 2022

[14423 stack frames]
#14424 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14425 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14426 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14427 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14428 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14429 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14430 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14431 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14432 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14433 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14434 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14435 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14436 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14437 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14438 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14439 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14440 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14441 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14442 0x00007ffff076ffbc in H5I_inc_ref () from /usr/lib/libhdf5.so.200
#14443 0x00007ffff06e3cdb in H5E__push_stack () from /usr/lib/libhdf5.so.200
#14444 0x00007ffff06e3eef in H5E_printf_stack () from /usr/lib/libhdf5.so.200
#14445 0x00007ffff08d44aa in ?? () from /usr/lib/libhdf5.so.200
#14446 0x00007ffff08db917 in H5VL_attr_open () from /usr/lib/libhdf5.so.200
#14447 0x00007ffff06585d0 in H5Aopen_by_name () from /usr/lib/libhdf5.so.200
#14448 0x00007ffff0aad495 in nc4_get_var_meta () from /usr/lib/libnetcdf.so.19
#14449 0x00007ffff0aad921 in nc4_hdf5_find_grp_var_att () from /usr/lib/libnetcdf.so.19
#14450 0x00007ffff0ab3f38 in NC4_HDF5_inq_var_all () from /usr/lib/libnetcdf.so.19
#14451 0x00007ffff0a2fc97 in nc_inq_var () from /usr/lib/libnetcdf.so.19
#14452 0x00007ffff0a2fcd8 in nc_inq_varname () from /usr/lib/libnetcdf.so.19
#14453 0x00007ffff3fd45a9 in ?? () from /usr/lib/gdalplugins/gdal_netCDF.so
#14454 0x00007ffff3f7c2b6 in ?? () from /usr/lib/gdalplugins/gdal_netCDF.so
#14455 0x00007ffff3fbefa1 in ?? () from /usr/lib/gdalplugins/gdal_netCDF.so
#14456 0x00007ffff787c630 in GDALMDArray::CopyFromAllExceptValues(GDALMDArray const*, bool, unsigned long long&, unsigned long long, int (*)(double, char const*, void*), void*) () from /usr/lib/libgdal.so.31
#14457 0x00007ffff790e711 in ?? () from /usr/lib/libgdal.so.31
#14458 0x00007ffff7913e71 in GDALMultiDimTranslate () from /usr/lib/libgdal.so.31
#14459 0x00005555555bd144 in gdal::programs::raster::mdimtranslate::_multi_dim_translate (input=..., destination=..., options=...) at src/programs/raster/mdimtranslate.rs:204
#14460 0x00005555555dc2ed in gdal::programs::raster::mdimtranslate::multi_dim_translate<gdal::dataset::Dataset> (input=..., destination=..., options=...) at src/programs/raster/mdimtranslate.rs:172
#14461 0x00005555555d5138 in gdal::programs::raster::mdimtranslate::tests::test_build_tiff_from_path () at src/programs/raster/mdimtranslate.rs:246
#14462 0x00005555555bf5fa in gdal::programs::raster::mdimtranslate::tests::test_build_tiff_from_path::{closure#0} () at src/programs/raster/mdimtranslate.rs:235

Might be caused by opening the same file twice, just like in #284 (comment).

@ChristianBeilschmidt
Copy link
Contributor

Is this still an issue after #302?

@lnicola
Copy link
Member Author

lnicola commented Sep 2, 2022

No, fixed in #302

@lnicola lnicola closed this as completed Sep 2, 2022
@lnicola
Copy link
Member Author

lnicola commented Sep 2, 2022

Nah, still happens 😢

@metasim
Copy link
Contributor

metasim commented Oct 18, 2022

@rouault Do you have any insight into what might be going on here?

@metasim
Copy link
Contributor

metasim commented Oct 18, 2022

Is this still an issue after #302?

I'm still having issues with it. See #320.

@metasim
Copy link
Contributor

metasim commented Dec 10, 2022

Fixed in #321

@metasim metasim closed this as completed Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants