Having some trouble with the CountedPtr being returned by suscribing a functor to an Event Publisher. In some cases it segfaults in others it does not, when there should be no difference.