Skip to content

Assertion failure in type system #22592

Closed
@simonster

Description

On JuliaIO/JLD2.jl@dfca1f0 (current JLD2 master) with 0.6 debug build:

  | | |_| | | | (_| |  |  Version 0.6.1-pre.0 (2017-06-19 13:06 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit dcf39a1 (8 days old release-0.6)
|__/                   |  x86_64-apple-darwin16.5.0

julia> using JLD2
Assertion failed: (!jl_subtype((jl_value_t*)sig, (jl_value_t*)type)), function check_ambiguous_visitor, file /usr/local/julia-release-0.6/src/gf.c, line 1129.

signal (6): Abort trap: 6
while loading /Users/simon/.julia/v0.6/JLD2/src/data.jl, in expression starting on line 914
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 3993141 (Pool: 3991608; Big: 1533); GC: 7
fish: 'julia-debug' terminated by signal SIGABRT (Abort)

The assertion failure occurs when loading this line. Appears to operate properly with a non-debug build.

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behaviortypes and dispatchTypes, subtyping and method dispatch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions