I've also submitted an issue to JLD, and the problem is originally 
addressed here: https://github.com/JuliaIO/JLD.jl/issues/103

On Tuesday, 8 November 2016 14:50:49 UTC+1, Igor Cerovsky wrote:
>
> Hello,
>
> Julia 0.5 crashes when loading previously saved data using JLD; code below 
> shows a simple example, that causes crash:
> using JLD
>
> type foo 
>   a::Int
>   b::String
> end
> f = foo(1, "a")
> save("d:/work/Julia/data.jld", "f", f)
> l = load("d:/work/Julia/data.jld", "f") # crashes here
>
> however, everything works fine with:
> using JLD
>
> a = [1,2]
> save("d:/work/Julia/data.jld", "a", a)
> l = load("d:/work/Julia/data.jld", "a")
>
> Julia Version 0.5.0 (2016-09-19 18:14 UTC); Official http://julialang.org/ 
> release; x86_64-w64-mingw32
>
> Any idea how to fix the problem?
>
> Thanks.
>

Reply via email to