bubgum / crw-cmu

Automatically exported from code.google.com/p/crw-cmu
0 stars 0 forks source link

socket bind fatal exception #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Random periodic, but ROS not being shutdown cleanly doesn't help.
2.
3.

What is the expected output? What do you see instead?

Master URI: http://cmu-440050.wv.cc.cmu.edu:11411
Aug 12, 2011 6:26:20 PM edu.cmu.ri.crw.ros.RosVehicleServer <init>
INFO: Server initialized successfully.
Initialization of ROS core complete
Aug 12, 2011 6:26:20 PM edu.cmu.ri.crw.ros.RosVehicleProxy connect
INFO: Proxy initialized successfully.
Aug 12, 2011 6:26:20 PM edu.cmu.ri.crw.ros.RosVehicleServer$16 goalCallback
INFO: Starting navigation to: [10.0,60.0,0.0] @ 0South
STOP!!!!

Start Waypoint to 10.0
Aug 12, 2011 6:26:20 PM edu.cmu.ri.crw.ros.RosVehicleServer$17 goalCallback
INFO: Starting image capture: 0@1.0, 640x480
STATUS: GOING
IMAGES: CAPTURING
Aug 12, 2011 6:26:22 PM edu.cmu.ri.crw.ros.RosVehicleProxy connect
INFO: Proxy initialized successfully.
New boat created, boat # 1
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
IMAGES: CAPTURING
STATUS: GOING
Exception in thread "pool-156-thread-1" org.ros.exception.RosRuntimeException: 
org.ros.exception.RosRuntimeException: java.net.BindException: Address already 
in use
    at org.ros.node.NodeRunner$1.run(NodeRunner.java:69)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
Caused by: org.ros.exception.RosRuntimeException: java.net.BindException: 
Address already in use
    at org.ros.internal.node.server.NodeServer.start(NodeServer.java:79)
    at org.ros.internal.node.server.MasterServer.start(MasterServer.java:63)
    at org.ros.RosCore.main(RosCore.java:61)
    at org.ros.node.NodeRunner$1.run(NodeRunner.java:67)
    ... 3 more
Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
    at java.net.ServerSocket.bind(ServerSocket.java:328)
    at java.net.ServerSocket.<init>(ServerSocket.java:194)
    at org.apache.xmlrpc.webserver.WebServer.createServerSocket(Unknown Source)
    at org.apache.xmlrpc.webserver.WebServer.setupServerSocket(Unknown Source)
    at org.apache.xmlrpc.webserver.WebServer.start(Unknown Source)
    at org.ros.internal.node.server.NodeServer.start(NodeServer.java:77)
    ... 6 more

Please use labels and text to provide additional information.

Original issue reported on code.google.com by psh...@gmail.com on 12 Aug 2011 at 10:28

GoogleCodeExporter commented 9 years ago
This is just the RosCore not shutting down cleanly.  I added a fix to help with 
shutdown, so we should keep an eye on it, but hopefully it just won't show up 
that often.

Original comment by psi...@gmail.com on 30 Aug 2011 at 9:02

GoogleCodeExporter commented 9 years ago

Original comment by psi...@gmail.com on 30 Aug 2011 at 9:02

GoogleCodeExporter commented 9 years ago
Closing this as _wontfix_ because we moved to UDP infrastructure.

Original comment by psi...@gmail.com on 8 Mar 2012 at 9:19