{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/22355","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/22355/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/22355/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/22355/events","html_url":"https://github.com/JuliaLang/julia/issues/22355","id":235540424,"number":22355,"title":"Inference disabled by a world age issue (0.6.0-rc3)","user":{"login":"timholy","id":1525481,"avatar_url":"https://avatars3.githubusercontent.com/u/1525481?v=4","gravatar_id":"","url":"https://api.github.com/users/timholy","html_url":"https://github.com/timholy","followers_url":"https://api.github.com/users/timholy/followers","following_url":"https://api.github.com/users/timholy/following{/other_user}","gists_url":"https://api.github.com/users/timholy/gists{/gist_id}","starred_url":"https://api.github.com/users/timholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timholy/subscriptions","organizations_url":"https://api.github.com/users/timholy/orgs","repos_url":"https://api.github.com/users/timholy/repos","events_url":"https://api.github.com/users/timholy/events{/privacy}","received_events_url":"https://api.github.com/users/timholy/received_events","type":"User","site_admin":false},"labels":[{"id":546540582,"url":"https://api.github.com/repos/JuliaLang/julia/labels/backport%20pending%200.6","name":"backport pending 0.6","color":"972c07","default":false},{"id":421532175,"url":"https://api.github.com/repos/JuliaLang/julia/labels/inference","name":"inference","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2017-06-13T12:41:41Z","updated_at":"2017-08-09T20:39:21Z","closed_at":null,"body":"I have a quite complicated example (involving several official packages and a couple of private ones) that I haven't yet succeeded in simplifying, but I'm wondering whether this debug info is enough for a clue. Using this diff against 0.6.0-rc3:\r\n```diff\r\n$ git diff\r\ndiff --git a/base/inference.jl b/base/inference.jl\r\nindex b54a8de..b1598dd 100644\r\n--- a/base/inference.jl\r\n+++ b/base/inference.jl\r\n@@ -2358,8 +2358,16 @@ end\r\n \r\n # work towards converging the valid age range for sv\r\n function update_valid_age!(min_valid::UInt, max_valid::UInt, sv::InferenceState)\r\n+    minv, maxv = sv.min_valid, sv.max_valid\r\n     sv.min_valid = max(sv.min_valid, min_valid)\r\n     sv.max_valid = min(sv.max_valid, max_valid)\r\n+    if !(!isdefined(sv.linfo, :def) || !sv.cached || sv.min_valid <= sv.params.world <= sv.max_valid)\r\n+        println(\"def: \", isdefined(sv.linfo, :def))\r\n+        println(\"cached: \", sv.cached)\r\n+        println(\"bounds: \", sv.min_valid, \", \", sv.params.world, \", \", sv.max_valid)\r\n+        println(\"original bounds: \", minv, \", \", maxv)\r\n+        println(\"input bounds: \", min_valid, \", \", max_valid)\r\n+    end\r\n     @assert !isdefined(sv.linfo, :def) || !sv.cached || sv.min_valid <= sv.params.world <= sv.max_valid \"invalid age range update\"\r\n     nothing\r\n end\r\n@@ -2373,7 +2381,12 @@ function add_backedge(li::MethodInstance, caller::InferenceState)\r\n         caller.stmt_edges[caller.currpc] = []\r\n     end\r\n     push!(caller.stmt_edges[caller.currpc], li)\r\n-    update_valid_age!(li, caller)\r\n+    try\r\n+        update_valid_age!(li, caller)\r\n+    catch ex\r\n+        println(\"li: \", li)\r\n+        rethrow(ex)\r\n+    end\r\n     nothing\r\n end\r\n```\r\n\r\nI got this backtrace (during precompilation):\r\n```\r\ndef: true\r\ncached: true\r\nbounds: 0x000000000000553a, 0x0000000000005576, 0x0000000000000000\r\noriginal bounds: 0x000000000000553a, 0xffffffffffffffff\r\ninput bounds: 0x0000000000000001, 0x0000000000000000\r\nli: BufferedStreams.flushbuffer!(typeof(BufferedStreams.flushbuffer!), BufferedStreams.BufferedOutputStream{T} where T)\r\nWARNING: An error occurred during inference. Type inference is now partially disabled.\r\nBase.MethodError(f=typeof(Core.Inference.convert)(), args=(Base.AssertionError, \"invalid age range update\"), world=0x0000000000000ac2)\r\nrec_backtrace at /home/tim/src/julia-0.6/src/stackwalk.c:84\r\nrecord_backtrace at /home/tim/src/julia-0.6/src/task.c:245\r\njl_throw at /home/tim/src/julia-0.6/src/task.c:564\r\njl_method_error_bare at /home/tim/src/julia-0.6/src/gf.c:1476\r\njl_method_error at /home/tim/src/julia-0.6/src/gf.c:1494\r\njl_lookup_generic_ at /home/tim/src/julia-0.6/src/gf.c:1907 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1927\r\nType at ./coreimg.jl:14\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:343 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nupdate_valid_age! at ./inference.jl:2371\r\nadd_backedge at ./inference.jl:2385\r\ntypeinf_edge at ./inference.jl:2522\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2791\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486f370a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_apply at ./inference.jl:1541\r\nunknown function (ip: 0x7fb3486eefbe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1669\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2791\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486f370a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_apply at ./inference.jl:1541\r\nunknown function (ip: 0x7fb3486eefbe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1669\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2791\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486f370a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_apply at ./inference.jl:1541\r\nunknown function (ip: 0x7fb3486eefbe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1669\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2791\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nabstract_interpret at ./inference.jl:2069\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486f370a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_apply at ./inference.jl:1541\r\nunknown function (ip: 0x7fb3486eefbe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1669\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2791\r\ntypeinf_loop at ./inference.jl:2637\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_edge at ./inference.jl:2530\r\nunknown function (ip: 0x7fb3486d6c4a)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call_gf_by_type at ./inference.jl:1401\r\nunknown function (ip: 0x7fb3486d4b66)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_call at ./inference.jl:1882\r\nunknown function (ip: 0x7fb3486d09fe)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_eval_call at ./inference.jl:1912\r\nabstract_eval at ./inference.jl:1935\r\nunknown function (ip: 0x7fb3486cb956)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\nabstract_interpret at ./inference.jl:2061\r\nunknown function (ip: 0x7fb3486cbfa6)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_frame at ./inference.jl:2738\r\ntypeinf_loop at ./inference.jl:2654\r\ntypeinf_frame at ./inference.jl:2507\r\ntypeinf_code at ./inference.jl:2577\r\nunknown function (ip: 0x7fb3486e734d)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\ntypeinf_ext at ./inference.jl:2616\r\nunknown function (ip: 0x7fb3486c6722)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\njl_apply at /home/tim/src/julia-0.6/src/julia.h:1423 [inlined]\r\njl_apply_with_saved_exception_state at /home/tim/src/julia-0.6/src/rtutils.c:257\r\njl_type_infer at /home/tim/src/julia-0.6/src/gf.c:269\r\njl_compile_for_dispatch at /home/tim/src/julia-0.6/src/gf.c:1665\r\njl_compile_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:307 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:354 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\n_atexit at ./initdefs.jl:85\r\nunknown function (ip: 0x7fb34886cf48)\r\njl_call_fptr_internal at /home/tim/src/julia-0.6/src/julia_internal.h:339 [inlined]\r\njl_call_method_internal at /home/tim/src/julia-0.6/src/julia_internal.h:358 [inlined]\r\njl_apply_generic at /home/tim/src/julia-0.6/src/gf.c:1930\r\njl_apply at /home/tim/src/julia-0.6/src/julia.h:1423 [inlined]\r\njl_atexit_hook at /home/tim/src/julia-0.6/src/init.c:250\r\nmain at /home/tim/src/julia-0.6/ui/repl.c:265\r\n__libc_start_main at /build/glibc-9tT8Do/glibc-2.23/csu/../csu/libc-start.c:291\r\nunknown function (ip: 0x401668)\r\n```\r\nSo the problem seems to be that the valid range of world ages for `BufferedStreams.flushbuffer!` is empty. (Either something is uninitialized, or a previous error is being encoded this way?)\r\n\r\nIf someone wants to debug this but needs access to my private repos, that can be arranged."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/321374843","html_url":"https://github.com/JuliaLang/julia/issues/22355#issuecomment-321374843","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/22355","id":321374843,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars3.githubusercontent.com/u/712232?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T20:39:21Z","updated_at":"2017-08-09T20:39:21Z","body":"No"}}
{"actor":{"display_login":"yuyichao"}}