MikeInnes / Lazy.jl

I was gonna maintain this package, but then I got high
Other
470 stars 54 forks source link

Signal (11): Segmentation fault while loading JuMP #65

Open haoxiangyang89 opened 7 years ago

haoxiangyang89 commented 7 years ago

When I load JuMP:

using JuMP;

The error message shows up as:

signal (11): Segmentation fault
while loading /home/haoxiang/.julia/v0.5/Lazy/src/macros.jl, in expression start                                                                                         ing on line 205
julia_type_to_llvm at /home/centos/buildbot/slave/package_tarball64/build/src/cg                                                                                         utils.cpp:318
mark_julia_const at /home/centos/buildbot/slave/package_tarball64/build/src/code                                                                                         gen.cpp:641
emit_expr at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.cpp                                                                                         :3140
emit_invoke at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.c                                                                                         pp:2669 [inlined]
emit_expr at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.cpp                                                                                         :3162
emit_jlcall at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.c                                                                                         pp:2578
emit_call at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.cpp                                                                                         :2739
emit_expr at /home/centos/buildbot/slave/package_tarball64/build/src/codegen.cpp                                                                                         :3172
emit_function at /home/centos/buildbot/slave/package_tarball64/build/src/codegen                                                                                         .cpp:4691
jl_compile_linfo at /home/centos/buildbot/slave/package_tarball64/build/src/code                                                                                         gen.cpp:809
jl_compile_for_dispatch at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/gf.c:1310
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:184 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
@capture at /home/haoxiang/.julia/v0.5/MacroTools/src/macro.jl:61
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
fl_invoke_julia_macro at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /ast.c:161
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1227
_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :683
fl_map1 at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :2220
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1227
_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :683
fl_map1 at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :2220
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1227
_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :683
fl_map1 at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :2220
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1227
do_trycatch at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/fli                                                                                         sp.c:899
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1807
_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :683
fl_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp                                                                                         .c:723
jl_call_scm_on_ast at /home/centos/buildbot/slave/package_tarball64/build/src/as                                                                                         t.c:778 [inlined]
jl_macroexpand at /home/centos/buildbot/slave/package_tarball64/build/src/ast.c:                                                                                         794
docm at ./docs/Docs.jl:605
docm at ./docs/Docs.jl:605
unknown function (ip: 0x7f2262f81584)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
jl_apply_2va at /home/centos/buildbot/slave/package_tarball64/build/src/builtins                                                                                         .c:430
@doc at ./boot.jl:337
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
fl_invoke_julia_macro at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /ast.c:161
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1227
do_trycatch at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/fli                                                                                         sp.c:899
apply_cl at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.                                                                                         c:1807
_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp.c                                                                                         :683
fl_applyn at /home/centos/buildbot/slave/package_tarball64/build/src/flisp/flisp                                                                                         .c:723
jl_parse_eval_all at /home/centos/buildbot/slave/package_tarball64/build/src/ast                                                                                         .c:702
jl_load at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:59                                                                                         6
jl_load_ at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:6                                                                                         05
include_from_node1 at ./loading.jl:488
unknown function (ip: 0x7f247d41cd0b)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
do_call at /home/centos/buildbot/slave/package_tarball64/build/src/interpreter.c                                                                                         :66
eval at /home/centos/buildbot/slave/package_tarball64/build/src/interpreter.c:19                                                                                         0
jl_toplevel_eval_flex at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /toplevel.c:558
jl_eval_module_expr at /home/centos/buildbot/slave/package_tarball64/build/src/t                                                                                         oplevel.c:196
jl_toplevel_eval_flex at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /toplevel.c:465
jl_parse_eval_all at /home/centos/buildbot/slave/package_tarball64/build/src/ast                                                                                         .c:717
jl_load at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:59                                                                                         6
jl_load_ at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:6                                                                                         05
include_from_node1 at ./loading.jl:488
unknown function (ip: 0x7f247d41cd0b)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
do_call at /home/centos/buildbot/slave/package_tarball64/build/src/interpreter.c                                                                                         :66
eval at /home/centos/buildbot/slave/package_tarball64/build/src/interpreter.c:19                                                                                         0
jl_toplevel_eval_flex at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /toplevel.c:558 [inlined]
jl_toplevel_eval at /home/centos/buildbot/slave/package_tarball64/build/src/topl                                                                                         evel.c:580
jl_toplevel_eval_in_warn at /home/centos/buildbot/slave/package_tarball64/build/                                                                                         src/builtins.c:590
macro expansion; at ./none:2 [inlined]
anonymous at ./<missing> (unknown line)
unknown function (ip: 0x7f2262f6c681)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_toplevel_eval_flex at /home/centos/buildbot/slave/package_tarball64/build/src                                                                                         /toplevel.c:569 [inlined]
jl_toplevel_eval at /home/centos/buildbot/slave/package_tarball64/build/src/topl                                                                                         evel.c:580
jl_toplevel_eval_in_warn at /home/centos/buildbot/slave/package_tarball64/build/                                                                                         src/builtins.c:590
eval at ./boot.jl:234
unknown function (ip: 0x7f247d4084df)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
process_options at ./client.jl:239
_start at ./client.jl:318
unknown function (ip: 0x7f247d4422e8)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/s                                                                                         rc/julia_internal.h:189 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c                                                                                         :1942
jl_apply at /home/centos/buildbot/slave/package_tarball64/build/ui/../src/julia.                                                                                         h:1392 [inlined]
true_main at /home/centos/buildbot/slave/package_tarball64/build/ui/repl.c:112
main at /home/centos/buildbot/slave/package_tarball64/build/ui/repl.c:232
__libc_start_main at /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:291
unknown function (ip: 0x4013fc)
Allocations: 1241024 (Pool: 1240151; Big: 873); GC: 0
ERROR: LoadError: Failed to precompile Lazy to /home/haoxiang/.julia/lib/v0.5/La                                                                                         zy.ji.
 in compilecache(::String) at ./loading.jl:593
 in require(::Symbol) at ./loading.jl:393
 in _include_from_serialized(::String) at ./loading.jl:150
 in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.j                                                                                         l:187
 in _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./lo                                                                                         ading.jl:217
 in require(::Symbol) at ./loading.jl:371
 in include_from_node1(::String) at ./loading.jl:488
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/haoxiang/.julia/v0.5/JuMP/src/JuMP.jl, in expression startin                                                                                         g on line 21
ERROR: Failed to precompile JuMP to /home/haoxiang/.julia/lib/v0.5/JuMP.ji.
 in compilecache(::String) at ./loading.jl:593
 in require(::Symbol) at ./loading.jl:422

I started to see this issue after updating the METADATA last week. The current version of my packages is listed as below: JuMP 0.15.1 Lazy 0.11.7

I am not sure how this can be related to previous issues #16245. Thanks!

haoxiangyang89 commented 7 years ago

It seems that updating to Julia 0.6 will solve the problem but the issue might still be worth looking into.