JuliaIO / JLD.jl

Saving and loading julia variables while preserving native types
MIT License
277 stars 55 forks source link

Error in `julia': corrupted double-linked list #58

Closed bryaan closed 8 years ago

bryaan commented 8 years ago

Getting an error after heavy writing.

I am running this on a Google Compute instance.

jldopen(filepath, "w") do file
  group = JLD.g_create(file, "keyMap")

  for (key, data) in keyMap
      # Convert to sparse map for space efficiency.
      group[key] = sparse(data)
  end
end

where,

keyMap::Dict{AbstractString, Array{Float64}}
*** Error in `julia': corrupted double-linked list: 0x00000000081b76e0 ***
======= Backtrace: =========
/usr/bin/../lib64/libc.so.6(+0x7b184)[0x7fd97ec5d184]
/usr/bin/../lib64/libc.so.6(+0x7e8f6)[0x7fd97ec608f6]
/usr/bin/../lib64/libc.so.6(__libc_malloc+0x4c)[0x7fd97ec6187c]
/lib64/libhdf5.so.8(+0x100e4c)[0x7fd76502de4c]
/lib64/libhdf5.so.8(H5FL_reg_malloc+0x19f)[0x7fd76502e370]
/lib64/libhdf5.so.8(H5FL_reg_calloc+0xb1)[0x7fd76502e4b0]
/lib64/libhdf5.so.8(H5O_create+0x2b8)[0x7fd7650be0f7]
/lib64/libhdf5.so.8(+0xaccdb)[0x7fd764fd9cdb]
/lib64/libhdf5.so.8(H5D__create+0xcf2)[0x7fd764fdafda]
/lib64/libhdf5.so.8(+0xb73c3)[0x7fd764fe43c3]
/lib64/libhdf5.so.8(H5O_obj_create+0x123)[0x7fd7650c36e9]
/lib64/libhdf5.so.8(+0x180026)[0x7fd7650ad026]
/lib64/libhdf5.so.8(+0x139e3f)[0x7fd765066e3f]
/lib64/libhdf5.so.8(H5G_traverse+0x2e7)[0x7fd765067e83]
/lib64/libhdf5.so.8(+0x180b7d)[0x7fd7650adb7d]
/lib64/libhdf5.so.8(H5L_link_object+0x93)[0x7fd7650ace4b]
/lib64/libhdf5.so.8(H5D__create_named+0xb3)[0x7fd764fd8b74]
/lib64/libhdf5.so.8(H5Dcreate2+0x4f4)[0x7fd764fb7292]
[0x7fd9822473b6]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:01 9673907                            /usr/bin/julia
00604000-00605000 r--p 00004000 08:01 9673907                            /usr/bin/julia
00605000-00606000 rw-p 00005000 08:01 9673907                            /usr/bin/julia
01860000-0c830000 rw-p 00000000 00:00 0                                  [heap]
11460000-50400000 rw-p 00000000 00:00 0 
7fd760000000-7fd760021000 rw-p 00000000 00:00 0 
7fd760021000-7fd764000000 ---p 00000000 00:00 0 
7fd764b03000-7fd764b28000 r-xp 00000000 08:01 23026289                   /usr/lib64/libopenlibm.so.1.0
7fd764b28000-7fd764d27000 ---p 00025000 08:01 23026289                   /usr/lib64/libopenlibm.so.1.0
7fd764d27000-7fd764d28000 r--p 00024000 08:01 23026289                   /usr/lib64/libopenlibm.so.1.0
7fd764d28000-7fd764d29000 rw-p 00025000 08:01 23026289                   /usr/lib64/libopenlibm.so.1.0
Julia Version 0.4.3 (2016-01-12 21:37 UTC)
x86_64-redhat-linux
bryaan commented 8 years ago

Not an issue with JLD. This can be safely closed.