View Single Post
  #2   Spotlight this post!  
Unread 31-01-2010, 11:01
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: camera - console error messages

Quote:
Originally Posted by oddjob View Post
After about one minute, the Image server stops and then the console fills with this line, repeated quickly and forever:

Code:
bind: S_errno_EADDRINUSE
I'm sorry I can't be more help here but I think this indicates a bug in the code.
The bug I suspect is not the cause of the problem you're asking about.
Rather, it is a bug that would only manifest when there are networking problems.
Perhaps this will be of help some.

That error indicates that software (on the robot) has tried to create a socket.
This initial attempt takes a while to fail.
My guess it that there's a loop that then repeatedly attempts to retry the failed operation but can't because the first attempt has left a lingering half connection that could take many minutes to clear itself up.

I don't have the source code to look at so I can't conjecture any further.
But you definitely have basic network connectivity issues.

Try pinging the cRio from each of the other PCs -- I'm guessing you cannot.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)

Last edited by gvarndell : 31-01-2010 at 11:02. Reason: paste error removed
Reply With Quote