A global study of 3,000 glaciers reveals the risks of surging ice in a warming world.