Chaos broke out when thousands gathered in a stadium in Afghanistan to apply for visas to Pakistan.