Whatsapp is randomly crashing on background and sometimes it crashes when trying to open the app. Reinstalling the app temporarily fixes it but after a few hours it starts crashing again even if not open. This only happens on MIUI for some reason, I've tested on an AOSP ROM and had no problems.