Closed MaevaP closed 1 year ago
Hi @MaevaP,
I was not able to duplicate the failure with the latest version of the program (3.23) on macOS 13.2. If you do not have the latest version, please download the source code from: https://github.com/EarthScope/dataselect/releases and compile it.
If you you still get the problem with the latest version please email me the input data.
Thanks @MaevaP for reporting this error and providing test data. The fix is in the latest release: https://github.com/EarthScope/dataselect/releases/tag/v3.24
This error was particularly subtle and resulted in heap corruption, which is known to cause C coders agita given how difficult is can be to find the source of the corruption. Luckily modern compilers have useful tooling to help get clues of where to look, in this case these build options were enormously helpful:
CFLAGS="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
Thank you @chad-earthscope for addressing the issue quickly and for walking me through the error. I appreciate it.
Hi Chad,
A few of us at PASSCAL have been trying to run dataselect on our local machine.
We run into the following error:
This error only arises when running dataselect on a MacOS (version 12+) machine.
From looking a bit more into the error, it looks like Monterey came with an updated version of gcc and g++ which is not compatible with the version of some of dataselect third-party libraries.
Would you be able to address this issue?
Thank you for your help and time.
Best, Maeva Pourpoint