GR.jl
GR.jl copied to clipboard
process hang because of using GR
Seems like SIGCHLD is getting blocked
julia> versioninfo()
Julia Version 1.7.0-DEV.913
Commit 77af742418* (2021-04-12 19:46 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
julia> using Plots
julia> plot(1:10)
julia> run(`true`)
[hung]
Could you please try to start Julia this way:
#!/bin/sh
export GKS_NO_EXIT_HANDLER=1
/opt/julia/usr/bin/julia "$@"
That does not seem to have any effect. Breakpointing in lldb, I see this is a "feature" of the system function, used here: https://github.com/sciapp/gr/blob/master/lib/gks/socket.c#L84
Perhaps that could change to using posix_spawn instead?