Open dlfivefifty opened 5 years ago
I couldn't replicate. What version of macOS are you using?
╭─jamie@onizuka ~
╰─$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.1.0 (2019-01-21)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) m3-7Y32 CPU @ 1.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
julia> using GR
julia> plot(1:10)
julia>
Mojave 10.14.5.
I tried again on a fresh .julia and it is still there.
What's the output of the following command(s):
using GR
p = joinpath(ENV["GRDIR"], "lib", "libGR.so")
run(`otool -L $p`)
julia> using GR
julia> p = joinpath(ENV["GRDIR"], "lib", "libGR.so")
"/Users/solver/.julia/packages/GR/TMylY/src/../deps/gr/lib/libGR.so"
julia> run(`otool -L $p`)
/Users/solver/.julia/packages/GR/TMylY/src/../deps/gr/lib/libGR.so:
@rpath/libGR.so (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)
Process(`otool -L /Users/solver/.julia/packages/GR/TMylY/src/../deps/gr/lib/libGR.so`, ProcessExited(0))
Could you please try to remove the run-time (/Users/solver/.julia/packages/GR/TMylY/src/../deps/gr
) and rebuild GR:
ENV["GRDIR"]=""
] build GR
still crashes
Do you have any environment variables that affect the load process, e.g. DYLD_LIBRARY_PATH, DYLD_FALLBACK_FRAMEWORK_PATH or DYLD_FALLBACK_LIBRARY_PATH?
I am also wondering about the libSystem
version on your system - should be /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
on Mojave 10.14.5 ...
I have none of those defined...
Hmm, it somehow fixed itself, I'm not sure what could have changed.
Ha, it now un-fixed itself and is crashing again! 🤦♂️
julia> using GR
julia> plot(1:10)
2019-10-04 11:53:27.060 julia[58528:28708754] *** Terminating app due to uncaught exception 'GKSTermHasDiedException', reason: 'The connection to GKSTerm has timed out.'
*** First throw call stack:
(
)
libc++abi.dylib: terminating with uncaught exception of type NSException
signal (6): Abort trap: 6
in expression starting at REPL[3]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 16393896 (Pool: 16390613; Big: 3283); GC: 37
Abort trap: 6