Madmax Ubuntu error - bucket index out of range

I’m getting below error shortly after starting phase 1:

terminate called after throwing an instance of ‘std::runtime_error’
what(): thread failed with: thread failed with: thread failed with: thread failed with: bucket index out of range
Aborted (core dumped)

Happened both with default setting, 128 and 512 buckets

System is 3900x, 64GB ddr4.
temp 1 and 2 are each 1TB nvme (ext4)

plot command I’m running:
./chia_plot -n 40 -r 22 -u 128 -t /media/amd/temp1/ -2 /media/amd/temp2/ -G -d /media/amd/hot2/

As I just started using Ubuntu yesterday, I have no idea what the problem is.
Got it running fine on my other machine (2x 2680v2, 256GB, ramdisk + nvme)