gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.21k stars 484 forks source link

segmentation fault after launching gazebo #2420

Closed osrf-migration closed 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Anonymous.


Hi everyone,

after typing this command "roslaunch turtlebot_gazebo turtlebot_world.launch" I get the following:

... logging to /home/yannick/.ros/log/b29750b4-0c24-11e8-8f17-54271ea67f6a/roslaunch-yannick-laptop-29777.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://yannick-laptop:45905/

SUMMARY

PARAMETERS

NODES / bumper2pointcloud (nodelet/nodelet) cmd_vel_mux (nodelet/nodelet) depthimage_to_laserscan (nodelet/nodelet) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) laserscan_nodelet_manager (nodelet/nodelet) mobile_base_nodelet_manager (nodelet/nodelet) robot_state_publisher (robot_state_publisher/robot_state_publisher) spawn_turtlebot_model (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found process[gazebo-1]: started with pid [29799] process[gazebo_gui-2]: started with pid [29803] process[spawn_turtlebot_model-3]: started with pid [29807] process[mobile_base_nodelet_manager-4]: started with pid [29808] process[cmd_vel_mux-5]: started with pid [29809] process[bumper2pointcloud-6]: started with pid [29810] process[robot_state_publisher-7]: started with pid [29811] process[laserscan_nodelet_manager-8]: started with pid [29822] process[depthimage_to_laserscan-9]: started with pid [29841] Gazebo multi-robot simulator, version 2.2.6 Copyright (C) 2012-2014 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Gazebo multi-robot simulator, version 2.2.6 Copyright (C) 2012-2014 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master.[ INFO] [1518022376.035260595]: Finished loading Gazebo ROS API Plugin. [ INFO] [1518022376.040714849]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... Msg Waiting for master Msg Connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 141.23.162.108

Msg Connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 141.23.162.108 Segmentation fault (core dumped) [gazebo_gui-2] process has died [pid 29803, exit code 139, cmd /opt/ros/indigo/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/yannick/.ros/log/b29750b4-0c24-11e8-8f17-54271ea67f6a/gazebo_gui-2.log]. log file: /home/yannick/.ros/log/b29750b4-0c24-11e8-8f17-54271ea67f6a/gazebo_gui-2.log [ INFO] [1518022380.545742778, 0.010000000]: Camera Plugin (robotNamespace = /), Info: Using the 'robotNamespace' param: '/' [ INFO] [1518022380.577661252, 0.010000000]: Camera Plugin (ns = /) , set to "" [ INFO] [1518022380.932249189, 0.010000000]: Starting plugin Kobuki(ns = //)! [ WARN] [1518022380.932981237, 0.010000000]: Kobuki(ns = //): missing default is na [ INFO] [1518022380.937389006, 0.010000000]: Kobuki(ns = //): = Dbg Plugin model name: mobile_base [ INFO] [1518022380.938725171, 0.010000000]: Will publish tf. [mobile_base] [ INFO] [1518022380.951570047, 0.010000000]: Kobuki(ns = //): Advertise joint_states[joint_states]! [ INFO] [1518022380.956429701, 0.010000000]: Kobuki(ns = //): Advertise Odometry[odom]! [ INFO] [1518022380.984758446, 0.010000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/motor_power! [ INFO] [1518022381.007028365, 0.010000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/reset_odometry! [ INFO] [1518022381.020908758, 0.010000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/motor_power! [ INFO] [1518022381.024149479, 0.010000000]: Kobuki(ns = //): Advertise Cliff[mobile_base/events/cliff]! [ INFO] [1518022381.033962530, 0.010000000]: Kobuki(ns = //): Advertise Bumper[mobile_base/events/bumper]! [ INFO] [1518022381.047469698, 0.010000000]: Kobuki(ns = //): Advertise IMU[mobile_base/sensors/imu_data]! [ INFO] [1518022381.047565962, 0.010000000]: GazeboRosKobuki plugin ready to go! [mobile_base] Warning [RaySensor.cc:283] ranges not constructed yet (zero sized) Warning [RaySensor.cc:283] ranges not constructed yet (zero sized) Warning [RaySensor.cc:283] ranges not constructed yet (zero sized) Warning [RaySensor.cc:283] ranges not constructed yet (zero sized) Warning [RaySensor.cc:283] ranges not constructed yet (zero sized) [ INFO] [1518022381.133023366, 0.040000000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [spawn_turtlebot_model-3] process has finished cleanly log file: /home/yannick/.ros/log/b29750b4-0c24-11e8-8f17-54271ea67f6a/spawn_turtlebot_model-3.log [ INFO] [1518022381.605206289, 0.300000000]: Physics dynamic reconfigure ready.

It seems for me like gazebo is launched but I cannot see any gazebo window. I've waited for many hours but always nothing happened. Additionaly I get segmentation fault (in bold) everytime.

I use Ubuntu 14.04.05 and my graphic card is from Intel® Bay Trail . I followed this tutorial to install ROS --> ROS Tutorialsand turtlebot --> Turtlebot Installation.

Please help me!

osrf-migration commented 6 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Hello there,

Sorry to hear you're having trouble. This issue tracker is for bug reports and feature requests, but from your description it is hard to tell if this is a problem with Gazebo.

For help with technical problems, please post a question at http://answers.gazebosim.org/ .

Also, please note that you're using Gazebo 2, which hasn't been supported for a few years. The recommended version for Ubuntu 14.04 is Gazebo 7 with ROS Kinetic.

osrf-migration commented 6 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Not a bug in Gazebo, or if it is, that version is no longer supported. Directed to Gazebo Answers.