GenericMappingTools / GenericMappingTools/GMT.jl

Julia 1.9.3 and GMT 6.5.0, Wrapper GMT.jl Error

Open
#1,254 25 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
221
Forks
36
Avg merge
1h 36m
Merged PRs (30d)
17

Description

Hi,

I am new to GMT with Julia, I have installed Julia 1.9.3 and GMT 6.5.0 in an openSUSE Linux environment.
But there is an error from Wrapper GMT.jl. The following is the error:

```
Fatal error: expression 'pthread_create(&threadId, &threadAttr, (void ()(void *))func, funcArg)' value 11 (expected zero)

[39735] signal (6.-6): Aborted
in expression starting at /home/virga/.julia/packages/GMT/1kBBX/src/GMT.jl:272
gsignal at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)

```

Then I switched directly from compiled Julia, with an error like this.

```
julia> using GMT
[ Info: Precompiling GMT [5752ebe1-31b9-557e-87aa-f909b540aa54]
ERROR: LoadError: ArgumentError: cannot convert NULL to string
Stacktrace:
[1] unsafe_string
@ ./strings/string.jl:84 [inlined]
[2] get_PS
@ ~/.julia/packages/GMT/GDTso/src/gmt_main.jl:586 [inlined]
[3] GMTJL_Get_Object(API::Ptr{Nothing}, X::GMT.GMT_RESOURCE)
@ GMT ~/.julia/packages/GMT/GDTso/src/gmt_main.jl:744
[4] gmt(::String, ::GMT.GMTgrid{Float32, 2}, ::Vararg{Any})
@ GMT ~/.julia/packages/GMT/GDTso/src/gmt_main.jl:176
[5] finish_PS_module(::Dict{Symbol, Any}, ::Vector{String}, ::String, ::Bool, ::Bool, ::Bool, ::GMT.GMTgrid{Float32, 2}, ::Vararg{Any})
@ GMT ~/.julia/packages/GMT/GDTso/src/common_options.jl:4189
[6] grdcontour(cmd0::String, arg1::GMT.GMTgrid{Float32, 2}; first::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ GMT ~/.julia/packages/GMT/GDTso/src/grdcontour.jl:138
[7] grdcontour
@ ~/.julia/packages/GMT/GDTso/src/grdcontour.jl:68 [inlined]
[8] #grdcontour#334
@ ~/.julia/packages/GMT/GDTso/src/grdcontour.jl:165 [inlined]
[9] grdcontour(arg1::GMT.GMTgrid{Float32, 2})
@ GMT ~/.julia/packages/GMT/GDTso/src/grdcontour.jl:165

```

Any help insight and solution would be much appreciated. Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.