Canonical issue misguide SE bots for crawl because same content but different url may confuse to SE bots that which page is original and which is not.
URL open with WWW and without WWW have same content, that's why it is necessary to solve it with using canonical tag in header.