Thanks Yu! Seems like there is no fix :(
On Thursday, October 20, 2016 at 1:10:05 PM UTC+5:30, Yichao Yu wrote: > > https://github.com/JuliaLang/julia/issues/16467 > > On Thu, Oct 20, 2016 at 3:10 AM, Vishnu Raj <ee14...@ee.iitm.ac.in > <javascript:>> wrote: > >> Hi, >> >> I'm in OSX 10.10 and is facing the following problem. First I import >> PyPlot by 'using PyPlot' and plot some stuff, it works. Now if i call a >> workspace() and try 'using PyPlot', julia crashes. Below is a sample log >> >> $ julia >> _ >> _ _ _(_)_ | A fresh approach to technical computing >> (_) | (_) (_) | Documentation: http://docs.julialang.org >> _ _ _| |_ __ _ | Type "?help" for help. >> | | | | | | |/ _` | | >> | | |_| | | | (_| | | Version 0.5.0 (2016-09-19 18:14 UTC) >> _/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release >> |__/ | x86_64-apple-darwin13.4.0 >> >> *julia> versioninfo()* >> Julia Version 0.5.0 >> Commit 3c9d753 (2016-09-19 18:14 UTC) >> Platform Info: >> System: Darwin (x86_64-apple-darwin13.4.0) >> CPU: Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz >> WORD_SIZE: 64 >> BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) >> LAPACK: libopenblas64_ >> LIBM: libopenlibm >> LLVM: libLLVM-3.7.1 (ORCJIT, haswell) >> >> *julia> using PyPlot* >> >> *julia> plot( 1:10, 1:3:30 )* >> 1-element Array{Any,1}: >> PyObject <matplotlib.lines.Line2D object at 0x325655210> >> >> julia> close() >> >> *julia> workspace()* >> >> *julia> using PyPlot* >> WARNING: Method definition redirect_stdout(Function, Any) in module >> Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600 overwritten in >> module Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600. >> WARNING: Method definition isnull(Any) in module Compat at >> /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1678 overwritten in module >> Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1678. >> WARNING: Method definition redirect_stderr(Function, Any) in module >> Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600 overwritten in >> module Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600. >> WARNING: Method definition redirect_stdin(Function, Any) in module Compat >> at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600 overwritten in module >> Compat at /Users/vish/.julia/v0.5/Compat/src/Compat.jl:1600. >> WARNING: Method definition run(Function) in module BinDeps at >> /Users/vish/.julia/v0.5/BinDeps/src/BinDeps.jl:445 overwritten in module >> BinDeps at /Users/vish/.julia/v0.5/BinDeps/src/BinDeps.jl:445. >> WARNING: Method definition macroexpand(Module, Any) in module MacroTools >> at /Users/vish/.julia/v0.5/MacroTools/src/utils.jl:60 overwritten in module >> MacroTools at /Users/vish/.julia/v0.5/MacroTools/src/utils.jl:60. >> >> signal (11): Segmentation fault: 11 >> while loading no file, in expression starting on line 0 >> julia_type_to_llvm at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./cgutils.cpp:318 >> mark_julia_const at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:641 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3140 >> emit_function at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:4691 >> jl_compile_linfo at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:809 >> emit_invoke at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2684 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3162 >> emit_assignment at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2977 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3185 >> emit_stmtpos at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3064 >> emit_function at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:4727 >> jl_compile_linfo at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:809 >> emit_invoke at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2684 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3162 >> emit_assignment at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2977 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3185 >> emit_stmtpos at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3064 >> emit_function at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:4727 >> jl_compile_linfo at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:809 >> emit_invoke at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2684 >> [inlined] >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3162 >> emit_call at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:2750 >> emit_expr at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3172 >> emit_stmtpos at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:3064 >> emit_function at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:4727 >> jl_compile_linfo at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/codegen.cpp:809 >> jl_compile_for_dispatch at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1310 >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:184 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> jl_apply at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1392 >> [inlined] >> jl_module_run_initializer at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:83 >> jl_init_restored_modules at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1994 >> [inlined] >> _jl_restore_incremental at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:2560 >> jl_restore_incremental at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:2580 >> _include_from_serialized at ./loading.jl:150 >> _require_from_serialized at ./loading.jl:187 >> _require_search_from_serialized at ./loading.jl:217 >> jlcall__require_search_from_serialized_39488 at >> /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib >> (unknown line) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> require at ./loading.jl:371 >> jlcall_require_22337 at >> /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib >> (unknown line) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> jl_apply at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1392 >> [inlined] >> read_verify_mod_list at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1843 >> _jl_restore_incremental at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:2514 >> jl_restore_incremental at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:2580 >> _include_from_serialized at ./loading.jl:150 >> _require_from_serialized at ./loading.jl:187 >> _require_search_from_serialized at ./loading.jl:217 >> jlcall__require_search_from_serialized_39488 at >> /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib >> (unknown line) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> require at ./loading.jl:371 >> jlcall_require_22337 at >> /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib >> (unknown line) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> jl_apply at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1392 >> [inlined] >> eval_import_path_ at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:402 >> eval_import_path at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:429 >> [inlined] >> jl_toplevel_eval_flex at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:480 >> jl_toplevel_eval_in_warn at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/builtins.c:590 >> eval at ./boot.jl:234 >> jlcall_eval_19752 at >> /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib >> (unknown line) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> eval_user_input at ./REPL.jl:64 >> unknown function (ip: 0x318d551f6) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> macro expansion at ./REPL.jl:95 [inlined] >> #3 at ./event.jl:68 >> unknown function (ip: 0x318d520df) >> jl_call_method_internal at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:189 >> >> [inlined] >> jl_apply_generic at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1942 >> jl_apply at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1392 >> [inlined] >> start_task at >> /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/task.c:253 >> Allocations: 5400005 (Pool: 5398881; Big: 1124); GC: 7 >> *Segmentation fault: 11* >> >> Can anybody please explain what is happening? >> >> Thanks, >> Vishnu Raj >> > >