I have the same problem. Due to the character limit I couldn't post this as a comment.
On a clean workspace env | grep -i ros | sort
BASHRC_ENV=ros_mike
CMAKE_PREFIX_PATH=/opt/ros/kinetic
LD_LIBRARY_PATH=/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu
PATH=/opt/ros/kinetic/bin:/home/mike/bin:/home/mike/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PKG_CONFIG_PATH=/opt/ros/kinetic/lib/pkgconfig:/opt/ros/kinetic/lib/x86_64-linux-gnu/pkgconfig
PYTHONPATH=/opt/ros/kinetic/lib/python2.7/dist-packages
ROSCONSOLE_CONFIG_FILE=/home/mike/bitchin_unix/config/rosconsole.yaml
ROSCONSOLE_FORMAT=${logger}: ${message}
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
ROS_MASTER_URI=http://localhost:11311
ROS_PACKAGE_PATH=/opt/ros/kinetic/share
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_VERSION=1
After . devel/setup.bash
BASHRC_ENV=ros_mike
CMAKE_PREFIX_PATH=/home/mike/ws_moveit/devel:/opt/ros/kinetic
LD_LIBRARY_PATH=/home/mike/ws_moveit/devel/lib:/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu
PATH=/opt/ros/kinetic/bin:/home/mike/bin:/home/mike/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PKG_CONFIG_PATH=/home/mike/ws_moveit/devel/lib/pkgconfig:/opt/ros/kinetic/lib/pkgconfig:/opt/ros/kinetic/lib/x86_64-linux-gnu/pkgconfig
PYTHONPATH=/opt/ros/kinetic/lib/python2.7/dist-packages
ROSCONSOLE_CONFIG_FILE=/home/mike/bitchin_unix/config/rosconsole.yaml
ROSCONSOLE_FORMAT=${logger}: ${message}
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
ROS_MASTER_URI=http://localhost:11311
ROS_PACKAGE_PATH=/home/mike/ws_moveit/src/moveit_tutorials:/opt/ros/kinetic/share
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_VERSION=1
I am using Kinetic on 16.04 and I have this problem with every workspace on my computer.
First things first: try to
rm -rf
yourbuild
anddevel
directories. Doesrosrun
still crash? If not, build your workspace again,source
it and tryrosrun
again.I tried this already. If I remove the sourcing of the devel folder rosrun does not crash. If I build and add it as suggested I see the same crashing behavior. It's really wired as the catkin workspace is empty - containing no packages at all.
Then we're going to need more info: how did you install ROS, which platform is this (
amd64
,arm
, something else). What is the output ofenv | grep -i ros | sort
both with and withoutsource
-ing anysetup.bash
. How did you create your workspace, what does it contain (any pkgs), etc.@gsteinbauer Did you find the solution for this problem? I am facing the same issue
@vacky11 I cannot reproduce this, but deleting contents of /var/crash solved it for me.
I am having the same problem. I have tried deleting the contents of
/var/crash
andcatkin clean -y && catkin build
to no avail.