Music stops on Linux

After a while (less then 2 terms) the music stops playing on Linux for me. This is on a 64-bit Ubuntu 13.04.