Well, gdb the process might have been a bad idea .. since it locks the keyboard. But, the line that crashes is: 184 rbuf[rlen]=0; Justin