Poorly installed shingles were found on roof in Nashville.  Any time shingles intersect with an exterior wall, step flashing should be installed under each roll of shingles and counter flashing should be installed on the exterior wall that overlaps the step flashing. The shingles picture will allow rain water to penetrate behind the shingles and enter the structure.

Nashville TN_Missing Counter Flashing