Giter Club home page Giter Club logo

Comments (5)

timholy avatar timholy commented on May 29, 2024

krcools, this works for me.
--Tim

On Friday, August 19, 2016 1:48:05 AM CDT krcools wrote:

I am running Julia 0.4.6 on Win10-64 and I get a similar error message. My
test script is:

using JLD
using FixedSizeArrays
x = Vec(1,2,3)
@save "data.jld" x
@load "data.jld"

Depending on factors unbeknownst I either get

Please submit a bug report with steps to reproduce this fault, and any error
messages that follow (in their entirety).  Thanks. Exception:
EXCEPTION_ACCESS_VIOLATION at 0x77aceef1 -- RtlAnsiStringToUnicodeString at
C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) RtlAnsiStringToUnicodeString
at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) free at
C:\WINDOWS\system32\msvcrt.dll (unknown line)
h5t_get_member_name at C:\Users\ezzkc\.julia\v0.4\HDF5\src\plain.jl:2184
jldatatype at C:\Users\ezzkc\.julia\v0.4\JLD\src\jld_types.jl:687
read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:390
jl_apply_generic at
C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line)
read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:366
anonymous at no file:0
jl_eval_with_compiler_p at
C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line)
jl_f_tuple at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll
(unknown line) eval_user_input at REPL.jl:62
jlcall_eval_user_input_1295 at  (unknown line)
jl_apply_generic at
C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line)
anonymous at REPL.jl:92
jl_unprotect_stack at
C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line)

or

ERROR: ReadOnlyMemoryError()
 in h5t_get_member_name at C:\Users\ezzkc\.julia\v0.4\HDF5\src\plain.jl:2184
in jldatatype at C:\Users\ezzkc\.julia\v0.4\JLD\src\jld_types.jl:687 in
read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:390
 in read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:366
 in anonymous at no file

I even had this script complete successfully on rare occasions:

julia> using FixedSizeArrays
julia> using JLD
julia> x = Vec(1,2,3)
Vec(1,2,3)
julia> @save "data.jld" x
julia> @load "data.jld"

1-element Array{Symbol,1}:
 :x

julia> @load "data.jld"

1-element Array{Symbol,1}:
 :x

julia> x
Vec(1,2,3)
julia> exit()

Given that a FixedSizeArrays.Vec (@SimonDanisch) is a wrapper around a
Tuple I would not be surprised this is related to #12.

from jld.jl.

krcools avatar krcools commented on May 29, 2024

I found the problem: HDF5.jl latches on to the Anaconda version of hdf5.dll, which as it turns out is not compatible: HDF5.jl/#323.

from jld.jl.

timholy avatar timholy commented on May 29, 2024

Thanks, @krcools!

from jld.jl.

timholy avatar timholy commented on May 29, 2024

Closing this as redundant; @alix2m feel free to reopen if you disagree.

from jld.jl.

alix2m avatar alix2m commented on May 29, 2024

Thanks @timholy and @krcools . Haven't had a chance to look into the solution proposed in HDF5.jl/#323 yet, but hopefully it'll solve the issue. Will report back if issue persists.

from jld.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.