Open jeffditty opened 5 years ago
Thanks for the report @jeffditty ; you should never see segfaults, so this looks like a bug. The data would be helpful, especially if you can provide a small image that triggers it.
Unfortunately, I tried and we cannot get around the fact that the data is proprietary. Is an image without the actual DEM useful? @stefanv
Yeah, as far as helping improve the library, if you can recreate the issue with np.rand
that would be fine too ;)
It has been a long time, but I think #6277 is likely the same issue as this one. There is more recent discussion there and I think we will got momentum to address the issue soon.
Description
When running fill depressions (Python Library pysheds) on a 6 GB DEM, running into a segmentation fault error. Using IPDB, I located the segmentation fault error happens at line 205 of greyreconstruct.py. The code works fine when working on a subsetted sample of the 6 GB DEM, but when applied full scale, segmentation fault happens continuously. I am currently trying to get permissions to give you the DEM causing the error.
I am running on a linux OS r5.12xlarge EC2 instance with a container.
Way to reproduce
Version information