Asymptotic analysis of first-passage problems