/etc/apt/sources.list.d/gazebo-stable.list'wget https://p_[gazebo-2] pr">
当前位置:   article > 正文

gazebo崩溃gazebo-2 process has died exit code 139_[gazebo-2] process has died [pid 214985, exit code

[gazebo-2] process has died [pid 214985, exit code 139

错误信息:

[gazebo-2] process has died [pid 7605, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode ......

Ubuntu 16.04 on Virtualbox 6.1

gazebo 7.0

大家可以试试更新gazebo到7.16版本以上(或者直接通过应用商店)

添加源和钥匙

sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -

 

  1. $ sudo apt-get dist-upgrade
  2. $ sudo apt-get update
  3. $ sudo apt-get upgrade

然而没用,出现同样错误 

[gazebo-1] process has died  exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver

现在唯一的方法就是关闭虚拟机里的3D加速,这样仿真会慢很多

settings->Display->Acceleartion

如果有更好的办法我会在这里公布!

最终解决方案!!!

export LIBGL_ALWAYS_SOFTWARE=1

这样就可以使用3D加速了。

对于其他错误用 $top 命令查看任务管理器中是否还残留有gzserver or gzclient

通过

$source ~/catkin_ws/devel/setup.bash

$killall gzserver 

$killall gzclient

可以尝试然后重新启动roslaunch [launch.file]

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小舞很执着/article/detail/927353
推荐阅读
相关标签
  

闽ICP备14008679号