After the loop you know that strSize < insertBreak but you call text[insertBreak] which is likely to be out of range. I say likely because after the loop text.size() can be somewhat bigger than strSize so there is still a chance that it is inside the range.
Line 16 is the most likely culprit: You are accessing char text[insertBreak], but as a minimum, insertBreak will be 70, so for shorter-than-71-chars strings you'll be out of range for sure. Line 11 is also a potential out of range because your while uses >=. Change it to >.