# Upgrade to 0.7: Issue with Mmap

**URL:** <https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965>\
**Category:** Internals & Design\
**Created:** [August 6, 2018, 11:39pm UTC](https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965 "2018-08-06T23:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobias.knopp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tobias.knopp/32/7551_2.png) [@tobias.knopp](https://discourse.julialang.org/u/tobias.knopp)\
**Post date:** [August 6, 2018, 11:39pm UTC](https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965/1 "2018-08-06T23:39:01Z")

</div>

Hi,

I am trying getting my package 0.7 ready an ran into this issue:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/MagneticParticleImaging/MPIFiles.jl/jobs/412869043)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

The issue is that Julia arrays need to have a certain alignment, which mmaped arrays cannot provide.

The issue was also raised here: [mmap with arbitrary offsets no more allowed · Issue #28424 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/28424)  
but it got closed without giving an example how to fix the issue. Would be great if someone could help and give a hint how HDF5 can be fixed.

Thanks!

Tobi

---

<div class="post-metadata">

**Author:** ![tobias.knopp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tobias.knopp/32/7551_2.png) [@tobias.knopp](https://discourse.julialang.org/u/tobias.knopp)\
**Post date:** [August 7, 2018, 12:09am UTC](https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965/2 "2018-08-07T00:09:48Z")

</div>

Ok, I think the `reinterpret` workaround seems to work. But then the issue should not be fixed in user code (or HDF5) but in `Mmap.mmap`. That function should give us a reinterpreted Array.
