Could you be trying to cut too much too fast? If the chain is stuck even when it is out of the log I would see if crud got in the bar. When I was cutting wet, slightly rotten wood my bar would clog every now and then due to crud either jamming the nose of the bar or filling parts of the bar rail, seizing the chain.