The problem is that post 1.0 servers only support PNG image type. Most likely, if you run your client with the -png switch, it will work OK. The main problem is that the client does not have a really good clue that it is getting fed PNG images, and that is likely why it crashes.