-
Notifications
You must be signed in to change notification settings - Fork 63
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
Comments
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. |
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 |
I got
|
This was referenced Dec 14, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Loading Escher throws LoadError
Escher fails to load on latest nightly. The problem occurs when loading ComposeDiff.
Loading ComposeDiff, then Escher, segfaults
If I try to load ComposeDiff first, then a segfault occurs.
compilecache=no doesn't help
Running Julia with
--compilecache=no
does not seem to helpThe segfault also occurs if I load
ComposeDiff
first.The text was updated successfully, but these errors were encountered: