What is your current firmware version and onedrive version?
Please reinstall OneDrive and check if the problem still appears.
If the problem still appears, please try a factory reset.
If the problem is still appearing, please check if logging in with other accounts crash as well.
Please show us a screenshot or short video of the problem.
Thank you 🙂