Joining servers

Garrys mod randomly crashes when i try to join a server. Sometimes it works just fine, and the other time it crashes. Even if i join the same server, the first time it works fine, and the other time it crashes.

Any ideas whats wrong?