Error when connecting bluetooth to arduino HC-06

Also see Bluetooth connectivity issue: Mobile screen goes black when searching for BT devices - #23 by rghmr_tic