As you are declaring your property as (assign)
in your annotation class and I assume that its initial value was assigned from a local variable in a method in that class there is a very good chance that once your detailViewController tries to access the property it has been released because assigning the value to the property doesn't increase the object's reference count. This will result in an access violation exception. Change your property definition in your annotation to
@property (strong,nonatomic) NSNumber *lat;
and see if that helps