Hey guys. If you are using the v5 builds of sgminer and have problems, please let us know here:
https://github.com/sgminer-dev/sgminer/issues/newFirst for those who cannot or don't want to help with the problems, you can run with a single pool and there should be no problems. The issues are usually happening when switching algorithms.
We are aware of a few issues and are working to fix them (there has been significant progress already in the past few days). It helps if you run sgminer with "-v" option and show us a screenshot or copy-paste of text in sgminer when it crashes. For Linux users you can also use this configure "CFLAGS="-g -O1 -Wall -march=native" ./configure" and then make, which will enable better traces on crash. Also you can run with "-T -v" or even "-T -D" which will give much more information and thus make it easier to find and fix the problems.