PWM signal corrupted on pin 6 but not pin 5

i am refraining from going too deep into my circuit or code just for the moment as both are quite complex.

Excellent idea! No need to bother anyone with the actual details.