You may need to uninstall Razer softwares. Read the pinned post Known Technical Support Issues - [Updated June 21, 2020!] on Technical Support forum for details.
If you don’t want to uninstall them, use the workaround by changing a line in the pref file. Procedure is also stated in the linked post above.
If that doesn’t help, post on Technical Support forum because crash is a technical issue.