-
Notifications
You must be signed in to change notification settings - Fork 346
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
grdblen crashes with externals when input grids must be resampled. #5715
Comments
That grdsample command writes to a temporary file called grdblend_resampled_?_?.grd, so I dont think related to writing. Perhaps grdblend is trying to do something to the external input grid related to pads? |
I should have some time this afternoon to try out the Julia debug instructions etc. |
Debugging from Julia calls is becoming impossibly slow. Probably I meant what happens in |
Fixes #5715 but this unveiled other bugs in grdblend that will be addressed later.
See topic in forum
The problem arises when
grdsample
is called and the output tries to overwrite an external objecthttps://github.com/GenericMappingTools/gmt/blob/master/src/grdblend.c#L474
B[n].G->data then points to invalid memory and a crash follows later when trying to access it.
The text was updated successfully, but these errors were encountered: