M
Mark Probert
Hi.
I was wondering if anyone has advice on how to debug the following
problem. I am using Ruby 1.8.1, establishing telnet sessions whilst in
a thread. Most of the time, it is fine. Every now and then, the
socket.syswrite() in telnet seems to send characters bound for another
socket / thread. Or so it seems.
The trouble is that the issue appears to be timing related. If I turn on
the dump log in Telnet, then the error, and the extra characters on
input, go away (a short term fix). So, I am not sure on how to isolate
the issue.
The problem is reproducible in the sense that I can get the rubbish output
almost everytime. Unfortunately, the combination of factors is pretty
complex and the test setup is not easily reproduciable.
Any thoughts?
-mark.
I was wondering if anyone has advice on how to debug the following
problem. I am using Ruby 1.8.1, establishing telnet sessions whilst in
a thread. Most of the time, it is fine. Every now and then, the
socket.syswrite() in telnet seems to send characters bound for another
socket / thread. Or so it seems.
The trouble is that the issue appears to be timing related. If I turn on
the dump log in Telnet, then the error, and the extra characters on
input, go away (a short term fix). So, I am not sure on how to isolate
the issue.
The problem is reproducible in the sense that I can get the rubbish output
almost everytime. Unfortunately, the combination of factors is pretty
complex and the test setup is not easily reproduciable.
Any thoughts?
-mark.