What conditions may require a root canal treatment?