Skip to content

Julia 1.9.3 and GMT 6.5.0, Wrapper GMT.jl Error #1254

Open
@visbilika

Description

@visbilika

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions