I describe the problem here: https://github.com/gggrafff/karmem_bug Data after serialization does not match data before serialization. I think that generator have a bug with data offsets and memory allocations