Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading immutables when using Julia master #77

Closed
jrevels opened this issue Jul 6, 2016 · 0 comments
Closed

Error loading immutables when using Julia master #77

jrevels opened this issue Jul 6, 2016 · 0 comments

Comments

@jrevels
Copy link
Contributor

jrevels commented Jul 6, 2016

julia> immutable Foo
           x::Int
           y::Int
       end

julia> using JLD

julia> JLD.save("test.jld", "f", Foo(1,1))

julia> JLD.load("test.jld", "f")
ERROR: type DataType has no field pointerfree
 in _gen_jlconvert_immutable(::JLD.JldTypeInfo, ::Any) at /Users/jarrettrevels/.julia/v0.5/JLD/src/jld_types.jl:454
 in gen_jlconvert(::JLD.JldTypeInfo, ::Any) at /Users/jarrettrevels/.julia/v0.5/JLD/src/jld_types.jl:551
 in jldatatype(::JLD.JldFile, ::HDF5.HDF5Datatype) at /Users/jarrettrevels/.julia/v0.5/JLD/src/jld_types.jl:694
 in read(::JLD.JldDataset) at /Users/jarrettrevels/.julia/v0.5/JLD/src/JLD.jl:381
 in read(::JLD.JldFile, ::String) at /Users/jarrettrevels/.julia/v0.5/JLD/src/JLD.jl:357
 in #jldopen#7(::Array{Any,1}, ::Function, ::JLD.##29#30{String}, ::String, ::Vararg{String,N}) at /Users/jarrettrevels/.julia/v0.5/JLD/src/JLD.jl:256
 in load(::FileIO.File{FileIO.DataFormat{:JLD}}, ::String) at /Users/jarrettrevels/.julia/v0.5/JLD/src/JLD.jl:1217
 in #load#13(::Array{Any,1}, ::Function, ::String, ::String, ::Vararg{String,N}) at /Users/jarrettrevels/.julia/v0.5/FileIO/src/loadsave.jl:45
 in load(::String, ::String) at /Users/jarrettrevels/.julia/v0.5/FileIO/src/loadsave.jl:45
 in eval(::Module, ::Any) at ./boot.jl:234
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46

julia> versioninfo()
Julia Version 0.5.0-dev+5163
Commit 45ae7d8 (2016-07-05 17:15 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, haswell)

ref various @nanosoldier benchmark job failures here, here, and likely here as well (I'm expecting it to fail)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant