I would first urge you to disconnect the cable from the serial port and let it run more than long enough to convince yourself the error goes away or re-occurs.
If you disconnect, and the error still occurs, your port hardware may be bad. Try another port or PC.
If the problem goes away, you could have noise on the line (interference, bad ground, bad conections, excesive long cable, etc, etc) or,
your code is not coming back to read the port often enough. If you think this is the case, read from the port more often or use hardware handshaking.
I would like to know a lot more before saying it is a software in-compatability issue.
Keep us updated,
Ben
(An LOTR fan)