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

memory error #1737

Open
casarotti opened this issue Sep 11, 2024 · 1 comment
Open

memory error #1737

casarotti opened this issue Sep 11, 2024 · 1 comment

Comments

@casarotti
Copy link
Contributor

call get_topo_elevation_free_closest(xloc,yloc,elevation,distmin, &

this call produces (unfortunately with several configurations but not all) a SIGSEGV: Segmentation fault - invalid memory reference.

If I comment out this part, the memory error disappears in all the configurations that I tested.

I'm thinking about

depth = dble(elevation) - zmesh

maybe we should add an option here if I don't want a translation (maybe there is an option but I missed it)

@danielpeter
Copy link
Contributor

hi emanuele, can you provide some setup Par_files to test this out?

when using the example in EXAMPLES/applications/tomographic_model for testing, it seems to work just fine. I don't see per se where the SIGSEV fault could come in as the free surface arrays should be allocated with and without free surface elements.

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

No branches or pull requests

2 participants