vtkCornerAnnotation Why do I use this to make the program become stuck?

Am I using it incorrectly? I just call SetText and update it. It has a great impact on my program performance.

I changed another computer and it became normal, indicating that this is related to the equipment