ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Evening, trying to install ROS on a second computer with WSL. Done all of the normal ROS installation steps, and as expected, roscore fails because it can't get the network interfaces.

I downloaded and did 'make' on the custom _getifaddrs function as I have done previously to get this to work. This compilation warns of an implicit declaration of the 'inet_aton' function, but appears to complete correctly and produces the .so file.

When I try to run roscore with the LD_PRELOAD....... line, it appears to start as normal, then when it get's to 'NODES', crashes with the error:

* stack smashing detected *: /usr/bin/python terminated Aborted (core dumped)

I gather from some quick googling that this is related to a buffer overflow, but looking at the source, I fail to see where this can have occurred.

I know that this has worked previously in the same environment because i've had rviz working and that requires roscore to be running to start correctly.

I've tried reinstalling ubuntu in WSL with no luck, if anyone has any ideas i'd welcome them!! Thanks