Open feierbach opened 5 years ago
using Gadfly signal (11): Segmentation fault: 11 in expression starting at no file:0 _platform_strcmp at /usr/lib/system/libsystem_platform.dylib (unknown line) Allocations: 168125059 (Pool: 168086078; Big: 38981); GC: 389 Julia has exited. Press Enter to start a new session.
I just finished the following successfully:
julia> Pkg.add("DataFrames")
Updating registry at /Applications/JuliaPro-1.0.1.1.app/Contents/Resources/pkgs-1.0.1.1/registries/JuliaPro
Updating git-repo https://pkg.juliacomputing.com/registry/JuliaPro
Resolving package versions...
Updating /Applications/JuliaPro-1.0.1.1.app/Contents/Resources/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Project.toml
[no changes]
Updating /Applications/JuliaPro-1.0.1.1.app/Contents/Resources/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Manifest.toml
[no changes]
julia> Pkg.add("GLM")
Resolving package versions...
Updating /Applications/JuliaPro-1.0.1.1.app/Contents/Resources/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Project.toml
[no changes]
Updating /Applications/JuliaPro-1.0.1.1.app/Contents/Resources/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Manifest.toml
[no changes]
julia> using DataFrames, GLM
julia> data=DataFrame(x=[0.9,2.0,3.0],y=[2.0,4.0,6.5]) 3×2 DataFrame │ Row │ x │ y │ │ │ Float64 │ Float64 │ ├─────┼─────────┼─────────┤ │ 1 │ 0.9 │ 2.0 │ │ 2 │ 2.0 │ 4.0 │ │ 3 │ 3.0 │ 6.5 │
julia> ols=glm(@formula(y ~ x), data, Normal(), IdentityLink()) StatsModels.DataFrameRegressionModel{GeneralizedLinearModel{GlmResp{Array{Float64,1},Normal{Float64},IdentityLink},DensePredChol{Float64,LinearAlgebra.Cholesky{Float64,Array{Float64,2}}}},Array{Float64,2}} Formula: y ~ 1 + x Coefficients: Estimate Std.Error z value Pr(>|z|) (Intercept) -0.0370091 0.421017 -0.0879039 0.9300 x 2.13746 0.196229 10.8927 <1e-26
julia> c=coef(ols) 2-element Array{Float64,1}: -0.03700906344410877 2.1374622356495467
The really odd part of this is I was using Gadfly minutes earlier without difficulty so I think is just uploaded something new tonight.
Gary
Do you think this could be caused by a simlar problem? https://github.com/JuliaLang/julia/issues/31240
And you might want to try Julia v1.1 to check if the problem has been solved at higher versions.
using Gadfly caused a set fault 11, see below (next comment) for details.