images get messed up upon opening

Hello,

I am having some issues opening images I took on my Canon 5D Mark IV on my Arch Linux machine with software such as Rawtherapee and UFRaw (not with darktable), which leads me to conclude that the issues are with libraw.
Im using libraw version 0.18.7-1.

The issue I'm having is that the images get messed up upon opening. I seems as if the image is beeing divided into some slices and then put back together in the wrong order. I attached an example image to this post.

Can anyone help me with this? Do you need any further information about my machine?

Thanks!

AttachmentSize
Image icon test_img-2.jpg309.41 KB

Forums: 

Both UFRaw and RawTherapee

Both UFRaw and RawTherapee does not use LibRaw, but use own patched dcraw code

-- Alex Tutubalin @LibRaw LLC