Skip to content

0.5: Illegal instruction 4 #17003

@dlfivefifty

Description

@dlfivefifty

Yet another ApproxFun segfault, that only appears when running all the tests (so hard to isolate).

There's some bizarre behaviour when running the line in question, but does not immediately cause the segfault. I'll try to narrow down the issue.

Julia Version 0.5.0-dev+4850
Commit 9ae4520 (2016-06-18 03:25 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin15.5.0)
  CPU: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz
  WORD_SIZE: 64
  BLAS: libgfortblas
  LAPACK: liblapack
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, ivybridge)
Pkg.checkout("ApproxFun","bug-illinstruct")
Pkg.test("ApproxFun")

signal (4): Illegal instruction: 4
while loading /Users/solver/.julia/v0.5/ApproxFun/test/PDETest.jl, in expression starting on line 16
kron at /Users/solver/.julia/v0.5/ApproxFun/src/PDE/KroneckerOperator.jl:295
dirichlet at /Users/solver/.julia/v0.5/ApproxFun/src/PDE/PDE.jl:49
jl_call_method_internal at /Users/solver/Projects/julia5/src/./julia_internal.h:86
do_call at /Users/solver/Projects/julia5/src/interpreter.c:65
eval at /Users/solver/Projects/julia5/src/interpreter.c:188
do_call at /Users/solver/Projects/julia5/src/interpreter.c:64
eval at /Users/solver/Projects/julia5/src/interpreter.c:188
eval_body at /Users/solver/Projects/julia5/src/interpreter.c:469
jl_interpret_call at /Users/solver/Projects/julia5/src/interpreter.c:573
jl_toplevel_eval_flex at /Users/solver/Projects/julia5/src/toplevel.c:543
jl_parse_eval_all at /Users/solver/Projects/julia5/src/ast.c:699
jl_load at /Users/solver/Projects/julia5/src/toplevel.c:569
include_from_node1 at ./loading.jl:426
unknown function (ip: 0x1115b453c)
jl_call_method_internal at /Users/solver/Projects/julia5/src/./julia_internal.h:86
do_call at /Users/solver/Projects/julia5/src/interpreter.c:65
eval at /Users/solver/Projects/julia5/src/interpreter.c:188
jl_toplevel_eval_flex at /Users/solver/Projects/julia5/src/toplevel.c:529
jl_parse_eval_all at /Users/solver/Projects/julia5/src/ast.c:699
jl_load at /Users/solver/Projects/julia5/src/toplevel.c:569
include_from_node1 at ./loading.jl:426
unknown function (ip: 0x1115b453c)
jl_call_method_internal at /Users/solver/Projects/julia5/src/./julia_internal.h:86
process_options at ./client.jl:266
_start at ./client.jl:322
unknown function (ip: 0x1115dfbc4)
jl_call_method_internal at /Users/solver/Projects/julia5/src/./julia_internal.h:86
true_main at /Users/solver/Projects/julia5/usr/bin/julia (unknown line)
main at /Users/solver/Projects/julia5/usr/bin/julia (unknown line)
Allocations: 429519734 (Pool: 429304528; Big: 215206); GC: 866
====================================================[ ERROR: ApproxFun ]====================================================

failed process: Process(`/Users/solver/Projects/julia5/usr/bin/julia -Cnative -J/Users/solver/Projects/julia5/usr/lib/julia/sys.dylib --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes /Users/solver/.julia/v0.5/ApproxFun/test/runtests.jl`, ProcessSignaled(4)) [0]

============================================================================================================================
ERROR: ApproxFun had test errors
 in #test#49(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:694
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./null:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:59
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./null:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:245
 in test(::String, ::Vararg{String,N}) at ./pkg/pkg.jl:245
 in eval(::Module, ::Any) at ./boot.jl:231
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcompiler:inferenceType inference

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions