Thread Safety Violations:
Qt objects (like QWidgets) must only be accessed from the main thread (GUI thread)
Your measurement thread is directly interacting with GUI elements
Painter Conflicts:
Multiple threads trying to paint to the same canvas simultaneously
Recursive repaint calls
Segmentation Fault:
Likely caused by improper thread cleanup or accessing deleted objects