JuliaIO / JLD2.jl

HDF5-compatible file format in pure Julia
Other
534 stars 82 forks source link

JLD2 is failed to precompile on the latest nightly #550

Closed bvdmitri closed 4 months ago

bvdmitri commented 4 months ago

See for example here The version is [033835bb] JLD2 v0.4.45. The error thrown is

 caused by: MethodError: no method matching resize!(::Memory{UInt8}, ::Int64)
The function `resize!` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  resize!(::BitVector, ::Integer)
   @ Base bitarray.jl:814
  resize!(::Vector, ::Integer)
   @ Base array.jl:1433
  resize!(::JLD2.MmapIO, ::Ptr{Nothing})
   @ JLD2 ~/.julia/packages/JLD2/z3MOM/src/mmapio.jl:140

I'm not sure, this might be a Julia bug, but decided to open it here first to be sure.

JonasIsensee commented 4 months ago

This also showed up in JLD2s tests a few days ago. I fixed it now in #551