Gazebo freezes with error [Param.hh:266] Unable to set parameter[acceleration]
I'm using Gazebo version 7.14.0 on a Linux Ubuntu x64 version 16.04.5 LTS
I open a terminal, type gazebo and then opens a new gazebo instance. I do nothing, click on File -> Quit, it closes perfectly.
But, if I do the same but, before closing Gazebo I say the world (File -> Save World As), I get the following error:
Error [Param.hh:266] Unable to set parameter[acceleration].Type type used must have a stream input and outputoperator, which allow boost::lexical_cast tofunction properly.
And then, when I try to close Gazebo, it freezes. I have to force close to close it.
I have deleted the ~/.gazebo folder, but I get the same error.
How can I fix this error?
You can try upgrading to a newer version of Gazebo, or debug the problem by installing gazebo from source and using a tool like GDB to find out where the problem is occurring.
I have updated to Ubuntu 18.04.1 and Gazebo 9, and the problem has vanished. Thanks.