Hi,
I have this script “batch.sh” which used to work perfectly fine … Today, I ran it again after 3/4 months and I got this :
> bash batch.sh
[...]
gmt [DEBUG]: GMT: 6. gmt_getsharepath failed
[...]
gmt [DEBUG]: Could not find file gmt.conf
[...]
ERROR: Caught signal number 11 (Segmentation fault: 11) at
0 libgmt.6.3.0.dylib 0x0000000107625b89 GMT_batch + 4493
1 ??? 0x0000000000000000 0x0 + 0
Stack backtrace:
0 libgmt.6.3.0.dylib 0x00000001074afd2f sig_handler + 555
1 libsystem_platform.dylib 0x00007fff204a0d7d _sigtramp + 29
2 ??? 0x0000000000000000 0x0 + 0
3 libgmt.6.3.0.dylib 0x00000001074cec1b GMT_Call_Module + 1947
4 gmt 0x000000010749b5ce main + 1453
5 libdyld.dylib 0x00007fff20476f5d start + 1
NOTA : I use the version 6.3.0_417760f_2021.07.12
on macOS
NOTA2 : when trying the example from the doc, it works fine. I’m puzzled.
Thanks,
EDIT : just ran the code on linux (gmt 6.2) … and it works.