Global instability in a free-surface hydrodynamics problem