# Problem with batch module

**URL:** <https://forum.generic-mapping-tools.org/t/problem-with-batch-module/1890>\
**Category:** Q&A\
**Created:** [July 13, 2021, 9:10pm UTC](https://forum.generic-mapping-tools.org/t/problem-with-batch-module/1890 "2021-07-13T21:10:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [July 13, 2021, 9:10pm UTC](https://forum.generic-mapping-tools.org/t/problem-with-batch-module/1890/1 "2021-07-13T21:10:20Z")

</div>

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 :

```auto
> 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.
