old code with dynamically allocated timers and xprofiles, and incorrect synchronization on the two objects.