Skip to content

Instantly share code, notes, and snippets.

@terasakisatoshi
Created September 7, 2019 16:05
Show Gist options
  • Save terasakisatoshi/682bd28e09d004a50f76fb69349b9187 to your computer and use it in GitHub Desktop.
Save terasakisatoshi/682bd28e09d004a50f76fb69349b9187 to your computer and use it in GitHub Desktop.
Error log
docker run --rm -it julia:1.2.0 \
> julia -e 'using Pkg; Pkg.add("HCubature")
> using HCubature
> f(x, y) = x*y^2
> g(f; m=1) = hcubature(w->f(w[1], w[2]), [0,0], [1,1])
> @show g(f)'
Cloning default registries into `~/.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
Added registry `General` to `~/.julia/registries/General`
Resolving package versions...
Installed HCubature ────────── v1.4.0
Installed Combinatorics ────── v0.7.0
Installed QuadGK ───────────── v2.0.3
Installed Polynomials ──────── v0.5.2
Installed DataStructures ───── v0.17.0
Installed OrderedCollections ─ v1.1.0
Installed StaticArrays ─────── v0.11.0
Updating `~/.julia/environments/v1.2/Project.toml`
[19dc6840] + HCubature v1.4.0
Updating `~/.julia/environments/v1.2/Manifest.toml`
[861a8166] + Combinatorics v0.7.0
[864edb3b] + DataStructures v0.17.0
[19dc6840] + HCubature v1.4.0
[bac558e1] + OrderedCollections v1.1.0
[f27b6e38] + Polynomials v0.5.2
[1fd47b50] + QuadGK v2.0.3
[90137ffa] + StaticArrays v0.11.0
[2a0f44e3] + Base64
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[9a3f8284] + Random
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
Internal error: encountered unexpected error in runtime:
MethodError(f=typeof(Base.string)(), args=(Expr(:<:, :t, :r),), world=0x0000000000000eec)
rec_backtrace at /buildworker/worker/package_linux64/build/src/stackwalk.c:94
record_backtrace at /buildworker/worker/package_linux64/build/src/task.c:219 [inlined]
jl_throw at /buildworker/worker/package_linux64/build/src/task.c:429
jl_method_error_bare at /buildworker/worker/package_linux64/build/src/gf.c:1606
jl_method_error at /buildworker/worker/package_linux64/build/src/gf.c:1624
jl_lookup_generic_ at /buildworker/worker/package_linux64/build/src/gf.c:2161 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
limit_type_size at ./compiler/typelimits.jl:23
jfptr_limit_type_size_4348.clone_1 at /usr/local/julia/lib/julia/sys.so (unknown line)
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2191
abstract_call_method at ./compiler/abstractinterpretation.jl:331
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_edge at ./compiler/typeinfer.jl:482
abstract_call_method at ./compiler/abstractinterpretation.jl:376
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_edge at ./compiler/typeinfer.jl:482
abstract_call_method at ./compiler/abstractinterpretation.jl:376
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_edge at ./compiler/typeinfer.jl:482
abstract_call_method at ./compiler/abstractinterpretation.jl:376
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_edge at ./compiler/typeinfer.jl:482
abstract_call_method at ./compiler/abstractinterpretation.jl:376
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_edge at ./compiler/typeinfer.jl:482
abstract_call_method at ./compiler/abstractinterpretation.jl:376
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:93
abstract_call at ./compiler/abstractinterpretation.jl:818
abstract_call at ./compiler/abstractinterpretation.jl:608
abstract_eval_call at ./compiler/abstractinterpretation.jl:847
abstract_eval at ./compiler/abstractinterpretation.jl:917
typeinf_local at ./compiler/abstractinterpretation.jl:1174
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1230
typeinf at ./compiler/typeinfer.jl:12
typeinf_ext at ./compiler/typeinfer.jl:568
typeinf_ext at ./compiler/typeinfer.jl:599
jfptr_typeinf_ext_1.clone_1 at /usr/local/julia/lib/julia/sys.so (unknown line)
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2191
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1614 [inlined]
jl_type_infer at /buildworker/worker/package_linux64/build/src/gf.c:207
jl_compile_method_internal at /buildworker/worker/package_linux64/build/src/gf.c:1773
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2196
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:323
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:411
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:362 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:772
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:884
Interpreter frame (ip: 0)
Core.CodeInfo(code=Array{Any, (5,)}[
Expr(:call, :g, :f),
Symbol("#3#value") = SSAValue(1),
Expr(:call, Base.repr, SSAValue(1)),
Expr(:call, Base.println, "g(f) = ", SSAValue(3)),
Expr(:return, Symbol("#3#value"))], codelocs=Array{Int32, (5,)}[1, 1, 1, 1, 1], ssavaluetypes=5, ssaflags=Array{UInt8, (0,)}[], method_for_inference_limit_heuristics=nothing, linetable=Array{Any, (1,)}[Core.LineInfoNode(method=Symbol("top-level scope"), file=Symbol("show.jl"), line=576, inlined_at=0)], slotnames=Array{Symbol, (0,)}[], slotflags=Array{UInt8, (0,)}[], slottypes=nothing, rettype=Any, parent=nothing, min_world=1, max_world=-1, inferred=false, inlineable=false, propagate_inbounds=false, pure=false)jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:893
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:815
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:844
eval at ./boot.jl:330
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2191
exec_options at ./client.jl:271
_start at ./client.jl:464
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2191
unknown function (ip: 0x40192d)
unknown function (ip: 0x401533)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4015d4)
g(f) = (0.16666666666666663, 5.551115123125783e-17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment