Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[ROS1][Gazebo-2] Segfault for exit code 139

Hello! I am attempting to simulate my robot in Gazebo9 with ROS.

I was able to get everything working on a VM, but when setting up a dedicated Linux Box using the same setup I am running into this error. To ensure the same 'setup' I have created a bash shell script for the install of ros, gazebo, needed packages.

Primary Issue: Exit Code 139.. No log file was created.

System:
_OS: Ubuntu 18.04.4 LTS Bionic Beaver
_Memory: 3.8 GiB
_Processor: Intel Core 2 Duo E7300

Output from roslaunch:
(excluded roscore opening)

setting /run_id to d40f25f8-780d-11ea-997a-00219b197d0c
process[rosout-1]: started with pid [4974]
started core service [/rosout]
process[gazebo-2]: started with pid [4977]
process[gazebo_gui-3]: started with pid [4979]
process[urdf_spawner-4]: started with pid [4987]
[INFO] [1586181165.841650, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1586181165.854874, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[ INFO] [1586181166.975886346]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1586181166.976646368]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1586181166.981193263]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[ INFO] [1586181166.998543667]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...

Error Statement:

Segmentation fault (core dumped)
[gazebo-2] process has died [pid 4977, exit code 139, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/a/ws_core/src/gazebo_world/worlds/room900.world __name:=gazebo __log:=/home/a/.ros/log/d40f25f8-780d-11ea-997a-00219b197d0c/gazebo-2.log].
log file: /home/a/.ros/log/d40f25f8-780d-11ea-997a-00219b197d0c/gazebo-2*.log
Segmentation fault (core dumped)
[gazebo_gui-3] process has died [pid 4979, exit code 139, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/a/.ros/log/d40f25f8-780d-11ea-997a-00219b197d0c/gazebo_gui-3.log].
log file: /home/a/.ros/log/d40f25f8-780d-11ea-997a-00219b197d0c/gazebo_gui-3*.log

Related Errors
I was unable to determine if this question was related.