In such cases, the errors are caused by drivers. If Device Manager hangs, then the error might be caused by the drivers that are not responding correctly. I recommend you check for alternative drivers and uninstall the current ones. This way you will eliminate the problem with crashing. Secondly, you need to verify if the application you use for cameras is compatible with the operating system installed on your computer because the crash can be influenced by this application as well.