How to debug nodelet (manager) crashes?
Are there best practices regarding debugging crashes of nodelets and / or the manager? I'm trying to load ~30 nodelets into one manager and experience seemingly random crashes. Is there a(n implicit) limit to the number of nodelets?
A sampling of output on the console:
...
[FATAL] [1338308399.389687172]: Service call failed!
[FATAL] [1338308399.389832093]: Service call failed!
[my_nodelet_mgr-2] process has died [pid 23322, exit code -11].
log files: /home/user/.ros/log/1ebdc96e-a9aa-11e1-abdc-d8d385994de6/my_nodelet_mgr-2*.log
[MyNode06-4] process has died [pid 23327, exit code 255].
log files: /home/user/.ros/log/1ebdc96e-a9aa-11e1-abdc-d8d385994de6/MyNode06-4*.log
[MyNode03-11] process has died [pid 23420, exit code 255].
log files: /home/user/.ros/log/1ebdc96e-a9aa-11e1-abdc-d8d385994de6/MyNode03-11*.log
...
Sometimes only ~4 service calls 'fail', sometimes they all seem to fail (always exit code 255
, except the manager, which gets a -11
).
The log mentioned for the nodelet manager does not exist, but master.log
shows a lot of
[Errno 111] Connection refused
and
Fault: <Fault -1: 'publisherUpdate: unknown method name'>
lines.
I must admit I'm rather new to nodelets and their infrastructure, so any guidance would be appreciated.