Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault loading on latest nightly #176

Open
TotalVerb opened this issue Sep 4, 2016 · 3 comments
Open

Segfault loading on latest nightly #176

TotalVerb opened this issue Sep 4, 2016 · 3 comments

Comments

@TotalVerb
Copy link
Contributor

I was hoping that I would be able to diagnose the issue, but I don't think I am experienced enough with how lazy loading works. So instead, I'll share my findings in hopes someone more knowledgeable can figure out the problem. It is possible this segfault only occurs in my configuration; I can share more details if needed.

julia> versioninfo()
Julia Version 0.6.0-dev.481
Commit 4533900 (2016-09-04 17:51 UTC)
Platform Info:
  System: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, ivybridge)

Loading Escher throws LoadError

Escher fails to load on latest nightly. The problem occurs when loading ComposeDiff.

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0-dev.481 (2016-09-04 17:51 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 4533900 (0 days old master)
|__/                   |  x86_64-pc-linux-gnu

julia> using Escher
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Method definition (::Type{Patchwork.Elem})(Symbol, Symbol) in module Patchwork at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:109 overwritten at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:114.

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: readall is deprecated, use readstring instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readall(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in load_js_runtime() at /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:6
 in __init__() at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:226
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl, in expression starting on line 221

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: Method definition sampler(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.
WARNING: Method definition collector(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.

WARNING: deprecated syntax "call(::Type{SetField{f}}, ...)".
Use "(::Type{SetField{f}})(...)" instead.
WARNING: Method definition checkbox(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.
WARNING: Method definition #checkbox(Array{Any, 1}, Escher.#checkbox, Any) in module Escher overwritten.
WARNING: Method definition require(Symbol) in module Base at loading.jl:376 overwritten in module Escher at /home/fengyang/.julia/v0.6/Requires/src/require.jl:12.
ERROR: LoadError: LoadError: UndefVarError: ComposeDiff not defined
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
while loading /home/fengyang/.julia/v0.6/Escher/src/basics/lazyload.jl, in expression starting on line 42
while loading /home/fengyang/.julia/v0.6/Escher/src/Escher.jl, in expression starting on line 51

Loading ComposeDiff, then Escher, segfaults

If I try to load ComposeDiff first, then a segfault occurs.

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0-dev.481 (2016-09-04 17:51 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 4533900 (0 days old master)
|__/                   |  x86_64-pc-linux-gnu

julia> using ComposeDiff
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Method definition (::Type{Patchwork.Elem})(Symbol, Symbol) in module Patchwork at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:109 overwritten at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:114.

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: readall is deprecated, use readstring instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readall(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in load_js_runtime() at /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:6
 in __init__() at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:226
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl, in expression starting on line 221
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/ComposeDiff/src/ComposeDiff.jl:532
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/ComposeDiff/src/ComposeDiff.jl:532
WARNING: Method definition require(Symbol) in module Base at loading.jl:376 overwritten in module ComposeDiff at /home/fengyang/.julia/v0.6/Requires/src/require.jl:12.
WARNING: Method definition require(Symbol) in module ComposeDiff at /home/fengyang/.julia/v0.6/Requires/src/require.jl:12 overwritten in module Main at /home/fengyang/.julia/v0.6/Requires/src/require.jl:12.

julia> using Escher

signal (11): Segmentation fault
while loading no file, in expression starting on line 0
jl_deserialize_value at /home/fengyang/Documents/OSS/julia/src/dump.c:1394
jl_deserialize_value_ at /home/fengyang/Documents/OSS/julia/src/dump.c:1724
jl_deserialize_value_ at /home/fengyang/Documents/OSS/julia/src/dump.c:1509
jl_deserialize_value_ at /home/fengyang/Documents/OSS/julia/src/dump.c:1509
jl_deserialize_value_ at /home/fengyang/Documents/OSS/julia/src/dump.c:1509
jl_uncompress_ast at /home/fengyang/Documents/OSS/julia/src/dump.c:2291
unshare_linfo! at ./inference.jl:1435
unknown function (ip: 0x7f0163fe547b)
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
typeinf_edge at ./inference.jl:1556
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
typeinf_ext at ./inference.jl:1600
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
jl_apply at /home/fengyang/Documents/OSS/julia/src/./julia.h:1364 [inlined]
jl_type_infer at /home/fengyang/Documents/OSS/julia/src/gf.c:210
jl_compile_for_dispatch at /home/fengyang/Documents/OSS/julia/src/gf.c:1295
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:184 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
jl_apply at /home/fengyang/Documents/OSS/julia/src/./julia.h:1364 [inlined]
eval_import_path_ at /home/fengyang/Documents/OSS/julia/src/toplevel.c:463
eval_import_path at /home/fengyang/Documents/OSS/julia/src/toplevel.c:490 [inlined]
jl_toplevel_eval_flex at /home/fengyang/Documents/OSS/julia/src/toplevel.c:541
jl_toplevel_eval_in_warn at /home/fengyang/Documents/OSS/julia/src/builtins.c:590
eval at ./boot.jl:234
unknown function (ip: 0x7f01640f8b6f)
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
eval_user_input at ./REPL.jl:66
unknown function (ip: 0x7eff4a6c6996)
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
macro expansion at ./REPL.jl:97 [inlined]
#3 at ./event.jl:68
unknown function (ip: 0x7eff4a6c3f5f)
jl_call_method_internal at /home/fengyang/Documents/OSS/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /home/fengyang/Documents/OSS/julia/src/gf.c:1929
jl_apply at /home/fengyang/Documents/OSS/julia/src/./julia.h:1364 [inlined]
start_task at /home/fengyang/Documents/OSS/julia/src/task.c:259
unknown function (ip: 0xffffffffffffffff)
Allocations: 4166425 (Pool: 4165238; Big: 1187); GC: 5
fish: “julia” terminated by signal SIGSEGV (Address boundary error)

compilecache=no doesn't help

Running Julia with --compilecache=no does not seem to help

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0-dev.481 (2016-09-04 17:51 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 4533900 (0 days old master)
|__/                   |  x86_64-pc-linux-gnu

julia> using Escher
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:40
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Base.ByteString is deprecated, use String instead.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:53
WARNING: Method definition (::Type{Patchwork.Elem})(Symbol, Symbol) in module Patchwork at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:109 overwritten at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:114.

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:14
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: Base.writemime is deprecated.
  likely near /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:17
WARNING: readall is deprecated, use readstring instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readall(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in load_js_runtime() at /home/fengyang/.julia/v0.6/Patchwork/src/writers.jl:6
 in __init__() at /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl:226
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Patchwork/src/Patchwork.jl, in expression starting on line 221

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/FixedPointNumbers/src/ufixed.jl, in expression starting on line 62
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/FixedPointNumbers/src/ufixed.jl, in expression starting on line 63
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/FixedPointNumbers/src/ufixed.jl, in expression starting on line 64
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/FixedPointNumbers/src/ufixed.jl, in expression starting on line 65
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/FixedPointNumbers/src/ufixed.jl, in expression starting on line 66
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 152
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 153
WARNING: `@vectorize_1arg` is deprecated in favor of compact broadcast syntax. Instead of `@vectorize_1arg`'ing function `f` and calling `f(arg)`, call `f.(arg)`.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in @vectorize_1arg(::Any, ::Any) at ./deprecated.jl:981
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 in macro expansion at ./REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading /home/fengyang/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 154

WARNING: deprecated syntax "[a=>b for (a,b) in c]".
Use "Dict(a=>b for (a,b) in c)" instead.
WARNING: Method definition sampler(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.
WARNING: Method definition collector(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.

WARNING: deprecated syntax "call(::Type{SetField{f}}, ...)".
Use "(::Type{SetField{f}})(...)" instead.
WARNING: Method definition checkbox(Any) in module Escher at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223 overwritten at /home/fengyang/.julia/v0.6/Escher/src/basics/macros.jl:223.
WARNING: Method definition #checkbox(Array{Any, 1}, Escher.#checkbox, Any) in module Escher overwritten.
WARNING: Method definition require(Symbol) in module Base at loading.jl:376 overwritten in module Main at /home/fengyang/.julia/v0.6/Requires/src/require.jl:12.
ERROR: LoadError: LoadError: UndefVarError: ComposeDiff not defined
 in include_from_node1(::String) at ./loading.jl:518 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:440
while loading /home/fengyang/.julia/v0.6/Escher/src/basics/lazyload.jl, in expression starting on line 42
while loading /home/fengyang/.julia/v0.6/Escher/src/Escher.jl, in expression starting on line 51

The segfault also occurs if I load ComposeDiff first.

@shashi
Copy link
Member

shashi commented Sep 18, 2016

This seems to be gone on nightlies now, still breaks on Julia 0.5-x, although only on the first run. It looks like a Julia issue.

@randyzwitch
Copy link
Contributor

I get a segfault on 0.5

Randys-MacBook-Pro:examples randyzwitch$ escher --serve
WARNING: Method definition require(Symbol) in module Base at loading.jl:345 overwritten in module Main at /Users/randyzwitch/.julia/v0.5/Requires/src/require.jl:12.
Listening on 0.0.0.0:5555...
WARNING: readbytes is deprecated, use read instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readbytes(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in open(::Base.#readbytes, ::String) at ./iostream.jl:113
 in fileresponse(::String) at /Users/randyzwitch/.julia/v0.5/Mux/src/examples/files.jl:22
 in fresp(::String) at /Users/randyzwitch/.julia/v0.5/Mux/src/examples/files.jl:26
 in (::##30#32{String})(::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Escher/src/cli/serve.jl:221
 in (::Mux.##5#6{##29#31{String,Bool},##30#32{String}})(::Function, ::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:15
 in (::Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}})(::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}})(::Function, ::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:15
 in splitquery(::Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}, ::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/basics.jl:28
 in basiccatch(::Mux.##1#2{Mux.#splitquery,Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}}, ::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/basics.jl:78
 in (::Mux.##1#2{Mux.#basiccatch,Mux.##1#2{Mux.#splitquery,Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}}})(::Dict{Any,Any}) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##3#4{Mux.##3#4{Mux.#todict,Mux.#basiccatch},Mux.#splitquery})(::Function, ::HttpCommon.Request) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:12
 in (::Mux.##1#2{Mux.##3#4{Mux.##3#4{Mux.##3#4{Mux.#todict,Mux.#basiccatch},Mux.#splitquery},Mux.#toresponse},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}})(::HttpCommon.Request) at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##7#10{Mux.App})(::HttpCommon.Request, ::HttpCommon.Response) at /Users/randyzwitch/.julia/v0.5/Mux/src/server.jl:31
 in (::HttpServer.#on_message_complete#18{HttpServer.Server,HttpServer.Client{TCPSocket},Bool})(::HttpCommon.Request) at /Users/randyzwitch/.julia/v0.5/HttpServer/src/HttpServer.jl:427
 in on_message_complete(::Ptr{HttpParser.Parser}) at /Users/randyzwitch/.julia/v0.5/HttpServer/src/RequestParser.jl:104
 in http_parser_execute(::HttpParser.Parser, ::HttpParser.ParserSettings, ::Array{UInt8,1}) at /Users/randyzwitch/.julia/v0.5/HttpParser/src/HttpParser.jl:115
 in process_client(::HttpServer.Server, ::HttpServer.Client{TCPSocket}, ::Bool) at /Users/randyzwitch/.julia/v0.5/HttpServer/src/HttpServer.jl:389
 in (::HttpServer.##8#10{HttpServer.Server,Bool})() at ./task.jl:360
while loading /usr/local/bin/escher, in expression starting on line 48
WARNING: Method definition require(Symbol) in module Main at /Users/randyzwitch/.julia/v0.5/Requires/src/require.jl:12 overwritten at /Users/randyzwitch/.julia/v0.5/Requires/src/require.jl:12.

signal (11): Segmentation fault: 11
while loading /Users/randyzwitch/.julia/v0.5/Escher/examples/plotting.jl, in expression starting on line 1
jl_deserialize_value at /Users/randyzwitch/julia/src/dump.c:1393
jl_deserialize_value_ at /Users/randyzwitch/julia/src/dump.c:1722
jl_deserialize_value_ at /Users/randyzwitch/julia/src/dump.c:1508
jl_deserialize_value_ at /Users/randyzwitch/julia/src/dump.c:1508
jl_deserialize_value_ at /Users/randyzwitch/julia/src/dump.c:1508
jl_uncompress_ast at /Users/randyzwitch/julia/src/dump.c:2271
unshare_linfo! at ./inference.jl:1452
jlcall_unshare_linfo!_758 at /Users/randyzwitch/julia/usr/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
typeinf_edge at ./inference.jl:1572
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
typeinf_ext at ./inference.jl:1616
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
jl_apply at /Users/randyzwitch/julia/src/./julia.h:1392 [inlined]
jl_type_infer at /Users/randyzwitch/julia/src/gf.c:210
jl_compile_for_dispatch at /Users/randyzwitch/julia/src/gf.c:1295
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:184 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
jl_apply at /Users/randyzwitch/julia/src/./julia.h:1392 [inlined]
read_verify_mod_list at /Users/randyzwitch/julia/src/dump.c:1843
_jl_restore_incremental at /Users/randyzwitch/julia/src/dump.c:2514
jl_restore_incremental at /Users/randyzwitch/julia/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_37483 at /Users/randyzwitch/julia/usr/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
require at ./loading.jl:371
jlcall_require_22444 at /Users/randyzwitch/julia/usr/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
require at /Users/randyzwitch/.julia/v0.5/Requires/src/require.jl:12
unknown function (ip: 0x3203e7062)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
jl_apply at /Users/randyzwitch/julia/src/./julia.h:1392 [inlined]
eval_import_path_ at /Users/randyzwitch/julia/src/toplevel.c:402
eval_import_path at /Users/randyzwitch/julia/src/toplevel.c:429 [inlined]
jl_toplevel_eval_flex at /Users/randyzwitch/julia/src/toplevel.c:480
jl_parse_eval_all at /Users/randyzwitch/julia/src/ast.c:717
jl_load at /Users/randyzwitch/julia/src/toplevel.c:596 [inlined]
jl_load_ at /Users/randyzwitch/julia/src/toplevel.c:605
include_from_node1 at ./loading.jl:488
jlcall_include_from_node1_20218 at /Users/randyzwitch/julia/usr/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
loadfile at /Users/randyzwitch/.julia/v0.5/Escher/src/cli/serve.jl:17
#19 at /Users/randyzwitch/.julia/v0.5/Escher/src/cli/serve.jl:166
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
#5 at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:15
splitquery at /Users/randyzwitch/.julia/v0.5/Mux/src/basics.jl:28
wcatch at /Users/randyzwitch/.julia/v0.5/Mux/src/websockets_integration.jl:12
#1 at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:8
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
#3 at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:12
unknown function (ip: 0x320451a36)
#1 at /Users/randyzwitch/.julia/v0.5/Mux/src/Mux.jl:8
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
#13 at /Users/randyzwitch/.julia/v0.5/Mux/src/server.jl:38
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
handle at /Users/randyzwitch/.julia/v0.5/WebSockets/src/WebSockets.jl:382
unknown function (ip: 0x32044daad)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
on_message_complete at /Users/randyzwitch/.julia/v0.5/HttpServer/src/HttpServer.jl:420
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
on_message_complete at /Users/randyzwitch/.julia/v0.5/HttpServer/src/RequestParser.jl:104
unknown function (ip: 0x32042fc7f)
http_parser_execute at /Users/randyzwitch/.julia/v0.5/HttpParser/deps/usr/lib/libhttp_parser.dylib (unknown line)
http_parser_execute at /Users/randyzwitch/.julia/v0.5/HttpParser/src/HttpParser.jl:115
process_client at /Users/randyzwitch/.julia/v0.5/HttpServer/src/HttpServer.jl:389
unknown function (ip: 0x320433f60)
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
#8 at ./task.jl:360
jl_call_method_internal at /Users/randyzwitch/julia/src/./julia_internal.h:189 [inlined]
jl_apply_generic at /Users/randyzwitch/julia/src/gf.c:1942
jl_apply at /Users/randyzwitch/julia/src/./julia.h:1392 [inlined]
start_task at /Users/randyzwitch/julia/src/task.c:253
Allocations: 10152227 (Pool: 10150813; Big: 1414); GC: 15
Segmentation fault: 11
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.1-pre+2 (2016-09-20 03:34 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit f0d40ec* (30 days old release-0.5)
|__/                   |  x86_64-apple-darwin15.6.0

julia> Pkg.status()
11 required packages:
 - Atom                          0.5.4
 - Blink                         0.4.2
 - Compose                       0.4.4
 - ComposeDiff                   0.0.2
 - Documenter                    0.5.0
 - Escher                        0.3.3+             master
 - Gadfly                        0.5.1
 - IJulia                        1.3.2
 - PkgDev                        0.1.2
 - PlotlyJS                      0.5.0
 - Requires                      0.3.0              master
91 additional packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.3.1
 - AxisAlgorithms                0.1.5
 - Benchmark                     0.1.0
 - BinDeps                       0.4.5
 - BufferedStreams               0.2.0
 - COFF                          0.0.2
 - CRC                           1.2.0
 - Calculus                      0.1.15
 - CodeTools                     0.4.2
 - Codecs                        0.2.0
 - ColorBrewer                   0.3.0
 - ColorTypes                    0.2.11
 - Colors                        0.6.9
 - Compat                        0.9.2
 - Conda                         0.3.2
 - Contour                       0.2.0
 - DWARF                         0.1.0
 - DataArrays                    0.3.8
 - DataFrames                    0.8.4
 - DataStructures                0.4.6
 - Dates                         0.4.4
 - Distances                     0.3.2
 - Distributions                 0.11.0
 - DocStringExtensions           0.2.1
 - ECharts                       0.0.0-             master (unregistered)
 - ELF                           0.1.0
 - FileIO                        0.2.0
 - FixedPointNumbers             0.2.1
 - FixedSizeArrays               0.2.4
 - ForwardDiff                   0.2.5
 - FunctionalCollections         0.2.0
 - GZip                          0.2.20
 - Gallium                       0.0.4
 - Hexagons                      0.0.4
 - Hiccup                        0.0.3
 - Homebrew                      0.4.0
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.7
 - Interpolations                0.3.6
 - Iterators                     0.1.10
 - JSON                          0.8.0+             44a643b9
 - JuliaParser                   0.7.4
 - Juno                          0.2.3
 - KernelDensity                 0.3.0
 - LNR                           0.0.2
 - LaTeXStrings                  0.2.0
 - Lazy                          0.11.4
 - Libz                          0.2.0
 - Loess                         0.0.7
 - LogParser                     0.3.0+             master
 - MachO                         0.0.4
 - MacroTools                    0.3.2
 - Markdown                      0.3.0
 - MbedTLS                       0.3.0
 - Measures                      0.0.3
 - Media                         0.2.3
 - Mustache                      0.1.2
 - Mux                           0.2.2
 - NaNMath                       0.2.1
 - Nettle                        0.2.4
 - NoveltyColors                 0.3.0              master
 - ObjFileBase                   0.0.4
 - Optim                         0.6.1
 - PDMats                        0.5.0
 - Parameters                    0.5.0
 - Patchwork                     0.3.0
 - PositiveFactorizations        0.0.2
 - Ratios                        0.0.4
 - Reactive                      0.3.5
 - Reexport                      0.0.3
 - Requests                      0.3.11
 - Rmath                         0.1.3
 - SHA                           0.2.1
 - Showoff                       0.0.7
 - SortingAlgorithms             0.1.0
 - StatsBase                     0.11.1
 - StatsFuns                     0.3.1
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TextWrap                      0.1.6
 - UAParser                      0.4.0+             master
 - URIParser                     0.1.6
 - VT100                         0.0.2
 - Vega                          0.6.8+             master (dirty)
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.0
 - YAML                          0.1.10
 - ZMQ                           0.4.0

@jingpengw
Copy link

jingpengw commented Oct 31, 2016

I got segfault while trying the example of plotting. the layout2 works.
I have checked out the master branch of both Escher and ComposeDiff.

julia  ../bin/escher --serve 
WARNING: Method definition require(Symbol) in module Base at loading.jl:345 overwritten in module Escher at /Users/jpwu/.julia/v0.5/Requires/src/require.jl:12.
Listening on 0.0.0.0:5555...
WARNING: readbytes is deprecated, use read instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readbytes(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in open(::Base.#readbytes, ::String) at ./iostream.jl:113
 in fileresponse(::String) at /Users/jpwu/.julia/v0.5/Mux/src/examples/files.jl:22
 in fresp(::String) at /Users/jpwu/.julia/v0.5/Mux/src/examples/files.jl:26
 in (::##30#32{String})(::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Escher/src/cli/serve.jl:221
 in (::Mux.##5#6{##29#31{String,Bool},##30#32{String}})(::Function, ::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:15
 in (::Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}})(::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}})(::Function, ::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:15
 in splitquery(::Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}, ::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/basics.jl:28
 in basiccatch(::Mux.##1#2{Mux.#splitquery,Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}}, ::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/basics.jl:78
 in (::Mux.##1#2{Mux.#basiccatch,Mux.##1#2{Mux.#splitquery,Mux.##1#2{Mux.#toresponse,Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}}}})(::Dict{Any,Any}) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##3#4{Mux.##3#4{Mux.#todict,Mux.#basiccatch},Mux.#splitquery})(::Function, ::HttpCommon.Request) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:12
 in (::Mux.##1#2{Mux.##3#4{Mux.##3#4{Mux.##3#4{Mux.#todict,Mux.#basiccatch},Mux.#splitquery},Mux.#toresponse},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{##29#31{String,Bool},##30#32{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},Mux.##1#2{Mux.##5#6{Mux.##40#42{String,Bool},Mux.##41#43{String}},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##35#39},Mux.##1#2{Mux.##5#6{Mux.##33#34{Array{SubString{String},1}},##36#40},Mux.##1#2{Mux.##23#24{Mux.##27#28{Symbol,Int64}},Mux.##25#26{String}}}}}}})(::HttpCommon.Request) at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:8
 in (::Mux.##7#10{Mux.App})(::HttpCommon.Request, ::HttpCommon.Response) at /Users/jpwu/.julia/v0.5/Mux/src/server.jl:31
 in (::HttpServer.#on_message_complete#18{HttpServer.Server,HttpServer.Client{TCPSocket},Bool})(::HttpCommon.Request) at /Users/jpwu/.julia/v0.5/HttpServer/src/HttpServer.jl:427
 in on_message_complete(::Ptr{HttpParser.Parser}) at /Users/jpwu/.julia/v0.5/HttpServer/src/RequestParser.jl:104
 in http_parser_execute(::HttpParser.Parser, ::HttpParser.ParserSettings, ::Array{UInt8,1}) at /Users/jpwu/.julia/v0.5/HttpParser/src/HttpParser.jl:115
 in process_client(::HttpServer.Server, ::HttpServer.Client{TCPSocket}, ::Bool) at /Users/jpwu/.julia/v0.5/HttpServer/src/HttpServer.jl:389
 in (::HttpServer.##8#10{HttpServer.Server,Bool})() at ./task.jl:360
while loading /Users/jpwu/.julia/v0.5/Escher/bin/escher, in expression starting on line 48
WARNING: Method definition require(Symbol) in module Escher at /Users/jpwu/.julia/v0.5/Requires/src/require.jl:12 overwritten in module Main at /Users/jpwu/.julia/v0.5/Requires/src/require.jl:12.

signal (11): Segmentation fault: 11
while loading /Users/jpwu/.julia/v0.5/Escher/examples/plotting.jl, in expression starting on line 1
jl_deserialize_value at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1393
jl_deserialize_value_ at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1722
jl_deserialize_value_ at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1508
jl_deserialize_value_ at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1508
jl_deserialize_value_ at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:1508
jl_uncompress_ast at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/dump.c:2271
unshare_linfo! at ./inference.jl:1452
jlcall_unshare_linfo!_758 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
typeinf_edge at ./inference.jl:1572
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
typeinf_ext at ./inference.jl:1616
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]
jl_type_infer at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:210
jl_compile_for_dispatch at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1295
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]
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
require at /Users/jpwu/.julia/v0.5/Requires/src/require.jl:12
unknown function (ip: 0x31842db02)
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_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/ast.c:717
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:596 [inlined]
jl_load_ at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:605
include_from_node1 at ./loading.jl:488
jlcall_include_from_node1_20125 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
loadfile at /Users/jpwu/.julia/v0.5/Escher/src/cli/serve.jl:17
#19 at /Users/jpwu/.julia/v0.5/Escher/src/cli/serve.jl:166
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
#5 at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:15
splitquery at /Users/jpwu/.julia/v0.5/Mux/src/basics.jl:28
wcatch at /Users/jpwu/.julia/v0.5/Mux/src/websockets_integration.jl:12
#1 at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:8
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
#3 at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:12
unknown function (ip: 0x31848e5c6)
#1 at /Users/jpwu/.julia/v0.5/Mux/src/Mux.jl:8
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
#13 at /Users/jpwu/.julia/v0.5/Mux/src/server.jl:38
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
handle at /Users/jpwu/.julia/v0.5/WebSockets/src/WebSockets.jl:382
unknown function (ip: 0x31848a51d)
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
on_message_complete at /Users/jpwu/.julia/v0.5/HttpServer/src/HttpServer.jl:420
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
on_message_complete at /Users/jpwu/.julia/v0.5/HttpServer/src/RequestParser.jl:104
unknown function (ip: 0x31846b49f)
http_parser_execute at /Users/jpwu/.julia/v0.5/HttpParser/deps/usr/lib/libhttp_parser.dylib (unknown line)
http_parser_execute at /Users/jpwu/.julia/v0.5/HttpParser/src/HttpParser.jl:115
process_client at /Users/jpwu/.julia/v0.5/HttpServer/src/HttpServer.jl:389
unknown function (ip: 0x31846f980)
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
#8 at ./task.jl:360
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: 14485842 (Pool: 14484490; Big: 1352); GC: 25
Segmentation fault: 11
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) i7-5650U CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants