osrf / drcsim

Repository for the DRC project.
16 stars 6 forks source link

drcsim-prerelease (4.2.4-1~trusty) crashing with BDI 3.0.2 library #477

Closed osrf-migration closed 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by David Conner (Bitbucket: dcconner).


Pre-release was working for me yesterday, but I had to revert back to drcsim

After re-installing today, I get consistent crash on every start.

drcsim-prerelease (4.2.4-1~trusty) ...

Copied the BDI library

sudo cp libAtlasSimInterface.so.3.0.2 opt/ros/$ROS_DISTRO/lib/libAtlasSimInterface3.so.3.0.2

Then

roslaunch drcsim_gazebo atlas.launch mode_args:="_v4

I consistently get the following crash:

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[gazebo-1]: started with pid [8322]
process[atlas_robot_state_publisher-2]: started with pid [8324]
process[multisense_sl_robot_state_publisher-3]: started with pid [8352]
process[tf2_buffer_server-4]: started with pid [8393]
process[multisense_sl/stereo_proc-5]: started with pid [8445]
process[multisense_sl_joint_states_relay-6]: started with pid [8446]
[gazebo-1] process has died [pid 8322, exit code 255, cmd /opt/ros/indigo/share/drcsim_gazebo/scripts/run_gazebo atlas.world -q __name:=gazebo __log:=/home/vigir/.ros/log/fbbcbd00-9c1b-11e4-af42-0090fb3f3704/gazebo-1.log].
log file: /home/vigir/.ros/log/fbbcbd00-9c1b-11e4-af42-0090fb3f3704/gazebo-1*.log
process[multisense_sl_laser_scan_relay-7]: started with pid [8488]
process[multisense_sl_left_image_raw_relay-8]: started with pid [8524]
process[multisense_sl_left_camera_info_relay-9]: started with pid [8549]
process[multisense_sl_right_image_raw_relay-10]: started with pid [8582]
process[multisense_sl_right_camera_info_relay-11]: started with pid [8607]
process[multisense_sl/camera/stereo_proc_simulation_relay-12]: started with pid [8649]
osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Try with extra_gazebo_args:="--verbose"? I assume you replaced $ROS_DISTRO with hydro or indigo when you copied the file.

osrf-migration commented 9 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Can you take a look in your log files? There might be some useful information.

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


It works for me on trusty / indigo.

osrf-migration commented 9 years ago

Original comment by David Conner (Bitbucket: dcconner).


Verbose did the trick; apparently at some earlier startup the gazebo process hung around as zombie. [Err] [Exception.cc:52] EXCEPTION: Unable to start server[bind: Address already in use]. There is probably another Gazebo process running.

Killing the zombie fixed the problem.

osrf-migration commented 9 years ago

Original comment by David Conner (Bitbucket: dcconner).


FYI: It does not appear that the "Unable to start server" message is logged.