Running the tests locally on Julia master over and over (clearing the compile files seems to make it reproduce more??) sometimes crash with:
Internal error: encountered unexpected error in runtime:
TypeError(func=:Tuple, context="parameter", expected=Type, got=<?#0x104ac61f0::<circular reference @-1>>)
jl_type_error_rt at /Users/sabae/buildbot/worker/package_macos64/build/src/rtutils.c:118
jl_f_apply_type at /Users/sabae/buildbot/worker/package_macos64/build/src/builtins.c:0
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
do_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/builtins.c:643
argtypes_to_type at ./compiler/typeutils.jl:46 [inlined]
abstract_call_known at ./compiler/abstractinterpretation.jl:872
abstract_call at ./compiler/abstractinterpretation.jl:895
abstract_call at ./compiler/abstractinterpretation.jl:880
abstract_eval at ./compiler/abstractinterpretation.jl:974
typeinf_local at ./compiler/abstractinterpretation.jl:1227
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1283
typeinf at ./compiler/typeinfer.jl:12
typeinf_ext at ./compiler/typeinfer.jl:574
typeinf_ext at ./compiler/typeinfer.jl:605
jfptr_typeinf_ext_1.clone_1 at /Applications/Julia-1.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
jl_type_infer at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:213
jl_compile_method_internal at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:1887
_jl_invoke at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:2153 [inlined]
jl_apply_generic at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:2322
unknown function (ip: 0x11f36af7c)
ssl_generate_random at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
ssl_write_client_hello at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake_client_step at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake_step at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
ssl_handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/src/ssl.jl:606
handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/src/ssl.jl:74
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
do_call at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:369
eval_body at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:911
top-level scope at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/test/runtests.jl:123
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:814
jl_parse_eval_all at /Users/sabae/buildbot/worker/package_macos64/build/src/ast.c:872
jl_load at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:872 [inlined]
jl_load_ at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:879
include at ./client.jl:439
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
do_call at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:369
eval_body at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:911
top-level scope at none:6
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:814
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:764
jl_toplevel_eval at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:823 [inlined]
jl_toplevel_eval_in at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:843
eval at ./boot.jl:331
exec_options at ./client.jl:264
_start at ./client.jl:484
jfptr__start_2076.clone_1 at /Applications/Julia-1.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
true_main at /Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia (unknown line)
signal (11): Segmentation fault: 11
in expression starting at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/test/runtests.jl:89
jl_field_offset at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1018 [inlined]
set_nth_field at /Users/sabae/buildbot/worker/package_macos64/build/src/datatype.c:1085
jl_f_tuple at /Users/sabae/buildbot/worker/package_macos64/build/src/builtins.c:725
jl_method_error at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:1734
jl_lookup_generic_ at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:2297
jl_apply_generic at /Users/sabae/buildbot/worker/package_macos64/build/src/gf.c:2318
f_rng at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/src/ctr_drbg.jl:22
unknown function (ip: 0x11f36af7c)
ssl_generate_random at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
ssl_write_client_hello at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake_client_step at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake_step at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
mbedtls_ssl_handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/deps/usr/lib/libmbedtls.2.16.0.dylib (unknown line)
ssl_handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/src/ssl.jl:606
handshake at /Users/kristoffer/.julia/packages/MbedTLS/a1JFn/src/ssl.jl:74
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
do_call at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:369
eval_body at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:911
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:814
jl_parse_eval_all at /Users/sabae/buildbot/worker/package_macos64/build/src/ast.c:872
jl_load at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:872 [inlined]
jl_load_ at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:879
include at ./client.jl:439
jl_apply at /Users/sabae/buildbot/worker/package_macos64/build/src/./julia.h:1692 [inlined]
do_call at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:369
eval_body at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/sabae/buildbot/worker/package_macos64/build/src/interpreter.c:911
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:814
jl_toplevel_eval_flex at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:764
jl_toplevel_eval at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:823 [inlined]
jl_toplevel_eval_in at /Users/sabae/buildbot/worker/package_macos64/build/src/toplevel.c:843
eval at ./boot.jl:331
exec_options at ./client.jl:264
_start at ./client.jl:484
jfptr__start_2076.clone_1 at /Applications/Julia-1.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
true_main at /Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia (unknown line)
Allocations: 3464917 (Pool: 3464201; Big: 716); GC: 4
Running the tests locally on Julia master over and over (clearing the compile files seems to make it reproduce more??) sometimes crash with: