Avast causes mid-2012 MBP to reboot

With Avast installed, my mid 2012 2.7Ghz 16GB RAM MBP crashes intermittently. Goes to black screen and then restarts. Uninstalled AVG and no problems.