There was a type error assigning customdata, (wmTimer *) was expected although this data isn't created so it was never hit.